OpenSource-Hub
P

pi

SHA-256
54.2k stars·Developer Tools·SHA-256 checksum verified

pi 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

AI agentcoding agentLLM APICLIopen sourceSlack botTUI

Getting Started

1

Download installer

Click the button above to download the installer for your system

2

Install the software

Double-click the downloaded installer and follow the prompts

3

Install globally: npm install -g @earendil-works/pi-coding-agent

4

Run npx pi in your project directory, then configure your LLM API key when prompted

5

Start giving instructions in natural language to the agent for coding tasks

Install Guide
  1. Install globally: npm install -g @earendil-works/pi-coding-agent
  2. Run npx pi in your project directory, then configure your LLM API key when prompted
  3. Start giving instructions in natural language to the agent for coding tasks
File Integrity

SHA-256 checksum verified

Checksum extracted from GitHub official Release page

SHA256 Checksum

775bec6cf05ed13cfb866cf13280c7878d018ccf9db11b44902c80589166cbb5

This 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 Source
Environment Guide

Uninstall 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.

Project Info
LicenseMIT
Last Updated2026-05-25T06:45:32Z
GitHub RepositoryOfficial Website

Similar Projects