earendil-works/piPublic

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

AI summary: A self-extensible coding agent harness and CLI built for complex, multi-step software engineering tasks.

Stars
123.1K
+17 today
Forks
15.9K
Watchers
342
Open issues
228
Open PRs
39
Contributors
~319
Commits
7.9K
Branches
110
Views (30d)
11

TypeScriptMITCreated Aug 9, 2025Last push todayLatest release v1.5.2+1.1K stars this week+5.9K this month

Quick answers

What is pi?
A self-extensible coding agent harness and CLI built for complex, multi-step software engineering tasks.
What does pi do?
Pi is an interactive, extensible coding assistant designed for serious engineering workflows. It provides a robust agent runtime that handles complex state management, tool calling, and context window optimization. Unlike simple chat interfaces, Pi acts as a harness that wraps LLMs with deep system access, allowing the agent to read file systems, execute bash commands, and manage its own capabilities. Its standout feature is its self-extensibility, enabling the agent to write and integrate new tools for itself on the fly to solve novel problems. It unifies multi-provider LLM APIs to ensure seamless operation across different foundation models.
Who is pi for?
Advanced software engineers and AI tinkerers who want a powerful, extensible local coding assistant that can act autonomously on their machine. Requires familiarity with TypeScript, CLI environments, and LLM APIs.
How do I get started with pi?
npm install -g @earendil-works/pi-coding-agent
How popular is pi on GitHub?
earendil-works/pi has 123,086 stars and 15,869 forks on GitHub, and gained 1,066 stars in the last 7 days.
What license does pi use?
earendil-works/pi is released under the MIT license.

Star history

since Jul 27, 2026
050K100KJul 2026Sep 2026Oct 2026Nov 2026
123.1K stars as of Nov 21, 2026. Measured daily since Jul 27, 2026; GitHub no longer exposes earlier star timestamps.

Update history

6 recorded
  • Nov 13, 2026New release v1.5.2 (previously v1.5.0).
  • Nov 3, 2026New release v1.5.0 (previously v1.4.0).
  • Oct 25, 2026New release v1.4.0 (previously v1.3.0).
  • Oct 16, 2026New release v1.3.0 (previously v1.0.4).
  • Oct 7, 2026New release v1.0.4 (previously v0.87.1).
  • Oct 4, 2026Previously tracked as badlogic/pi-mono; its 1 daily snapshot and 16 trending appearances were merged into this profile. Stars: 79,652 on 2026-07-28 under the old name, 112,372 on 2026-10-04 (+32,720).

Contribution activity

