What is Pi?
Pi is a minimal agent harness designed for customization. Its coding agent can be extended with skills, extensions, templates and packages, and can also be driven through JSON, RPC or a TypeScript SDK.
Edited by AhaFrame · Definition source: Official project ↗
How it works
Pi is an extensible agent harness for shaping how a coding agent calls tools and executes steps. The focus is controllability, not a promised improvement in model accuracy.
Core features
Interactive coding sessions
Skills, extensions, themes and reusable packages
Print/JSON mode and RPC control
TypeScript SDK for embedding
Feature reference: Official documentation ↗
What can you use it for?
- Build a custom coding-agent workflow
- Embed agent sessions in a developer tool
- Share a reusable package across a team
Your first guided walkthrough
Node.js 22.19+ for the npm path; a supported provider subscription or API key.
A disposable example repo and a narrowly scoped tool extension.
- Read the upstream extension and permission documentation before enabling plugins.
- Run the default agent on a tiny task; save its logs as baseline.
- Add only one extension; repeat the exact task and capture tool calls.
- Disable the extension and compare behavior, failures and maintenance cost.
Try exposing one read-only project-status tool before trying tools that can write files.
EXPECTED RESULT · VERIFY INDEPENDENTLYA one-extension experiment showing when customization helps.
Editorial guide authored: 2026-10-27. No independent functionality test.
Pricing & running costs
The software can be used from source without a software subscription. Model-provider usage is billed separately.
Check official pricing details ↗Pricing checked 2026-10-27. Confirm currency, billing period, included usage and taxes on the official page.
License & limitations
License applies to this project; connected models and services have separate terms.
- The minimal core intentionally omits some opinionated workflows such as built-in plan mode.
- Extensions and shell tools can access the host environment; sandboxing needs configuration.
Frequently asked questions
Is Pi only a terminal app?
No. It also exposes RPC and a TypeScript SDK.
Does it include free model inference?
The harness is MIT-licensed; model access uses your configured provider.
Official links & sources
Based on the official sources above. Use cases are editorial examples; source checks are not independent functional tests.
Open upstream repository ↗