What is the Pi coding agent?
“Pi ships with powerful defaults but skips features like sub-agents and plan mode.”
Pi is a program you run in a terminal. You start it inside a project folder, connect it to a model, and tell it what you want done. It can read files, run shell commands and change code, step by step, until the task is finished. In that sense it does the same job as Claude Code or Codex.
The difference is what it chooses not to include. Pi's README describes it as "a minimal, extensible agent harness that you can make your own". A harness is the program around a model: it sends the model your request and the tool definitions, runs the tools the model asks for, and feeds the results back. Pi keeps that core small and lets you build the rest.
Pi works with many model providers, including Anthropic, OpenAI, Google, Azure, Bedrock, Mistral, Groq, xAI, OpenRouter and local models through Ollama. You sign in with an API key or a subscription using /login.