commits per day, last 52 weeks
NovDecJanFebMarAprMayJunJulAugSepOctNovMonWedFri2025-11-16: 11 commits2025-11-17: 3 commits2025-11-18: 6 commits2025-11-19: 7 commits2025-11-20: 25 commits2025-11-21: 14 commits2025-11-22: 0 commits2025-11-23: 0 commits2025-11-24: 6 commits2025-11-25: 2 commits2025-11-26: 19 commits2025-11-27: 18 commits2025-11-28: 2 commits2025-11-29: 7 commits2025-11-30: 0 commits2025-12-01: 8 commits2025-12-02: 33 commits2025-12-03: 15 commits2025-12-04: 28 commits2025-12-05: 29 commits2025-12-06: 12 commits2025-12-07: 7 commits2025-12-08: 14 commits2025-12-09: 60 commits2025-12-10: 23 commits2025-12-11: 15 commits2025-12-12: 30 commits2025-12-13: 28 commits2025-12-14: 5 commits2025-12-15: 17 commits2025-12-16: 11 commits2025-12-17: 28 commits2025-12-18: 21 commits2025-12-19: 45 commits2025-12-20: 25 commits2025-12-21: 16 commits2025-12-22: 37 commits2025-12-23: 7 commits2025-12-24: 46 commits2025-12-25: 31 commits2025-12-26: 31 commits2025-12-27: 33 commits2025-12-28: 47 commits2025-12-29: 56 commits2025-12-30: 28 commits2025-12-31: 48 commits2026-01-01: 39 commits2026-01-02: 36 commits2026-01-03: 120 commits2026-01-04: 43 commits2026-01-05: 47 commits2026-01-06: 54 commits2026-01-07: 27 commits2026-01-08: 47 commits2026-01-09: 45 commits2026-01-10: 23 commits2026-01-11: 38 commits2026-01-12: 39 commits2026-01-13: 67 commits2026-01-14: 24 commits2026-01-15: 18 commits2026-01-16: 53 commits2026-01-17: 26 commits2026-01-18: 23 commits2026-01-19: 31 commits2026-01-20: 7 commits2026-01-21: 26 commits2026-01-22: 36 commits2026-01-23: 20 commits2026-01-24: 31 commits2026-01-25: 65 commits2026-01-26: 51 commits2026-01-27: 7 commits2026-01-28: 14 commits2026-01-29: 29 commits2026-01-30: 37 commits2026-01-31: 11 commits2026-02-01: 47 commits2026-02-02: 21 commits2026-02-03: 36 commits2026-02-04: 28 commits2026-02-05: 41 commits2026-02-06: 43 commits2026-02-07: 15 commits2026-02-08: 20 commits2026-02-09: 10 commits2026-02-10: 0 commits2026-02-11: 0 commits2026-02-12: 19 commits2026-02-13: 5 commits2026-02-14: 1 commit2026-02-15: 0 commits2026-02-16: 1 commit2026-02-17: 8 commits2026-02-18: 1 commit2026-02-19: 4 commits2026-02-20: 3 commits2026-02-21: 0 commits2026-02-22: 9 commits2026-02-23: 6 commits2026-02-24: 3 commits2026-02-25: 6 commits2026-02-26: 10 commits2026-02-27: 14 commits2026-02-28: 1 commit2026-03-01: 0 commits2026-03-02: 20 commits2026-03-03: 14 commits2026-03-04: 28 commits2026-03-05: 23 commits2026-03-06: 23 commits2026-03-07: 14 commits2026-03-08: 13 commits2026-03-09: 8 commits2026-03-10: 2 commits2026-03-11: 0 commits2026-03-12: 3 commits2026-03-13: 13 commits2026-03-14: 42 commits2026-03-15: 11 commits2026-03-16: 5 commits2026-03-17: 24 commits2026-03-18: 22 commits2026-03-19: 14 commits2026-03-20: 21 commits2026-03-21: 10 commits2026-03-22: 8 commits2026-03-23: 11 commits2026-03-24: 10 commits2026-03-25: 7 commits2026-03-26: 7 commits2026-03-27: 20 commits2026-03-28: 2 commits2026-03-29: 22 commits2026-03-30: 7 commits2026-03-31: 5 commits2026-04-01: 5 commits2026-04-02: 6 commits2026-04-03: 5 commits2026-04-04: 5 commits2026-04-05: 7 commits2026-04-06: 10 commits2026-04-07: 0 commits2026-04-08: 11 commits2026-04-09: 9 commits2026-04-10: 0 commits2026-04-11: 3 commits2026-04-12: 0 commits2026-04-13: 10 commits2026-04-14: 25 commits2026-04-15: 29 commits2026-04-16: 43 commits2026-04-17: 25 commits2026-04-18: 8 commits2026-04-19: 6 commits2026-04-20: 36 commits2026-04-21: 12 commits2026-04-22: 31 commits2026-04-23: 32 commits2026-04-24: 39 commits2026-04-25: 7 commits2026-04-26: 1 commit2026-04-27: 30 commits2026-04-28: 14 commits2026-04-29: 20 commits2026-04-30: 30 commits2026-05-01: 14 commits2026-05-02: 15 commits2026-05-03: 20 commits2026-05-04: 24 commits2026-05-05: 10 commits2026-05-06: 10 commits2026-05-07: 25 commits2026-05-08: 12 commits2026-05-09: 5 commits2026-05-10: 14 commits2026-05-11: 6 commits2026-05-12: 4 commits2026-05-13: 11 commits2026-05-14: 5 commits2026-05-15: 6 commits2026-05-16: 13 commits2026-05-17: 21 commits2026-05-18: 35 commits2026-05-19: 11 commits2026-05-20: 28 commits2026-05-21: 8 commits2026-05-22: 13 commits2026-05-23: 17 commits2026-05-24: 3 commits2026-05-25: 3 commits2026-05-26: 6 commits2026-05-27: 18 commits2026-05-28: 29 commits2026-05-29: 23 commits2026-05-30: 13 commits2026-05-31: 2 commits2026-06-01: 5 commits2026-06-02: 18 commits2026-06-03: 7 commits2026-06-04: 8 commits2026-06-05: 2 commits2026-06-06: 1 commit2026-06-07: 9 commits2026-06-08: 15 commits2026-06-09: 31 commits2026-06-10: 21 commits2026-06-11: 3 commits2026-06-12: 13 commits2026-06-13: 13 commits2026-06-14: 9 commits2026-06-15: 17 commits2026-06-16: 23 commits2026-06-17: 5 commits2026-06-18: 44 commits2026-06-19: 14 commits2026-06-20: 11 commits2026-06-21: 3 commits2026-06-22: 24 commits2026-06-23: 36 commits2026-06-24: 5 commits2026-06-25: 20 commits2026-06-26: 7 commits2026-06-27: 2 commits2026-06-28: 2 commits2026-06-29: 4 commits2026-06-30: 14 commits2026-07-01: 12 commits2026-07-02: 7 commits2026-07-03: 6 commits2026-07-04: 2 commits2026-07-05: 5 commits2026-07-06: 17 commits2026-07-07: 4 commits2026-07-08: 8 commits2026-07-09: 30 commits2026-07-10: 13 commits2026-07-11: 6 commits2026-07-12: 0 commits2026-07-13: 9 commits2026-07-14: 10 commits2026-07-15: 4 commits2026-07-16: 26 commits2026-07-17: 18 commits2026-07-18: 0 commits2026-07-19: 4 commits2026-07-20: 25 commits2026-07-21: 27 commits2026-07-22: 16 commits2026-07-23: 12 commits2026-07-24: 16 commits2026-07-25: 17 commits2026-07-26: 2 commits2026-07-27: 23 commits2026-07-28: 17 commits2026-07-29: 22 commits2026-07-30: 39 commits2026-07-31: 61 commits2026-08-01: 28 commits2026-08-02: 12 commits2026-08-03: 28 commits2026-08-04: 42 commits2026-08-05: 65 commits2026-08-06: 50 commits2026-08-07: 33 commits2026-08-08: 10 commits2026-08-09: 3 commits2026-08-10: 16 commits2026-08-11: 58 commits2026-08-12: 38 commits2026-08-13: 30 commits2026-08-14: 69 commits2026-08-15: 22 commits2026-08-16: 17 commits2026-08-17: 63 commits2026-08-18: 33 commits2026-08-19: 49 commits2026-08-20: 28 commits2026-08-21: 4 commits2026-08-22: 7 commits2026-08-23: 13 commits2026-08-24: 17 commits2026-08-25: 25 commits2026-08-26: 35 commits2026-08-27: 9 commits2026-08-28: 15 commits2026-08-29: 7 commits2026-08-30: 7 commits2026-08-31: 19 commits2026-09-01: 29 commits2026-09-02: 14 commits2026-09-03: 27 commits2026-09-04: 18 commits2026-09-05: 12 commits2026-09-06: 1 commit2026-09-07: 12 commits2026-09-08: 7 commits2026-09-09: 10 commits2026-09-10: 18 commits2026-09-11: 9 commits2026-09-12: 5 commits2026-09-13: 6 commits2026-09-14: 5 commits2026-09-15: 7 commits2026-09-16: 11 commits2026-09-17: 17 commits2026-09-18: 19 commits2026-09-19: 11 commits2026-09-20: 23 commits2026-09-21: 17 commits2026-09-22: 17 commits2026-09-23: 13 commits2026-09-24: 15 commits2026-09-25: 17 commits2026-09-26: 2 commits2026-09-27: 0 commits2026-09-28: 15 commits2026-09-29: 40 commits2026-09-30: 39 commits2026-10-01: 36 commits2026-10-02: 22 commits2026-10-03: 7 commits2026-10-04: 19 commits2026-10-05: 37 commits2026-10-06: 33 commits2026-10-07: 22 commits2026-10-08: 10 commits2026-10-09: 4 commits2026-10-10: 8 commits2026-10-11: 21 commits2026-10-12: 38 commits2026-10-13: 20 commits2026-10-14: 24 commits2026-10-15: 19 commits2026-10-16: 14 commits2026-10-17: 8 commits2026-10-18: 9 commits2026-10-19: 10 commits2026-10-20: 16 commits2026-10-21: 18 commits2026-10-22: 26 commits2026-10-23: 25 commits2026-10-24: 12 commits2026-10-25: 5 commits2026-10-26: 8 commits2026-10-27: 26 commits2026-10-28: 78 commits2026-10-29: 38 commits2026-10-30: 28 commits2026-10-31: 40 commits2026-11-01: 10 commits2026-11-02: 58 commits2026-11-03: 47 commits2026-11-04: 85 commits2026-11-05: 39 commits2026-11-06: 56 commits2026-11-07: 28 commits2026-11-08: 21 commits2026-11-09: 45 commits2026-11-10: 66 commits2026-11-11: 56 commits2026-11-12: 54 commits2026-11-13: 3 commits2026-11-14: 0 commits
7,113 commits in the last yearLessMore

