Pi Extensions

A la carte add-ons that give the Pi Coding Agent LSP, plan mode, browser control, subagents and status footers.

Stars
★ 631
Last updated
2mo ago
FARS reviewed
Sep 29, 2026
License
MIT
Primary language
TypeScript

At a glance

How it runs
CLIAgent plugin / skillLibrary / SDK
Works with
Platform-specificCodex (Partial support)
Cost
Free software; you pay for model usage
Setup effort
Medium · a few setup steps
You'll need
Node.jsnpmPi Coding Agent CLI (pi)Shell / CLINetwork accessLocal filesystem
Typical use
Developers who code in Pi daily and want model, Git state, context usage, tokens, cost and time visible in the footer via pi-statusline or pi-starship.
Not a fit if
  • Teams on Claude Code or Codex CLI that will not install the Pi runtime
  • Teams that cannot review third-party code before granting full user permissions
  • Air-gapped setups that cannot pull extensions from npm
Maintenance
Commits in the last 6 monthslast commit 2026-09-26

What does this agent do, and when should you use it?

pi-extensions is a monorepo of independently installable extensions for the Pi Coding Agent (pi.dev), published as npm packages under the @narumitw scope. Each package is a self-contained TypeScript module with its own package.json, README, LICENSE and src/index.ts entrypoint, loaded by the Pi runtime either permanently (pi install npm:@narumitw/pi-goal) or for a single run (pi -e npm:@narumitw/pi-statusline). Coverage splits into coding (pi-lsp language-server diagnostics, pi-plan-mode read-only /plan, pi-subagents background jobs, pi-codex-compact), research (pi-chrome-devtools over CDP, pi-firecrawl), workflow (pi-goal, pi-progress, pi-worktree, pi-notes), local collaboration (pi-chat, pi-fleet, pi-herdr), accounts and data (pi-accounts, pi-sync, pi-usage, pi-recall) and status/observability (pi-starship, pi-statusline, pi-stamp, pi-analytics, pi-langfuse). A reusable library, @narumitw/pi-tui-kit, packages navigation helpers and declarative menu flows for extension authors. Extensions execute inside Pi with the user's full permissions, the repository root manifest can install every package at once, and resource filters can narrow loading to specific src/index.ts entrypoints. Packages version and publish independently through Changesets, and the repository is MIT licensed.

The repository groups extensions by job, and each one registers slash commands, model tools or TUI widgets inside a Pi session. pi-lsp starts and queries language servers and returns diagnostics and code actions to the model; pi-plan-mode runs a read-only /plan collaboration loop; pi-subagents spawns bounded background Pi jobs and relays messages through an authenticated main-agent channel; pi-codex-compact calls OpenAI Codex Remote Compaction V2 to persist and replay bounded opaque checkpoints, falling back to Pi-native compaction; pi-context-management offers experimental summary-free context rollover with branch-local notes. pi-chrome-devtools drives a browser over the Chrome DevTools Protocol to list tabs, navigate, evaluate JavaScript and capture screenshots, while pi-firecrawl scrapes pages, crawls sites, discovers URLs and searches the web through Firecrawl. pi-file-context browses project files, previews text, selects exact lines or Git diff hunks and attaches immutable snapshots with Git provenance to the next prompt. pi-sync pushes allowlisted settings and optional sessions through Cloudflare R2 or S3-compatible storage; pi-github-pr reads current-branch checks, reviews and comment counts through the authenticated gh CLI; pi-usage renders Codex subscription limits or OpenRouter API spend at /usage. Output surfaces as widgets above the editor, entries in the transcript, or session state.

  1. Developers who code in Pi daily and want model, Git state, context usage, tokens, cost and time visible in the footer via pi-statusline or pi-starship.
  2. Engineers who want to agree on an approach first, using pi-plan-mode's read-only /plan before any implementation starts.
  3. Frontend or integration debugging where pi-chrome-devtools inspects tabs, evaluates scripts and screenshots pages without leaving the terminal.
  4. People juggling multiple subscriptions: pi-accounts switches between named OAuth accounts and pi-sync keeps allowlisted settings on R2/S3 across devices.
  5. Long-running tasks that need visible progress: pi-goal keeps the agent working until a goal is verified, pi-progress shows branch-aware multi-step status above the editor.
  6. Cost-conscious users running pi-cache-hit-monitor or pi-analytics to see prompt-cache reuse and local, content-free call metrics.

