pi (earendil-works/pi)

Searching Database…

125.1K ·GitHub
What is this?Pi is an agent harness: a toolkit of packages for building and running AI agents, including a self-extensible interactive coding agent CLI, a unified multi-provider LLM API, an agent runtime, and a terminal UI library.
Is this one CLI tool or a collection of packages?It is a monorepo of separate npm packages: pi-coding-agent (the CLI), pi-agent-core (agent runtime with tool calling/state), pi-ai (unified LLM API), pi-tui (terminal UI library), plus chord and pi-telemetry for composition and telemetry.
How do I get the coding agent CLI running?You can install the pi-coding-agent npm package, or download a GitHub release's source archive (verified via its SHA256SUMS file) and run the included build script, passing --skip-install if dependencies are already present.
Which LLM providers does it work with, and do I need an API key?pi-ai talks to OpenAI, Anthropic, Google and other providers through one unified API, so you need an API key for whichever provider you use. Running it also requires Node.js 22.19 or newer.
Does Pi restrict what the agent can access on my machine?No, there's no built-in permission system: by default Pi runs with the full permissions of the user and process that launched it, touching filesystem, processes, network and credentials freely. For stronger boundaries you have to containerize or sandbox it yourself, e.g. via the Gondolin extension, plain Docker, or OpenShell.
What is chord?Chord is a separate standalone application-composition runtime included in the same monorepo, handling services, replicated state, RPC, and plugins.
Can I run Pi in a sandbox for safety?Yes, the docs describe three patterns: the Gondolin extension (routes tools into a local Linux micro-VM while keeping auth on the host), running the whole process in plain Docker, or running it inside OpenShell's policy-controlled sandbox.
Is there a Slack or chat integration?Chat automation and workflows like Slack are handled by the separate earendil-works/pi-chat project, not this repo.
Can I share my coding agent sessions with others?Yes, the companion tool pi-share-hf lets you publish your Pi session logs to Hugging Face, helping improve coding agents with real-world task data.
Size
136.2 MB
Stars
125.1K
Age
1y
Commits · 90 Days