Signals and awards

derived from tracked data
  • Landmark project

    123,086 stars

  • Very active

    7,113 commits in 52 weeks

  • Community-driven

    ~319 contributors

  • Permissive license

    MIT

  • Continuous integration

    Automated checks passing

  • Repeat trending

    62 trending appearances

  • Top 10% tracked

    Rank 60 of 1243

What pi does

Pi is an interactive, extensible coding assistant designed for serious engineering workflows. It provides a robust agent runtime that handles complex state management, tool calling, and context window optimization. Unlike simple chat interfaces, Pi acts as a harness that wraps LLMs with deep system access, allowing the agent to read file systems, execute bash commands, and manage its own capabilities. Its standout feature is its self-extensibility, enabling the agent to write and integrate new tools for itself on the fly to solve novel problems. It unifies multi-provider LLM APIs to ensure seamless operation across different foundation models.

Advanced software engineers and AI tinkerers who want a powerful, extensible local coding assistant that can act autonomously on their machine. Requires familiarity with TypeScript, CLI environments, and LLM APIs.

  • Agent Harness Runtime: Robust core for managing multi-step reasoning and state.
  • Self-Extensibility: Allow the agent to generate and utilize new custom tools dynamically.
  • Interactive CLI: A powerful command-line interface for human-in-the-loop agentic workflows.
  • Deep System Access: Safely provide the agent with file system and bash execution capabilities.
  • Monorepo Architecture: Neatly separate the core agent logic from the CLI implementation.

Where teams use it

Complex Refactoring

Deploy the agent to traverse a large codebase, understand dependencies, and execute a multi-file refactor.

Automated Environment Setup

Ask the agent to read a complex README and execute the necessary bash commands to set up a local dev environment.

Dynamic Tool Creation

Provide a novel API and having the agent write a custom tool to interact with it, then immediately using that tool.

Human-In-The-Loop Debugging

Work alongside the agent in the CLI to trace obscure bugs across multiple services.

Getting started: npm install -g @earendil-works/pi-coding-agent

README

main branch

pi logo

Discord npm

New issues and PRs from new contributors are auto-closed by default. Maintainers review auto-closed issues daily. See CONTRIBUTING.md.

Pi

Pi is a minimal, extensible agent harness that you can make your own.

Adapt Pi to your workflows, not the other way around. Customize Pi with extensions, skills, prompt templates, and themes. Bundle them as Pi packages and share via npm or git.

Pi ships with powerful defaults but skips features like sub-agents and plan mode. Ask Pi to build what you want, or install a package that does it your way.

Use Pi interactively, automate it in print or JSON mode, control it over RPC, or build apps with the Pi TypeScript SDK. See OpenClaw for a real-world integration.

Getting started

Install the command-line interface:

curl -fsSL https://pi.dev/install.sh | sh

On Windows:

powershell -c "irm https://pi.dev/install.ps1 | iex"

The installer pins all dependencies and updates Pi with pi update. Alternatively, install directly with npm, which does not pin transitive dependencies:

npm install -g --ignore-scripts @earendil-works/pi-coding-agent

Pi requires Node.js 22.19 or newer. The macOS, Linux, and Windows installers can install it if needed. Pi does not require dependency lifecycle scripts for a normal npm installation.

