Pi

Active
GitHub TypeScript MIT

Description

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

Strengths & Limitations

Strengths

  • Actively maintained, recent updates
  • High community interest (101.0k stars)
  • Permissive open-source license (MIT)
  • Responsive to issues, low backlog

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

Related Projects

GitHub Copilot CLI

11.1k · Shell
Active B

GitHub Copilot CLI brings the power of Copilot coding agent directly to your terminal. Supports code generation, command suggestions, error fixing and more.

copilotcligithub +2
  • · Terminal-native development — Copilot coding agent runs directly in your CLI without context switching
  • · Deep GitHub integration — access repos, issues, and PRs with natural language
  • · Agentic capabilities — build, edit, debug, and refactor code with complex task planning and execution

OpenClaude

32.0k · TypeScript
Active A

Open-source coding agent CLI supporting OpenAI, Gemini, DeepSeek, Ollama, Codex, GitHub Models, and 200+ models via OpenAI-compatible APIs.

coding-agentclimulti-model +3
  • · Multi-backend LLM support — one CLI connects OpenAI, Gemini, DeepSeek, Ollama, Codex and 200+ models
  • · Tool-driven coding — built-in bash, file read/write/edit, grep, glob, agents, tasks, MCP and slash commands
  • · Provider profiles — guided setup via /provider, save and switch between AI backend configurations