AI agent toolkit: unified LLM API, agent loop, TUI, coding agent CLI
Pi is a TypeScript monorepo agent harness: an interactive coding-agent CLI, an agent runtime with tool calling/state, a unified multi-provider LLM API, and a differential-rendering TUI. MIT licensed and self-extensible via custom providers and sandbox extensions.
Use Cases
Run an interactive coding agent in the terminalBuild custom agents with tool calling and state managementCall multiple LLM providers through one unified APIExtend the agent with custom providers and sandbox extensionsRun the agent inside Docker, micro-VM or policy sandbox for isolationBuild terminal UIs with differential renderingShare and publish OSS coding-agent sessions for training dataPersist durable conversation/task state across sessions
Built With
- Language
- TypeScript
- Frameworks
- Node.js · TypeScript · Biome · Vitest · Bun · npm workspaces · SQLite
Tags
coding-agent · cli · tui · agent-runtime · unified-llm-api · tool-calling · monorepo · typescript · self-extensible · terminal · sandboxing · containerization · model-catalog · session-management · state-management