Start Pi in the directory where you want it to work:

cd /path/to/project
pi

For a built-in AI provider, run /login inside Pi to connect a subscription or API key. Then give Pi a task.

See the documentation for full setup and usage instructions, or visit pi.dev for demos.

Run with Nix

nix run github:earendil-works/pi/stable

stable points at the latest release. Install it with nix profile add github:earendil-works/pi/stable and update with nix profile upgrade pi. Use a release tag such as github:earendil-works/pi/v1.0.0 to pin a version, or github:earendil-works/pi for unreleased changes on main. Nix builds Pi from source.

Supports ARM64 and x86-64 on Linux and macOS. Use nix build . or nix run . to build or run your checkout.

Nix builds are offline, so the bundled model data comes from a pi.dev model catalog revision pinned in nix/model-catalog.json. At runtime, Pi still overlays newer catalog data from pi.dev as usual. The Nix workflow replaces the pin on main when it no longer matches the checkout, for example after a provider is added or gains a new model type. To refresh it by hand:

npm run update:model-catalog-pin

Packages

This monorepo contains the Pi CLI and its supporting libraries.

Package Description
@earendil-works/chord Object runtime for apps across processes: contracts, documents, a store, links, plugins with hot reload, HTTP, workers, web and terminal clients
@earendil-works/pi-telemetry Vendor-neutral telemetry contracts, reference adapter, conformance tests, and typed schemas
@earendil-works/pi-ai Unified multi-provider LLM API (OpenAI, Anthropic, Google, etc.)
@earendil-works/pi-durable Durable conversation, task, and document runtime
@earendil-works/pi-agent-core Agent runtime with tool calling and state management
@earendil-works/pi-coding-agent Interactive coding agent CLI
@earendil-works/pi-tui Terminal UI library with differential rendering

For Slack/chat automation and workflows see earendil-works/pi-chat.

Permissions & Containerization

Pi does not include a built-in permission system for restricting filesystem, process, network, or credential access. By default, it runs with the permissions of the user and process that launched it.

If you need stronger boundaries, containerize or sandbox Pi. See packages/coding-agent/docs/containerization.md for three patterns:

  • Gondolin extension: keep pi and provider auth on the host while routing built-in tools and ! commands into a local Linux micro-VM.
  • Plain Docker: run the whole pi process in a local container for simple isolation.
  • OpenShell: run the whole pi process in a policy-controlled sandbox.

Contributing

See CONTRIBUTING.md for contribution guidelines and AGENTS.md for project-specific rules (for both humans and agents). Longer term plans for Pi can also be found in RFCs.

Development

npm install --ignore-scripts  # Install all dependencies without running lifecycle scripts
npm run build         # Refresh model data, then build all packages
npm run build:offline # Rebuild using existing model data without network access
npm run check         # Lint, format, and type check
./test.sh            # Run tests (skips LLM-dependent tests without API keys)
./pi-test.sh         # Run pi from sources (can be run from any directory)

Using local packages outside the monorepo

Build every public package into one coherent local artifact set:

npm run pack:packages -- --out .artifacts/pi-packages

This refreshes model data before building pi-ai. To avoid network access when model data is already hydrated, pass --offline-model-data.

Then configure an external project to consume one package and resolve all of its Pi dependencies from the same artifact set. npm is the default:

node scripts/use-local-packages.mjs \
  --manifest .artifacts/pi-packages/manifest.json \
  --consumer ../my-project \
  --package @earendil-works/pi-durable \
  --package @earendil-works/pi-agent-core
cd ../my-project
npm install --ignore-scripts

For a pnpm project, point --consumer at the workspace root:

node scripts/use-local-packages.mjs \
  --manifest .artifacts/pi-packages/manifest.json \
  --consumer ../my-project \
  --package @earendil-works/pi-agent-core \
  --package-manager pnpm
cd ../my-project
pnpm install --ignore-scripts

Repeat --package for each direct dependency. The command updates the consumer's package.json with content-addressed local file: references. It writes transitive overrides to package.json for npm or pnpm-workspace.yaml for pnpm. Keep the artifact directory available while installing or updating the consumer. Re-run both commands after changing Pi source.

Building standalone binaries from release source

GitHub releases include a versioned source archive covered by the release's SHA256SUMS file. Extract it and run the same build script used for the official standalone binaries:

VERSION="<release-version>"
tar -xzf "pi-${VERSION}-source.tar.gz"
cd "pi-${VERSION}"
./scripts/build-binaries.sh --offline-model-data --platform linux-x64 --out "$PWD/out"

The archive includes release model data and native prebuilds. --offline-model-data uses that model data without refreshing provider catalogs. The script installs dependencies and builds the executable with its runtime assets; pass --skip-install if dependencies are already provided.

Supply-chain hardening

We treat npm dependency changes as reviewed code changes.

  • Direct external dependencies are pinned to exact versions. Internal workspace packages remain version-ranged.
  • .npmrc sets save-exact=true and min-release-age=2 to avoid same-day dependency releases during npm resolution.
  • package-lock.json is the dependency ground truth. Pre-commit blocks accidental lockfile commits unless PI_ALLOW_LOCKFILE_CHANGE=1 is set.
  • npm run check verifies pinned direct deps, native TypeScript import compatibility, and the generated coding-agent install lock.
  • The pi.dev installer installs from packages/coding-agent/install-lock/, generated from the root lockfile, to pin transitive deps. The npm package does not pin transitive deps.
  • Local release smoke tests and npm publication use the same tarball packer; npm publishes the validated tarballs rather than repacking workspace directories.
  • Local release installs, documented npm installs, and pi update --self use --ignore-scripts where supported.
  • CI installs with npm ci --ignore-scripts, and a scheduled GitHub workflow runs npm audit --omit=dev plus npm audit signatures --omit=dev.
  • Install lock generation has an explicit allowlist for dependency lifecycle scripts; new lifecycle-script deps fail checks until reviewed.

