Overview
CLI Backend
IPC Protocol
Lifecycle
INTERACTIVE FREECODE SYSTEM BLUEPRINT
>_ FREECODE CLI BACKEND (CORE)
JSON-RPC Task
delegate subtasks
results
on startup
read / write context
call
result
prompt
response
EVENT BUS
pub / sub
YOU / CLIENTS
Terminal TUI
pi-tui
VSCode Ext
React webview
Web
Next.js
Desktop
Tauri + Vite
Thin clients
โ๏ธ FreeCode AGENT
Reasoning Loop
๐พ SUB-AGENTS
Sub-Agent
Explorer
Sub-Agent
Tester
Parallel execution
๐ CONTEXT
AGENTS.md
Skills
Project conventions
Compaction
auto-compacts
when full
Hooks
(Permissions + Hooks)
๐ ๏ธ TOOLS
File Read/Write
read.ts, write.ts
>_
Bash Shell
bash.ts
Grep Search
grep.ts
Glob Match
glob.ts
Action handler suite
AI PROVIDERS
Vercel AI SDK
Claude ยท GPT ยท Gemini
streaming API
Click on any system component above to inspect its architecture, source code files, and execution logs.