Key setup facts

Pulled from the install and usage notes below. The project README has the current values.

Install / run
  • npm install @narumitw/pi-tui-kit
Config files
~/.pi/agent/settings.json

How do you install or deploy this agent?

Prerequisites: the Pi Coding Agent installed so the pi command exists, plus Node.js and npm. The README documents how to install extensions but not how to install Pi itself, so that step has to come from pi.dev's own docs.

Install one extension permanently:

pi install npm:@narumitw/pi-goal

Try one without adding it permanently:

pi -e npm:@narumitw/pi-statusline

Combine several extensions in one run:

pi -e npm:@narumitw/pi-goal \
  -e npm:@narumitw/pi-statusline \
  -e npm:@narumitw/pi-lsp

Install the whole repository from GitHub (the root manifest enables every extension under packages/):

pi install git:github.com/narumiruna/pi-extensions

To load only a few of them, replace the installed package entry in ~/.pi/agent/settings.json with a resource filter; paths must point at src/index.ts:

{
  "packages": [
    {
      "source": "git:github.com/narumiruna/pi-extensions",
      "extensions": [
        "packages/pi-accounts/src/index.ts",
        "packages/pi-usage/src/index.ts"
      ]
    }
  ]
}

Extension authors who want the reusable UI library:

npm install @narumitw/pi-tui-kit

Local development, or loading a package from a checkout (build-backed packages must be built first):

npm install
npm test
npm run check
npm --workspace @narumitw/pi-goal run build --if-present
pi -e ./packages/pi-goal
npm run package:pack -- goal

How do you use this agent?

Once installed, an extension shows up inside a Pi session as slash commands, model tools or a footer widget; restart Pi or run /reload after changing installation or filters.

Example of loading an extension for one session:

pi -e npm:@narumitw/pi-statusline

Commands you type in the session:

/codex-compact      # manual compaction controls from pi-codex-compact
/file-context       # or Ctrl+Shift+X: attach selected lines or Git diff hunks
/plan               # read-only planning collaboration from pi-plan-mode
/btw                # pi-btw side question kept out of the main context
/accounts           # switch named OAuth accounts with pi-accounts
/usage              # Codex limits or OpenRouter spend via pi-usage
/analytics          # local call and tool metrics from pi-analytics
/tool               # browse every configured tool and its parameter schema
/reload             # reload after changing installs or filters

Caveats: pi-starship and pi-statusline are both footer extensions and must not be enabled together; pi-subagents is currently install-from-source only; pi-plan-mode and pi-goal can coexist through their anonymous cooperative workflow mutex.

Safety boundaries, hardening & integrations

Operational blast radius, source-verified safety controls, and first-run hardening steps before connecting this agent to real workspaces.

Declared capability surface (blast radius)

Local shell command execution

Can run terminal commands; pair with approval gates or container/OS sandboxing.

Local filesystem read/write

Modifies local files; work on a clean Git branch or dedicated worktree.

Outbound network access

Makes outbound requests; verify telemetry settings and model data routing on private repos.

What are this agent's strengths and limitations?

