
Pi Coding Agent
An open-source terminal coding agent that developers can extend with packages, skills, prompts, and custom workflows.
🛡️ AgentReady threat assessment
MAESTRO 7-layer threat model + OWASP AIVSS risk score for Pi Coding Agent, derived from its capabilities.
Overview
Pi Coding Agent is an open-source terminal-first coding agent designed for developers who want a lightweight but highly extensible AI coding workflow. Its official site describes it as a minimal coding harness that can be adapted through TypeScript extensions, skills, prompt templates, themes, and shareable packages installed from npm or git. The agent supports interactive terminal use, print and JSON modes, RPC, and SDK-based embedding, while also offering tree-structured session history, model switching, customizable context engineering, and integration with many model providers. Rather than enforcing one rigid workflow, Pi is built as a flexible foundation for coding agents that developers can shape to match their own engineering process.
Key features
- terminal CLI
- coding harness
- TypeScript extensions
- prompt templates
- skills
- developer tools
- context engineering
- session history
- RPC
- SDK
Use cases
- Running an open-source terminal coding agent with customizable workflows and tools.
- Extending coding-agent behavior with TypeScript extensions, skills, prompt templates, and packages.
- Embedding a coding agent into scripts, apps, or integrations through JSON, RPC, or SDK modes.
- Managing long coding sessions with tree-structured history, branching, and customizable context handling.