Technical brief / Developer Tools
Pi is an AI coding tool you can customise with instructions and code.
What happened
Mario Zechner explained why he built Pi in November 2025. He wanted to see and control what information reached the AI model, keep a record of its work, and reuse the code in other applications.
His original design used four tools: read, write, edit and bash. These let the AI read files, create files, change existing files and run shell commands, such as a build or a test run. This is the software around the AI model, often called a coding harness.
What you can add
Pi supports several ways to customise it. Skills provide written instructions for a task. Prompt templates save prompts you want to reuse. Themes change its appearance. Extensions add code that runs inside Pi. You can share these additions as Pi Packages through npm or Git.
The extension API lets you add tools and commands, change the information sent to the model, and check a tool call before it runs. For example, you could build a tool that fetches an issue from your team's issue tracker or a command that displays your review checklist.
The TypeScript SDK is a library for using Pi from your own application. For example, your app could send Pi a coding task and show its responses in your own interface. Pi would handle the conversation with the model and calls to its tools.
Why it matters
You can adapt Pi to the way your team works without changing Pi's own source code. The difference between written instructions and extensions is easiest to see with an example:
- Instruction: "Ask me before running this command." The AI reads that instruction and is expected to follow it.
- Extension: Code checks the command before it runs, shows an approval prompt, and blocks that tool call if you decline.
The approval prompt is something you can build with an extension. It is not a feature you get simply by writing the instruction.
Armin Ronacher's January 2026 account gives examples from using Pi and building extensions. He also describes how OpenClaw uses Pi.
What you are responsible for
Extensions run with the same operating-system permissions as Pi. That means they can access files and credentials available to the process. Check where an extension comes from and what it does before loading it.
The shell tool can also run commands that change or delete files. Having only a few tools does not limit what those commands can do. If you need approval checks or restrictions on file access, you must set them up and test them.
Pi gives you room to customise your coding assistant. You also take responsibility for maintaining those additions and checking that they still work after updates.
Sources checked on 26 September 2026.
AI Disclosure
Researched and drafted with AI assistance, then reviewed by Søren Dalby. Sources are linked; errors may remain, and corrections are welcome.