Share your OSS coding agent sessions

If you use Pi or other coding agents for open source work, please share your sessions.

Public OSS session data helps improve coding agents with real-world tasks, tool use, failures, and fixes instead of toy benchmarks.

For the full explanation, see this post on X.

To publish sessions, use badlogic/pi-share-hf. Read its README.md for setup instructions. All you need is a Hugging Face account, the Hugging Face CLI, and pi-share-hf.

You can also watch this video, where I show how I publish my pi-mono sessions.

I regularly publish my own pi-mono work sessions here:

License

MIT

pi.dev domain graciously donated by

Exy mascot
exe.dev

View on GitHub

Recent activity

commits and pull requests

Releases and announcements

278 total
  1. v1.5.2v1.5.2Nov 10, 202640.9K downloads

    ### New Features - **Fork sessions whose folder is gone**: when a session's original folder was moved or deleted, you can now fork it into the current folder instead of only continuing, so later resumes no longer ask. See [Continue or switch sessions](https://github.com/earendil-works/pi/blob/v1.5.2/packages/coding-agent/docs/sessions.md#continue-or-switch-sessions). ### Changed - When a session's working directory no longer exists, for example after the project folder was renamed, interactive mode now offers `Continue`, `Fork`, or `Cancel` instead of only continuing. `Continue` runs the session in the current directory without storing the choice, as before; `Fork` copies it into the current directory as a new session with a new ID, like `--fork`, so the next resume no longer asks. This applies at startup (`--session`, `--resume`), to `/resume`, to `/import`, and to `ctx.switchSession()` from extensions ([#11975](https://github.com/earendil-works/pi/pull/11975) by [@petrroll](https://github.com/petrroll), fixes [#11060](https://github.com/earendil-works/pi/issues/11060)) ### Fixed - Fixed `/import` of a session whose working directory no longer exists leaving a copy in the ses

  2. v1.5.1v1.5.1Nov 9, 202615.4K downloads

    ### New Features - **Shell login and logout**: use `pi auth login <provider>` and `pi auth logout <provider>` without starting a session, with API-key and no-browser sign-in options. See [Credential commands](https://github.com/earendil-works/pi/blob/v1.5.1/packages/coding-agent/docs/cli.md#credential-commands). - **Idle prompt cache warming**: eligible caches now stay warm for up to 30 minutes between runs when a refresh is expected to pay for itself. See [`cacheWarming`](https://github.com/earendil-works/pi/blob/v1.5.1/packages/coding-agent/docs/settings.md#model-and-thinking). - **Anthropic message threads**: requests send only new messages while the server continues the conversation, with full-request fallback when earlier context changes. See [Anthropic compatibility](https://github.com/earendil-works/pi/blob/v1.5.1/packages/coding-agent/docs/models-configuration.md#anthropic-messages). - **Richer Mermaid diagrams**: pie charts, author-defined styles, clickable labels on supported terminals, and diagrams in expanded branch and compaction summaries. See [Display settings](https://github.com/earendil-works/pi/blob/v1.5.1/packages/coding-agent/docs/settings.md#terminal-and-displ

  3. v1.5.0v1.5.0Nov 2, 2026115.2K downloads

    ### New Features - **Extension update changelogs**: see what changed in installed extension packages on the next fresh launch after an update. Package authors can choose the changelog path, and `collapseChangelog` condenses the notices. See [Show a changelog](https://github.com/earendil-works/pi/blob/v1.5.0/packages/coding-agent/docs/packages.md#show-a-changelog). - **Faster streaming**: large tool calls are parsed incrementally, and code-heavy answers and tool rows reuse highlighting and rendered Markdown instead of repeating the work on every update. See [Keep rendering responsive](https://github.com/earendil-works/pi/blob/v1.5.0/packages/coding-agent/docs/tui.md#keep-rendering-responsive). - **Custom self-update commands**: use `PI_SELF_UPDATE_COMMAND` or `selfUpdateCommand` to update pi through a wrapper or another package manager. See [Custom update command](https://github.com/earendil-works/pi/blob/v1.5.0/packages/coding-agent/docs/cli.md#custom-update-command). - **GPT-6.1 Terra**: available through OpenAI, Azure OpenAI Responses, and OpenAI Codex, with tool search, mid-conversation thinking-level changes, and thinking `off`. Codex offers a 500K context window. See [Models]

  4. v1.4.0v1.4.0Oct 21, 2026184.7K downloads

    ### New Features - **Image input for classifiers**: codemode `models.classify()` accepts `images` for TypeSafe's Jev and Cloudflare's Clef models on `typesafe`, `cloudflare-workers-ai`, and OpenRouter. See [Use classifier models](https://github.com/earendil-works/pi/blob/v1.4.0/packages/coding-agent/docs/models.md#use-classifier-models) and [Codemode](https://github.com/earendil-works/pi/blob/v1.4.0/packages/coding-agent/docs/codemode.md#models). - **Models Configuration reference**: every provider, model, model override, and compatibility field of `models.json`, generated from its schema. See [Models Configuration](https://github.com/earendil-works/pi/blob/v1.4.0/packages/coding-agent/docs/models-configuration.md). - **Summaries without a fixed output cap**: compaction and branch summaries use the model's output limit, so long reasoning no longer makes them fail. See [Compaction](https://github.com/earendil-works/pi/blob/v1.4.0/packages/coding-agent/docs/compaction.md#compaction). - **Codemode waits for a free worker**: parallel scripts and in-process subagents queue instead of failing, and `PI_CODEMODE_MAX_WORKERS` raises the limit. See [Codemode limits](https://github.com/earen

  5. v1.3.0v1.3.0Oct 15, 202691.5K downloads

    ### New Features - **Choose where `/share` uploads**: `sessionShareDestination` selects `auto`, `gist`, or `radius`. See [Sessions and context](https://github.com/earendil-works/pi/blob/v1.3.0/packages/coding-agent/docs/settings.md#sessions-and-context) and [Export or share a session](https://github.com/earendil-works/pi/blob/v1.3.0/packages/coding-agent/docs/sessions.md#export-or-share-a-session). - **Cache-preserving thinking level changes on OpenAI GPT-6**: changing the thinking level mid-session with an API key keeps the prompt cache. - **Kimi Code over Chat Completions**: tools added mid-conversation no longer invalidate the prompt cache. `models.json` base URL overrides must now include `/v1`. See [Providers](https://github.com/earendil-works/pi/blob/v1.3.0/packages/coding-agent/docs/providers.md). - **Clean model switching**: thinking from a previous model is dropped instead of being shown to the new model as text. - **Resumed sessions keep their active tools**: `--tools +name`/`-name` applies on top of them. See [Tools](https://github.com/earendil-works/pi/blob/v1.3.0/packages/coding-agent/docs/settings.md#tools). ### Added - Changing the thinking level mid-session on Op

