Pi
Open-source AI agent toolkit with an interactive coding agent CLI, unified multi-provider LLM API, and TUI libraries.
Open source alternative to:
Pi is an open-source AI agent toolkit built by Earendil Works. It includes an interactive coding agent CLI that helps you write, refactor, and debug code in real time—similar to Claude Code and OpenAI Codex. The project also provides a unified multi-provider LLM API supporting OpenAI, Anthropic, Google, and others, plus a terminal UI library with differential rendering for building rich CLI experiences.
The monorepo is organized into focused packages: the coding agent CLI, an agent runtime with tool calling and state management, the unified LLM API layer, and a TUI library. Pi is designed to be self-extensible and treats security seriously, with supply-chain hardening measures like pinned dependencies, shrinkwrap generation, and npm audit integration.
Categories:
Tags:
Build with:
Looking for contributors
This project is actively seeking help, join the community!
Repository details
Updated 5/21/2026, 6:00:32 AM
View RepositoryCompare Pi with
Similar open source alternatives
Modo
Open-source AI IDE that plans before it codes, using spec-driven development with requirements, design, and task steps.
Cursor
Ollama
Get up and running with Llama 3.3, DeepSeek-R1, Phi-4, Gemma 3, Mistral Small 3.1 and other large language models.
Lobe Chat
🤯 Lobe Chat - an open-source, modern design AI chat framework. Supports multiple AI providers (OpenAI / Claude 4 / Gemini / DeepSeek / Ollama / Qwen), Knowledge Base (file upload / RAG ), one click install MCP Marketplace and Artifacts / Thinking. One-click FREE deployment of your private AI Agent application.
Onyx
Open-source AI chat and enterprise search platform with RAG that works with every LLM.
Glean
Open WebUI
User-friendly AI Interface (Supports Ollama, OpenAI API, ...)
Warp
An agentic development environment built on a modern Rust terminal emulator with AI-powered coding features.
macOS Terminal