pi-code
What makes pi-code different
Multi-model routing
Run Claude, GPT-4, Gemini, or any OpenAI-compatible model from the same interface. Switch mid-conversation, assign different models to different agents, or compare outputs side-by-side.
Real extension system
Not plugins bolted on — a proper extension architecture. Tools, TUI widgets, lifecycle hooks, event bus, custom commands. Extensions can render rich terminal UI, intercept tool calls, and compose with each other.
Multi-agent teams
Spawn parallel agents with isolated contexts. Assign different models, roles, and tasks to each teammate. Coordinate via a shared task board with dependency tracking and inter-agent messaging.
Themeable everything
14 built-in themes from Tokyo Night to Rosé Pine. Every color in the TUI — borders, backgrounds, accents, tool status indicators — is token-driven and overridable.
Terminal-native rendering
Markdown, syntax highlighting, diffs, task boards, progress indicators — all rendered directly in your terminal. No browser, no Electron. Designed for SSH sessions and tiling window managers.
Lifecycle hooks
Intercept any point in the agent lifecycle — before/after tool execution, on turn completion, on errors. Run shell commands, validate outputs, enforce policies, or trigger notifications.
Built-in extensions
Themes
Every color token — accent, borders, tool status, thinking indicators, message backgrounds — is fully configurable. Create your own theme as a single JSON file.
Quick start
npm i -g @mariozechner/pi-coding-agentpi-codeOther projects
Coming soon.