Code frequency

additions and deletions
+426.9K-426.9KWeek of 2025-11-16: +14,722 linesWeek of 2025-11-16: -9,874 linesWeek of 2025-11-23: +13,706 linesWeek of 2025-11-23: -4,921 linesWeek of 2025-11-30: +13,956 linesWeek of 2025-11-30: -7,053 linesWeek of 2025-12-07: +56,289 linesWeek of 2025-12-07: -41,862 linesWeek of 2025-12-14: +32,979 linesWeek of 2025-12-14: -20,985 linesWeek of 2025-12-21: +33,521 linesWeek of 2025-12-21: -20,679 linesWeek of 2025-12-28: +46,952 linesWeek of 2025-12-28: -34,751 linesWeek of 2026-01-04: +35,013 linesWeek of 2026-01-04: -22,065 linesWeek of 2026-01-11: +40,467 linesWeek of 2026-01-11: -22,273 linesWeek of 2026-01-18: +21,598 linesWeek of 2026-01-18: -12,292 linesWeek of 2026-01-25: +19,158 linesWeek of 2026-01-25: -10,583 linesWeek of 2026-02-01: +16,325 linesWeek of 2026-02-01: -5,825 linesWeek of 2026-02-08: +3,101 linesWeek of 2026-02-08: -1,570 linesWeek of 2026-02-15: +2,452 linesWeek of 2026-02-15: -1,278 linesWeek of 2026-02-22: +4,453 linesWeek of 2026-02-22: -3,095 linesWeek of 2026-03-01: +8,957 linesWeek of 2026-03-01: -2,508 linesWeek of 2026-03-08: +7,746 linesWeek of 2026-03-08: -2,720 linesWeek of 2026-03-15: +9,645 linesWeek of 2026-03-15: -3,805 linesWeek of 2026-03-22: +9,343 linesWeek of 2026-03-22: -4,113 linesWeek of 2026-03-29: +11,958 linesWeek of 2026-03-29: -5,168 linesWeek of 2026-04-05: +2,043 linesWeek of 2026-04-05: -1,069 linesWeek of 2026-04-12: +11,314 linesWeek of 2026-04-12: -5,606 linesWeek of 2026-04-19: +16,282 linesWeek of 2026-04-19: -4,908 linesWeek of 2026-04-26: +16,494 linesWeek of 2026-04-26: -26,521 linesWeek of 2026-05-03: +23,054 linesWeek of 2026-05-03: -8,387 linesWeek of 2026-05-10: +9,623 linesWeek of 2026-05-10: -3,931 linesWeek of 2026-05-17: +16,195 linesWeek of 2026-05-17: -28,732 linesWeek of 2026-05-24: +10,334 linesWeek of 2026-05-24: -2,535 linesWeek of 2026-05-31: +5,115 linesWeek of 2026-05-31: -1,064 linesWeek of 2026-06-07: +39,682 linesWeek of 2026-06-07: -31,394 linesWeek of 2026-06-14: +11,633 linesWeek of 2026-06-14: -4,388 linesWeek of 2026-06-21: +10,957 linesWeek of 2026-06-21: -4,307 linesWeek of 2026-06-28: +3,087 linesWeek of 2026-06-28: -1,198 linesWeek of 2026-07-05: +7,773 linesWeek of 2026-07-05: -2,005 linesWeek of 2026-07-12: +19,909 linesWeek of 2026-07-12: -26,878 linesWeek of 2026-07-19: +22,994 linesWeek of 2026-07-19: -13,038 linesWeek of 2026-07-26: +44,545 linesWeek of 2026-07-26: -16,654 linesWeek of 2026-08-02: +59,140 linesWeek of 2026-08-02: -42,304 linesWeek of 2026-08-09: +68,083 linesWeek of 2026-08-09: -49,982 linesWeek of 2026-08-16: +62,729 linesWeek of 2026-08-16: -40,474 linesWeek of 2026-08-23: +61,818 linesWeek of 2026-08-23: -41,346 linesWeek of 2026-08-30: +41,970 linesWeek of 2026-08-30: -18,946 linesWeek of 2026-09-06: +25,986 linesWeek of 2026-09-06: -7,747 linesWeek of 2026-09-13: +91,224 linesWeek of 2026-09-13: -58,804 linesWeek of 2026-09-20: +65,949 linesWeek of 2026-09-20: -36,958 linesWeek of 2026-09-27: +89,634 linesWeek of 2026-09-27: -130,848 linesWeek of 2026-10-04: +43,321 linesWeek of 2026-10-04: -9,459 linesWeek of 2026-10-11: +50,745 linesWeek of 2026-10-11: -46,936 linesWeek of 2026-10-18: +32,921 linesWeek of 2026-10-18: -12,218 linesWeek of 2026-10-25: +215,198 linesWeek of 2026-10-25: -35,075 linesWeek of 2026-11-01: +426,902 linesWeek of 2026-11-01: -207,221 linesWeek of 2026-11-08: +106,473 linesWeek of 2026-11-08: -28,029 linesNov 16, 2025Nov 8, 2026
+2.1M lines added, -1.2M removed over the last year.

