NewsCrawler.org

Pi: an extensible AI agent toolkit with a unified LLM API and a coding agent CLI

earendil-works/pi
Image: GitHub Trending

Pi is a minimal, extensible agent harness that users can adapt to their own workflows. It can be customized with extensions, skills, prompt templates and themes, and bundled as Pi packages shared via npm or git. Pi ships with defaults but does not include features such as sub-agents and plan mode.

Users can run Pi interactively, automate it in print or JSON mode, control it over RPC[1], or build apps with the Pi TypeScript SDK. The command-line interface installs with a shell script on macOS and Linux, with a PowerShell command on Windows, or directly with npm, and it requires Node.js 22.19 or newer. For a built-in AI provider, users run /login inside Pi to connect a subscription or API key.

The monorepo contains packages including pi-ai, a unified multi-provider LLM API, and pi-coding-agent, an interactive coding agent CLI. It also includes pi-tui, a terminal UI library[2] with differential rendering. Pi has no built-in permission system, so the repository describes containerization options such as plain Docker and OpenShell. Pi can also be run with Nix[3] on ARM64 and x86-64 systems on Linux and macOS.

Read the original github.com

Sources

  • GitHub Trending

    earendil-works/pi

    159 stars today123,454 stars15,936 forks

First seen: Читать по-русски

Open as a page