Pros
  • Genuinely modular: dozens of independently versioned packages, so adding one capability is a single pi install command rather than adopting a whole repo.
  • Concrete integrations rather than vague features: language servers, Chrome DevTools Protocol, Firecrawl, the gh CLI, S3/R2, Langfuse and Yahoo Finance each have a dedicated extension.
  • Auditable release engineering: Changesets drives per-package versions, publishing runs with npm provenance and creates package-scoped tags and GitHub releases, and npm test runs typechecking plus Vitest suites.
  • Authors get a shared UI layer: @narumitw/pi-tui-kit supplies navigation and declarative action, detail, settings and multi-select flows, and new manager menus are expected to build on it.
  • GitHub installs stay scoped: the root manifest can install everything, but resource filters let you load only chosen packages/*/src/index.ts entrypoints.
Limitations
  • Hard dependency on Pi Coding Agent: everything is loaded by the pi runtime and cannot be dropped into Claude Code, Codex CLI or another agent.
  • Full user permissions: extensions run as you do, and the README explicitly asks you to review code before installing from any third party, which implies a review process.
  • Uneven readiness: pi-subagents is install-from-source only, and the three TypeSafe AI packages are marked experimental and may change.
  • Mutual exclusions and migration work: pi-starship and pi-statusline cannot both be enabled, and the deprecated pi-workflow has no atomic Plan-to-Goal replacement.
  • Docs leave gaps: no instructions for installing Pi itself, no stated minimum Node.js version, and no consolidated list of the credentials each extension needs.

How does this agent compare with similar options?

Most alternatives are internal: pi-lsp replaces the deprecated pi-biome-lsp and pi-python-lsp, pi-accounts replaces pi-codex-accounts, pi-usage replaces pi-codex-usage, and pi-retry was retired in favour of Pi's built-in provider retry and timeout behavior. For the footer, pi-starship offers a native Starship-style TOML configuration with no Starship binary dependency while pi-statusline uses presets or JSON, and the README says to pick exactly one. pi-workflow was split into pi-plan-mode and pi-goal, but there is no atomic Plan-to-Goal handoff to migrate to.

Key facts side by side with the most closely related agents.

Agent Source review Form / cost Stars Updated Language Full support on
Pi Extensions This agent 52 · Major gaps CLIFree + model costs ★ 631 2mo ago TypeScript —
Pi Tool Display 70 · Some gaps Agent plugin / skillFree ★ 310 4mo ago TypeScript —
senpi 52 · Major gaps CLIFree + model costs ★ 527 today TypeScript OpenAI API · Claude API
Pi MCP Context Adapter 69 · Some gaps Agent plugin / skillFree ★ 1.7k 4d ago TypeScript —

How does FollowAgents rate this agent?

FollowAgents source review · FARS-2.1
Major gaps
52/ 100 5-point scale 2.6 / 5
Trust 11/29
Reliability 8/14
Adaptability 9/18
Convention 14/18
Effectiveness 7/13
Verifiability 3/8
Why each dimension lost points
Trust11 / 29 · 1.9/5

The README honestly warns that extensions run with full user permissions and advises review before installing, which is a candid risk disclosure, but the repository provides no least-privilege mechanism, sandbox, or per-extension permission manifest; user confirmation appears only in the deprecated pi-cbmem tests (destructive tools require confirmation) and not in active packages; data-flow transparency is limited to one-line descriptions for pi-sync/pi-langfuse/pi-analytics with no data-flow diagram or field-level detail; sensitive data handling (OAuth accounts, dotenv credentials) is undocumented; dependency security shows positive signals via overrides and an allowScripts allowlist but no audit or vulnerability-scanning evidence; external effects and rollback have no documented mechanism; source attribution is solid with a complete MIT license and copyright notice.

Reliability8 / 14 · 2.9/5

The README and package.json pi.extensions list are broadly consistent, CI exists with contents: read permissions, and publishing uses changesets with provenance, so internal consistency is fair; however dependency availability cannot be statically verified, and many packages depend on cutting-edge versions (@earendil-works/pi-* 0.87.1, Node 26, TypeScript 7) with no compatibility notes; failure messages are evidenced only in deprecated tests (e.g., /reload reconnect guidance, control-character sanitization), with no evidence for active packages.

Adaptability9 / 18 · 2.5/5

The README categorizes extensions clearly by scenario (coding, browser, accounts, observability), giving a clear audience; capability boundaries are stated (pi-starship and pi-statusline are mutually exclusive, libraries are not standalone extensions, TypeSafe is experimental); however trigger precision (commands, keybindings, model-tool triggers) is only mentioned in passing without systematic documentation; environment fit mentions Node and the Pi runtime but not OS differences (the caffeinate D-Bus smoke test hints at platform variance).

Convention14 / 18 · 3.9/5

Information architecture is excellent: categorized tables, quick start, advanced install, development workflow, release process, repository structure, and a deprecation list; install notes are thorough with npm and git paths plus resource-filter examples; naming is stable (@narumitw scope, pi- prefix); examples are plentiful but there is no FAQ; known limitations are partially covered (experimental, deprecated, mutually exclusive); the MIT license is complete; versioning and changelog are managed via changesets but no CHANGELOG file is present in the repo; maintenance responsibility is not explicitly declared (no CONTRIBUTING, SECURITY, or maintainer commitment), and publisher identity is unverified.

Effectiveness7 / 13 · 2.7/5

Output usability is moderate: extensions target the terminal TUI and the README describes concrete purposes, but there are no screenshots or output samples; marginal value is diluted across many extensions, leaving per-extension value to the reader; on cost-benefit, the README admits pi-cbmem was deprecated for insufficient benefit, showing some cost awareness, but overall performance and resource overhead are undocumented.

Verifiability3 / 8 · 1.9/5

Claims in the README (tests, checks, release process) are corroborated by package.json scripts and CI workflows, but there is no independent third-party verification; cross-source corroboration is limited to internal repository files; fact-inference separation is fair, with experimental and deprecated statuses clearly labeled, though unverified claims are not explicitly flagged.

Risks and how to mitigate them
  • The README explicitly states extensions run with full user permissions; review source before installing any third-party extension.
  • Extensions such as pi-sync, pi-langfuse, and pi-analytics involve external data transfer, but no data-flow or field-level documentation is provided; confirm what is transmitted before use.
  • pi-accounts and pi-dotenv involve OAuth credentials and dotenv loading, with no dedicated sensitive-data documentation.
  • Dependency versions are very cutting-edge (Node 26, TypeScript 7, @earendil-works/pi-* 0.87.1); compatibility and availability are not statically verified.
  • Publisher identity is unverified, and maintenance responsibility and security-response channels are not declared.
  • No CHANGELOG file exists in the repository; version history relies on the changesets workflow and is not easily traceable.
Evidence confidence: Low Reviewed Sep 29, 2026 Reviewed revision 9058c15011ed
See the full review method →
Maintain this project? Add the FARS badge to your README

The badge shows the current review score and verdict and links back to this page. It refreshes about once an hour after a re-review.

FARS

[![FARS review](https://followagents.com/badge/pi-extensions.svg)](https://followagents.com/en/agents/pi-extensions)
<a href="https://followagents.com/en/agents/pi-extensions"><img src="https://followagents.com/badge/pi-extensions.svg" alt="FARS review"></a>

FAQ

Do I have to install every extension?
No. Each package has its own npm name and version, and the README is built around installing only what you need. Only the GitHub repository install enables everything under packages/ at once; in that case the extensions filter in settings.json trims it down to specific src/index.ts entrypoints.
Can these extensions run inside Claude Code or the Codex CLI?
No. They are extensions for the Pi Coding Agent and are loaded by the pi runtime via pi install or pi -e. Codex-related packages such as pi-codex-compact and pi-usage call Codex capabilities from within Pi; they do not make the extensions runnable on the Codex CLI.
What credentials or external services will I need?
It depends on what you install: pi-firecrawl needs Firecrawl, pi-sync needs Cloudflare R2 or S3-compatible storage, pi-github-pr relies on an authenticated gh CLI, pi-langfuse needs Langfuse, and pi-accounts manages OAuth accounts for OpenAI Codex, Anthropic, GitHub Copilot, Kimi For Coding, OpenRouter, Radius and xAI. pi-dotenv loads one explicit dotenv file early enough for provider credential discovery. The root README does not enumerate environment variables; check each package README.
What is the security model?
Extensions run with your full user permissions, and the README flags this prominently, asking you to review an extension before installing it from any third party. In practice that means treating every package as code that can touch your filesystem, network and shell, and preferring published versions with npm provenance.
Can pi-starship and pi-statusline be enabled together?
No. The README says to choose either one, never both. They both rewrite Pi's footer: pi-starship uses a native Starship-style TOML config with Pi-specific modules, while pi-statusline renders model, tools, Git state, context usage, tokens, cost and time from a preset or JSON configuration.
Is Pi Extensions free?
The software is free, but Pi Extensions calls an AI model, and you pay that model provider for usage (or run a local model).
Is Pi Extensions open source?
Yes. The source code is on GitHub (narumiruna/pi-extensions) under the MIT licence.
Is Pi Extensions still maintained?
Development has slowed: the latest commit on GitHub is from 2026-09-26, within the last six months but not the last 30 days.
Who makes Pi Extensions?
Pi Extensions is published on GitHub by the account narumiruna. FollowAgents has not verified which person or company is behind that account.
Was this page helpful?
View on GitHub ↗ Install ↓

Compare agents like this one

The same FARS review applied across the shortlist this agent qualifies for.

Related concepts