Commits per week

last 52 weeks
3740Week of 2025-11-16: 66 commitsWeek of 2025-11-23: 54 commitsWeek of 2025-11-30: 125 commitsWeek of 2025-12-07: 177 commitsWeek of 2025-12-14: 152 commitsWeek of 2025-12-21: 201 commitsWeek of 2025-12-28: 374 commitsWeek of 2026-01-04: 286 commitsWeek of 2026-01-11: 265 commitsWeek of 2026-01-18: 174 commitsWeek of 2026-01-25: 214 commitsWeek of 2026-02-01: 231 commitsWeek of 2026-02-08: 55 commitsWeek of 2026-02-15: 17 commitsWeek of 2026-02-22: 49 commitsWeek of 2026-03-01: 122 commitsWeek of 2026-03-08: 81 commitsWeek of 2026-03-15: 107 commitsWeek of 2026-03-22: 65 commitsWeek of 2026-03-29: 55 commitsWeek of 2026-04-05: 40 commitsWeek of 2026-04-12: 140 commitsWeek of 2026-04-19: 163 commitsWeek of 2026-04-26: 124 commitsWeek of 2026-05-03: 106 commitsWeek of 2026-05-10: 59 commitsWeek of 2026-05-17: 133 commitsWeek of 2026-05-24: 95 commitsWeek of 2026-05-31: 43 commitsWeek of 2026-06-07: 105 commitsWeek of 2026-06-14: 123 commitsWeek of 2026-06-21: 97 commitsWeek of 2026-06-28: 47 commitsWeek of 2026-07-05: 83 commitsWeek of 2026-07-12: 67 commitsWeek of 2026-07-19: 117 commitsWeek of 2026-07-26: 192 commitsWeek of 2026-08-02: 240 commitsWeek of 2026-08-09: 236 commitsWeek of 2026-08-16: 201 commitsWeek of 2026-08-23: 121 commitsWeek of 2026-08-30: 126 commitsWeek of 2026-09-06: 62 commitsWeek of 2026-09-13: 76 commitsWeek of 2026-09-20: 104 commitsWeek of 2026-09-27: 159 commitsWeek of 2026-10-04: 133 commitsWeek of 2026-10-11: 144 commitsWeek of 2026-10-18: 116 commitsWeek of 2026-10-25: 223 commitsWeek of 2026-11-01: 323 commitsWeek of 2026-11-08: 245 commitsNov 16, 2025Nov 8, 2026
7.1K commits in the last 52 weeks.

When work happens

