Skip to content

pi-code

An extensible coding agent that runs in your terminal. Multi-model, multi-agent, fully themeable. Built for developers who care about their tools.
25+Extensions
14Themes
Models

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

subagenttaskslsphooksplan-modegit-statusthemeskill-commandsask-user-questionbackground-tasksread-summarywrite-previewedit-livebash-liveoutput-styleswezterm-notifyrm-approvalmcp-adaptercc-pluginsnested-prompts

Themes

Tokyo Night
Rosé Pine
Dracula
Catppuccin
Nord
Gruvbox
GitHub Dark
Solarized
One Dark
Trash Panda

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

Terminal window
npm i -g @mariozechner/pi-coding-agent
pi-code

Other projects

Coming soon.