earendil-works/pi
AI agent toolkit: unified LLM API, agent loop, TUI, coding agent CLI
What it solves
Pi provides a comprehensive framework for building and running AI agents, specifically offering a self-extensible coding agent that can interact with a user's filesystem and execute commands via a CLI.
How it works
Pi is composed of several specialized packages:
- pi-agent-core: Manages the agent runtime, state, and tool calling.
- pi-ai: A unified API that allows the agent to communicate with multiple LLM providers like OpenAI, Anthropic, and Google.
- pi-coding-agent: An interactive CLI that applies the agent core to coding tasks.
- pi-durable: Provides a runtime for durable conversations, tasks, and documents.
- pi-chord: A runtime for application composition, RPC, and replicated state.
Who it’s for
Developers who want a powerful, extensible AI coding assistant that runs locally and can be integrated into their own agentic workflows.
Highlights
- Multi-provider LLM support: Seamlessly switch between different AI models via a unified API.
- Self-extensible: The coding agent can be extended with new capabilities.
- Containerization options: Supports isolation via Docker, OpenShell, or the Gondolin extension for secure tool execution.
- Durable state: Includes a dedicated runtime for managing long-term conversation and task state.
Written about in
Related
- Project
- Project
- Project
- Project
- Project