Agent harness
A harness with the seams showing.
Four published packages instead of one opaque product: a provider API, an agent runtime, a terminal UI, and the coding agent CLI built on top of them.
Pi has no built-in permission system for filesystem, process, network or credential access. It runs with the permissions of whoever launched it, and the docs describe three containerization patterns for stronger boundaries.
- pi-coding-agent
Coding agent CLI
The interactive agent you run in a terminal.
- pi-tui
Terminal UI
A rendering library with differential updates.
- pi-agent-core
Agent runtime
Tool calling and state management for the loop.
- pi-ai
Unified provider API
One interface across OpenAI, Anthropic, Google and others.
Take one layer. Each package is published on its own, so the provider API or the runtime can be used without adopting the CLI above it.