Pi is a minimal, aggressively extensible terminal coding harness by Mario Zechner — installed as an npm global (@mariozechner/pi-coding-agent) and designed so you shape the agent to your workflow instead of the other way around. Supports 15+ providers (Anthropic, OpenAI, Google, Azure, Bedrock, Mistral, Groq, Cerebras, xAI, Hugging Face, Kimi, MiniMax, OpenRouter, Ollama) with mid-session model switching; tree-structured shareable sessions; TypeScript extensions for everything other tools bake in (sub-agents, plan mode, permission gates, sandboxing, MCP integration). Four operating modes: interactive TUI, print/JSON, RPC, and embeddable SDK — OpenClaw uses the SDK as a real-world integration. Deliberately ships *without* MCP, sub-agents, permission popups, plan mode, to-dos, or background bash — build or install what you want. MIT-licensed.
