Pi
ActiveDescription
Pi is a full-stack AI agent toolkit featuring a coding agent CLI, unified LLM API, TUI and Web UI libraries, Slack bot, and vLLM inference pods.
Key Features
- Unified multi-provider LLM API — pi-ai package provides unified interface for OpenAI, Anthropic, Google, and other LLM providers
- Interactive coding agent CLI — pi-coding-agent provides command-line interactive coding agent with tool calling and state management
- Agent runtime — pi-agent-core provides agent runtime with tool calling and state management for multi-step task execution
- Terminal UI library — pi-tui provides differential rendering terminal UI library for rich interactive terminal interfaces
- Containerization & sandbox support — Supports OpenShell, Gondolin, and Docker containerization patterns for secure execution
- Supply chain security — Dependency pinning, npm audit, shrinkwrap generation, and multi-layer supply chain security measures
Use Cases
💡 Use Pi coding agent to autonomously complete coding tasks in the terminal with multi-model switching
💡 Build cross-provider LLM applications using the unified API to seamlessly switch between OpenAI, Anthropic, and others
💡 Run agents in containerized environments ensuring code execution security and isolation
💡 Leverage the TUI library to build custom terminal interfaces with rich visual feedback for agents
💡 Integrate via Slack bot to extend agent capabilities to team collaboration and workflow automation scenarios
Tags
Categories
Quick Start
# Clone and build the monorepo
npm install --ignore-scripts
npm run build
# Run the coding agent
./pi-test.sh
# Or install globally and use
npm install -g @earendil-works/pi-coding-agent
pi
# Update the agent
pi update --self