{"data":{"slug":"pi","name":"Pi","tagline":"MIT agent harness with coding CLI, unified LLM API, and TUI","category":"agents","categoryName":"AI Agents","url":"https://pi.dev","github":"https://github.com/earendil-works/pi","pricing":"open-source","hook":"Pi is an open agent harness with a self-extensible coding agent CLI, multi-provider LLM API, and TUI — without a built-in permission sandbox.","whatsGood":"MIT (earendil-works/pi). Monorepo packages cover @earendil-works/pi-coding-agent (interactive coding CLI), pi-agent-core (tool-calling runtime), and pi-ai (unified OpenAI/Anthropic/Google-class providers), plus durable/TUI helpers. Docs and demos live at pi.dev. Already the comparison point other agent gems cite when they mean a coding-agent harness rather than a research REPL.","theCatch":"Vs Prime Agent, OpenCode, OpenHands, and Claude Code: Pi is the Earendil coding-agent harness + CLI stack, not PrimeIntellect's RLM REPL, a general terminal wrapper, a full autonomous developer platform, or Anthropic's product CLI. Pi does not ship a built-in permission system for filesystem/process/network/credentials — it runs with the launching user's privileges; containerize (Docker/OpenShell/Gondolin patterns in-repo) before giving it secrets. New issues/PRs from new contributors are auto-closed by default pending maintainer review.","verdict":"MIT coding-agent harness. Strong default when you want an OSS CLI + unified providers; sandbox it yourself before production credentials.","addedAt":"2026-09-22","featured":false,"domain":"AI Agents","subSpecialty":"Agents","subcategory":"Coding Agents","tags":["cli","tui","api","self-host","permissive","coding-agents","sandbox","active","fast-stars"],"capabilities":["cli","api"],"surfaces":["CLI","API","Self-host"],"ecosystem":["Multi-platform"],"licenseModel":"OSS/MIT","githubStars":116227,"starsPerWeek":1864,"access":"free","archived":false,"repo":{"createdAt":"2025-08-09","pushedAt":"2026-10-18","license":"MIT","archived":false,"checkedAt":"2026-10-19"}},"related":[{"slug":"claude-code","name":"Claude Code","tagline":"Terminal-first coding agent with deep repository context"},{"slug":"cursor","name":"Cursor","tagline":"The AI-first code editor that understands your codebase"},{"slug":"devin","name":"Devin","tagline":"Autonomous AI engineer for defined engineering tasks"},{"slug":"stagehand","name":"Stagehand","tagline":"AI-native browser automation that mixes code and natural language"},{"slug":"browser-use","name":"Browser Use","tagline":"Open-source framework for LLM-driven browser agents"}],"links":{"self":"/api/gems/pi","html":"/gems/pi","markdown":"/gems/pi.md","category":"/api/gems?category=agents","categoryPage":"/stacks/agents"}}