Skip to main content
Back to trending

pi

AI agent toolkit: unified LLM API, agent loop, TUI, coding agent CLI

View on GitHub
Stars
111,149
Forks
14,126
+ today
+2
Created
1y

Ranking data as of November 24, 2026 (UTC).

Star History

Today, hour by hour

111,149 stars
111,147111,149

Overview

AI agent toolkit: unified LLM API, agent loop, TUI, coding agent CLI It ranks #3920 on GitTiger, gaining +2 stars on November 24, 2026 (UTC).

The project is written in TypeScript and has 14,126 forks. It was created 1y ago.

AI-generated summary of the repository README — may contain errors.

What it is

`pi` is an AI agent toolkit from earendil-works: a unified LLM API, an agent loop, a TUI, and a coding agent CLI in one TypeScript project. The README preview refers to it as the "Pi Agent Harness," which matches the toolkit framing rather than a single end-user app.

Capabilities and isolation options

The README preview documents three ways to run the agent, all aimed at containing what it can touch:

- Gondolin extension — provider auth and `pi` itself stay on the host, while built-in tools and `!` commands are routed into a local Linux micro-VM. - Plain Docker — the entire `pi` process runs inside a local container, which is the simplest isolation path. - OpenShell — runs the whole process in a policy-controlled sandbox.

It also notes that direct external dependencies are pinned to exact versions while internal workspace packages stay version-ranged, and that new contributors' issues and PRs are auto-closed by default with daily maintainer review (see CONTRIBUTING.md).

Getting started

Recorded details: TypeScript, MIT license, no topic tags, and a classification confidence of 0.65. No install or run commands appear in the supplied evidence, so begin with the repository README and CONTRIBUTING.md.

Installation
git clone https://github.com/earendil-works/pi.git
cd pi
# see README for setup

Frequently Asked Questions

What does the toolkit include?

Per the description: a unified LLM API, an agent loop, a TUI and a coding agent CLI, written in TypeScript.

Can I sandbox the agent?

Three options are described: the Gondolin extension (host keeps auth, tools run in a local Linux micro-VM), plain Docker for the whole process, and OpenShell for a policy-controlled sandbox.

Why were my issue or PR closed automatically?

Per the README preview, issues and PRs from first-time contributors are closed automatically, then reviewed by maintainers each day; CONTRIBUTING.md explains the policy.

What license is it under?

MIT, according to the recorded license field.