Pi
MIT agent harness with coding CLI, unified LLM API, and TUI
AI Agents / Agents · OSS/MIT · 116k
Reviewed 2026-09-22 · last push 2026-10-18 · repo checked 2026-10-19
What's Good
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.
The Catch
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.
Embed
Maintainer? Add the badge to your README. It is free, links to this review, and there is no paid version.
Markdown
[](https://stackgems.com/gems/pi)
HTML
<a href="https://stackgems.com/gems/pi"><img src="https://stackgems.com/badge/pi.svg" alt="Pi reviewed on Stack Gems" height="20"></a>