weekday and hour
SunMonTueWedThuFriSat036912151821Sun 0:00 — 60 commitsSun 1:00 — 37 commitsSun 2:00 — 30 commitsSun 3:00 — 12 commitsSun 4:00 — 8 commitsSun 5:00 — 1 commitsSun 6:00 — 4 commitsSun 7:00 — 3 commitsSun 8:00 — 11 commitsSun 9:00 — 17 commitsSun 10:00 — 14 commitsSun 11:00 — 31 commitsSun 12:00 — 32 commitsSun 13:00 — 37 commitsSun 14:00 — 27 commitsSun 15:00 — 12 commitsSun 16:00 — 23 commitsSun 17:00 — 35 commitsSun 18:00 — 38 commitsSun 19:00 — 34 commitsSun 20:00 — 55 commitsSun 21:00 — 57 commitsSun 22:00 — 66 commitsSun 23:00 — 66 commitsMon 0:00 — 93 commitsMon 1:00 — 46 commitsMon 2:00 — 45 commitsMon 3:00 — 19 commitsMon 4:00 — 7 commitsMon 5:00 — 1 commitsMon 6:00 — 6 commitsMon 7:00 — 8 commitsMon 8:00 — 25 commitsMon 9:00 — 33 commitsMon 10:00 — 67 commitsMon 11:00 — 40 commitsMon 12:00 — 52 commitsMon 13:00 — 48 commitsMon 14:00 — 55 commitsMon 15:00 — 74 commitsMon 16:00 — 87 commitsMon 17:00 — 71 commitsMon 18:00 — 55 commitsMon 19:00 — 43 commitsMon 20:00 — 62 commitsMon 21:00 — 69 commitsMon 22:00 — 66 commitsMon 23:00 — 72 commitsTue 0:00 — 98 commitsTue 1:00 — 58 commitsTue 2:00 — 19 commitsTue 3:00 — 19 commitsTue 4:00 — 14 commitsTue 5:00 — 4 commitsTue 6:00 — 11 commitsTue 7:00 — 11 commitsTue 8:00 — 24 commitsTue 9:00 — 48 commitsTue 10:00 — 34 commitsTue 11:00 — 41 commitsTue 12:00 — 69 commitsTue 13:00 — 78 commitsTue 14:00 — 75 commitsTue 15:00 — 79 commitsTue 16:00 — 53 commitsTue 17:00 — 67 commitsTue 18:00 — 55 commitsTue 19:00 — 36 commitsTue 20:00 — 63 commitsTue 21:00 — 66 commitsTue 22:00 — 52 commitsTue 23:00 — 106 commitsWed 0:00 — 61 commitsWed 1:00 — 46 commitsWed 2:00 — 40 commitsWed 3:00 — 10 commitsWed 4:00 — 8 commitsWed 5:00 — 4 commitsWed 6:00 — 5 commitsWed 7:00 — 12 commitsWed 8:00 — 17 commitsWed 9:00 — 56 commitsWed 10:00 — 61 commitsWed 11:00 — 65 commitsWed 12:00 — 90 commitsWed 13:00 — 73 commitsWed 14:00 — 104 commitsWed 15:00 — 71 commitsWed 16:00 — 72 commitsWed 17:00 — 74 commitsWed 18:00 — 75 commitsWed 19:00 — 27 commitsWed 20:00 — 65 commitsWed 21:00 — 74 commitsWed 22:00 — 76 commitsWed 23:00 — 100 commitsThu 0:00 — 62 commitsThu 1:00 — 47 commitsThu 2:00 — 39 commitsThu 3:00 — 28 commitsThu 4:00 — 19 commitsThu 5:00 — 15 commitsThu 6:00 — 6 commitsThu 7:00 — 28 commitsThu 8:00 — 17 commitsThu 9:00 — 37 commitsThu 10:00 — 62 commitsThu 11:00 — 66 commitsThu 12:00 — 79 commitsThu 13:00 — 62 commitsThu 14:00 — 49 commitsThu 15:00 — 60 commitsThu 16:00 — 49 commitsThu 17:00 — 46 commitsThu 18:00 — 59 commitsThu 19:00 — 40 commitsThu 20:00 — 99 commitsThu 21:00 — 97 commitsThu 22:00 — 101 commitsThu 23:00 — 118 commitsFri 0:00 — 109 commitsFri 1:00 — 52 commitsFri 2:00 — 29 commitsFri 3:00 — 25 commitsFri 4:00 — 22 commitsFri 5:00 — 18 commitsFri 6:00 — 10 commitsFri 7:00 — 29 commitsFri 8:00 — 16 commitsFri 9:00 — 41 commitsFri 10:00 — 68 commitsFri 11:00 — 65 commitsFri 12:00 — 64 commitsFri 13:00 — 44 commitsFri 14:00 — 31 commitsFri 15:00 — 36 commitsFri 16:00 — 60 commitsFri 17:00 — 56 commitsFri 18:00 — 37 commitsFri 19:00 — 43 commitsFri 20:00 — 53 commitsFri 21:00 — 63 commitsFri 22:00 — 77 commitsFri 23:00 — 87 commitsSat 0:00 — 58 commitsSat 1:00 — 65 commitsSat 2:00 — 25 commitsSat 3:00 — 28 commitsSat 4:00 — 16 commitsSat 5:00 — 9 commitsSat 6:00 — 8 commitsSat 7:00 — 6 commitsSat 8:00 — 14 commitsSat 9:00 — 18 commitsSat 10:00 — 12 commitsSat 11:00 — 19 commitsSat 12:00 — 30 commitsSat 13:00 — 39 commitsSat 14:00 — 44 commitsSat 15:00 — 21 commitsSat 16:00 — 49 commitsSat 17:00 — 21 commitsSat 18:00 — 23 commitsSat 19:00 — 34 commitsSat 20:00 — 39 commitsSat 21:00 — 71 commitsSat 22:00 — 71 commitsSat 23:00 — 74 commits
Commit volume by weekday and hour (UTC). Larger dots mean more commits.
DateListRankStars gained
Oct 4, 2026daily#7+408
Oct 3, 2026daily#7+408
Oct 2, 2026daily#6+294
Oct 1, 2026daily#6+294
Sep 16, 2026daily#10+437
Sep 15, 2026daily#10+437
Sep 1, 2026monthly#18+18,925
Aug 31, 2026monthly#18+18,925
Aug 30, 2026monthly#18+19,239
Aug 29, 2026monthly#17+19,558
Aug 28, 2026monthly#17+19,801
Aug 27, 2026monthly#13+20,131
Aug 26, 2026monthly#13+20,131
Aug 25, 2026monthly#13+19,957
Aug 24, 2026monthly#13+20,046
  • morluto/rea

    Reverse engineer anything with agents, from app behavior down to native binaries.

    471.6K stars · TypeScript

  • freeCodeCamp/freeCodeCamp

    freeCodeCamp.org's open-source codebase and curriculum. Learn math, programming, and computer science for free.

    459.4K stars · TypeScript

  • openclaw/openclaw

    The AI that really does things. Any OS. Any Platform. The lobster way. 🦞

    394.9K stars · TypeScript

  • anomalyco/opencode

    The open source coding agent.

    228.3K stars · TypeScript

  • n8n-io/n8n

    Fair-code workflow automation platform with native AI capabilities. Combine visual building with custom code, self-host or cloud, 400+ integrations.

    211.6K stars · TypeScript

  • firecrawl/firecrawl

    Knowledge infrastructure to make your agents smarter. Search, scrape and access 550+ data providers through one API.

    205.3K stars · TypeScript