pi
SHA-256pi is an open-source AI agent toolkit offering a unified multi-provider LLM API (OpenAI, Anthropic, Google, etc.), an interactive self-extensible coding agent CLI, a TUI library with differential rendering, Slack bot, and vLLM pods. Compared to proprietary tools like Cursor or Claude Code, pi provides full transparency, multi-backend flexibility, and supply-chain hardened dependency management.
Smart Download
Download Download Version
v0.75.5 · 45.5 MB
An open-source AI agent toolkit with unified multi-provider LLM API, self-extensible coding agent CLI, TUI libraries, and Slack bot.
Core Features
- Unified multi-provider LLM API (OpenAI, Anthropic, Google, etc.) — switch models without code changes
- Interactive coding agent CLI with tool calling and state management, self-extensible
- Terminal UI (TUI) library with differential rendering for building rich CLI interfaces
- Slack/chat automation via pi-chat companion project
- Supply-chain hardening: exact dependency pinning, lockfile verification, release smoke tests
What It Can't Do
- •New contributor Issues and PRs are auto-closed by default; maintainers review them daily. Please read CONTRIBUTING.md before contributing.
- •Dependency management is strict: use npm install --ignore-scripts to avoid lockfile issues. Set PI_ALLOW_LOCKFILE_CHANGE=1 if you need to modify the lockfile.
- •Only supported in Node.js environment; not for Python or other languages.
- •Ensure you have an LLM API key (OpenAI, Anthropic, etc.) before using the coding agent.
Use Cases
- Developers using an AI coding agent in the terminal for code writing, refactoring, and debugging
- Teams wanting to quickly test different LLM backends via a unified API
- Automating workflows with a Slack bot integrated with AI
Detailed Introduction
pi is a comprehensive AI agent harness monorepo developed by earendil-works. It provides a unified multi-provider LLM API that supports OpenAI, Anthropic, Google, and more, allowing developers to switch AI backends seamlessly. The core includes an interactive coding agent CLI that can self-extend by calling tools and managing state. Additionally, it offers a Terminal UI (TUI) library with differential rendering for building rich terminal interfaces. pi also integrates with Slack and chat automation via its companion project pi-chat. Compared to other coding agents like Claude Code or Copilot, pi stands out for its open-source nature, multi-provider LLM support, and rigorous supply-chain hardening practices (exact dependency pinning, lockfile verification, release smoke tests). The project encourages sharing coding agent sessions to improve real-world performance.
Tags
Getting Started
Download installer
Click the button above to download the installer for your system
Install the software
Double-click the downloaded installer and follow the prompts
Install globally: npm install -g @earendil-works/pi-coding-agent
Run npx pi in your project directory, then configure your LLM API key when prompted
Start giving instructions in natural language to the agent for coding tasks
- Install globally: npm install -g @earendil-works/pi-coding-agent
- Run npx pi in your project directory, then configure your LLM API key when prompted
- Start giving instructions in natural language to the agent for coding tasks
SHA-256 checksum verified
Checksum extracted from GitHub official Release page
SHA256 Checksum
775bec6cf05ed13cfb866cf13280c7878d018ccf9db11b44902c80589166cbb5This checksum is extracted from the GitHub Release page. Verify file integrity after download.
All SHA-256 checksums on this platform are extracted from the project's official GitHub Release page, without any modification. You can independently verify them on the GitHub Releases page.
Open Source Transparency
View GitHub SourceUninstall Info
Uninstall pi: npm uninstall -g @earendil-works/pi-coding-agent. Also remove pi-chat if installed separately. This removes all globally installed packages.
No Extra Dependencies
Ready to use after download. No additional runtime required.
Similar Projects
Visual Studio Code (Code - OSS)
A free, open-source code editor by Microsoft with rich extensions, debugging, and Git integration. The most popular developer tool worldwide.
opencode
OpenCode is a free, open-source AI coding agent that helps you write, refactor, and understand code. It offers two built-in modes: a full-access 'build' agent for active coding and a read-only 'plan' agent for safe exploration.
scrcpy
Display and control your Android device from your computer via USB or TCP/IP. No root required, high performance, low latency, supports audio and video mirroring.