LListicle

Pi Extensions (2026): Best Add-ons for the Pi Coding Agent

By pickwiseUpdated 188 views

The best Pi extensions for subagents, web search, plan mode and permissions, picked from the setups developers publish, each with its pi install command.

What we track: Downloads last month · GitHub stars · checked October 24
Downloads last month:
Installs from npm in the last 30 days. Automated installs count too, so treat it as a rough sign of use.
GitHub stars:
How many people starred the project on GitHub. Hype and marketing move it as much as quality.

These numbers inform the order but don’t set it: an editor ranks the picks, weighing them against what people who use them say, since stars and downloads also reflect hype and marketing.

Downloads last month
GitHub stars

Showing 17 of 17

  1. Pi ships without sub-agents, and this is the extension most people add to get them back. It comes with seven ready-made child agents, among them a scout, a reviewer and an oracle for second opinions, and you call them in plain language: "use reviewer to review this diff". The built-in researcher needs pi-web-access installed too, and Kay Rhodes warns it likely clashes with pi-agent-flow.

    Install
    pi install npm:pi-subagents
    License
    MIT
    Maintainer
    nicobailon
    Works with
    Pi only
    Paste into Terminal to install
    pi install npm:pi-subagents
  2. Pi can't search the web until you install something like this. It adds web search, page and PDF extraction and YouTube video understanding, and it clones GitHub links locally so the agent reads real files instead of rendered HTML. It works with no API key through Exa, but Kay Rhodes points out that Exa is free only up to 1,000 searches a month, so she gave it a Gemini key instead.

    Install
    pi install npm:pi-web-access
    License
    MIT
    Maintainer
    nicobailon
    Works with
    Pi; also runs as an MCP server for other agents
    Paste into Terminal to install
    pi install npm:pi-web-access
  3. The most downloaded MCP package for Pi. It puts every MCP server behind one proxy tool of about 200 tokens and starts a server only when called. Pi has had MCP of its own since version 0.99, so this is an upgrade, not a requirement: it stops idle servers after ten minutes and keeps sign-in tokens in your OS keychain. Version 6.0 dropped its own script tool for Pi's codemode. Installing it turns Pi's built-in MCP off.

    Install
    pi install npm:pi-mcp-adapter
    License
    MIT
    Maintainer
    nicobailon
    Works with
    Pi only
    Paste into Terminal to install
    pi install npm:pi-mcp-adapter
  4. When the model would otherwise guess, Postgres or SQLite, rewrite or patch, this makes it ask. Questions arrive as a tabbed dialog with single and multiple choice, previews and a review step before the answers go back. It needs no API key and makes no extra model calls. It is one piece of the larger rpiv suite but installs alone.

    Install
    pi install npm:@juicesharp/rpiv-ask-user-question
    License
    MIT
    Maintainer
    juicesharp
    Works with
    Pi only
    Paste into Terminal to install
    pi install npm:@juicesharp/rpiv-ask-user-question
  5. Pi has no plan mode. Plannotator adds one, where destructive commands are blocked and writes are limited to the plan file, and then opens the plan in your browser so you can highlight, comment and send the notes back to the agent. It reviews diffs the same way. It isn't Pi-only: the same tool plugs into Claude Code, Codex, Gemini CLI and OpenCode.

    Install
    pi install npm:@plannotator/pi-extension
    License
    MIT or Apache-2.0
    Maintainer
    backnotprop
    Works with
    Pi, Claude Code, Codex, Gemini CLI, OpenCode and others
    Paste into Terminal to install
    pi install npm:@plannotator/pi-extension
  6. Out of the box, Pi lets the agent run anything. This adds allow, ask and deny rules for tools, bash commands, MCP servers and skills, and blocks reads of files like .env and ~/.ssh across every tool. Ayush Pande of XDA set rm, mv, chown and chmod to ask, so his local model needs his approval first. It has shipped 41 major versions since May 2026, so pin one, and configs from MasuRii's original don't carry over.

    Install
    pi install npm:@gotgenes/pi-permission-system
    License
    MIT
    Maintainer
    gotgenes
    Works with
    Pi only
    Paste into Terminal to install
    pi install npm:@gotgenes/pi-permission-system
  7. A second take on sub-agents, built to feel like Claude Code's: the model gets an Agent tool, runs agents in parallel in the background, and you watch them in a live widget and a fleet view and define your own agent types. gregwebs on Hacker News uses it so one workflow skill can hand steps to subagents on different models. It needs Pi 1.1 or newer and overlaps with pi-subagents, so install one of the two.

    Install
    pi install npm:@tintinweb/pi-subagents
    License
    MIT
    Maintainer
    tintinweb
    Works with
    Pi 1.1.0 or newer
    Paste into Terminal to install
    pi install npm:@tintinweb/pi-subagents
  8. Every time Pi writes or edits a file, pi-lens runs the language server, linters and type checkers and puts the results into the tool output, so the agent sees its own mistakes and fixes them in the same turn. It can also autofix with tools such as Biome, Ruff and ESLint. It does a lot on every edit; turn it off for a session with pi --no-lens.

    Install
    pi install npm:pi-lens
    License
    MIT
    Maintainer
    apmantza
    Works with
    Pi only
    Paste into Terminal to install
    pi install npm:pi-lens
  9. A todo list the model keeps for itself, pinned above the editor so you can always see what it thinks it is working on. The list survives /reload and conversation compaction, and tasks can block one another. Composio's reviewer calls it the replacement for Claude Code's task tracking.

    Install
    pi install npm:@juicesharp/rpiv-todo
    License
    MIT
    Maintainer
    juicesharp
    Works with
    Pi only
    Paste into Terminal to install
    pi install npm:@juicesharp/rpiv-todo
  10. Long sessions fill the context window with old tool output. context-mode runs bulky commands in a sandbox and passes back only a summary, and it logs edits and decisions to SQLite so the agent can pick up after compaction. The 98% saving is the maintainer's own figure, and its license is Elastic 2.0, not open source. It hasn't had a release since June 2026, before Pi 1.0, and we couldn't confirm it works on 1.x.

    Install
    pi install npm:context-mode
    License
    Elastic 2.0
    Maintainer
    mksglu
    Works with
    Pi, Claude Code, Cursor, Codex and others
    Paste into Terminal to install
    pi install npm:context-mode
  11. Lets you use a Claude subscription inside Pi by routing the model through Claude Code's Agent SDK, with every tool call still shown in Pi. It can also add an AskClaude tool, so a cheaper model can hand a hard question to Claude. The catch is billing: the bridge stops a turn when another extension has changed Pi's system prompt in a way Anthropic may bill as Extra Usage, so prompt-changing extensions can block it.

    Install
    pi install npm:pi-claude-bridge
    License
    MIT
    Maintainer
    elidickinson
    Works with
    Pi 0.86.1 or newer
    Paste into Terminal to install
    pi install npm:pi-claude-bridge
  12. Give it something you can measure, such as test runtime, bundle size or a Lighthouse score, and it loops: try a change, benchmark it, keep it if the number improved, revert if not. A live widget and dashboard show each experiment. It was inspired by Karpathy's autoresearch. It only helps when the goal has a number attached.

    Install
    pi install npm:pi-autoresearch
    License
    MIT
    Maintainer
    davebcn87
    Works with
    Pi only
    Paste into Terminal to install
    pi install npm:pi-autoresearch
  13. Adds /btw, a side conversation you can open while the main agent is still working. The side thread is a real Pi session with its own tools and stays out of the main agent's context unless you choose to inject it or a summary of it. /btw:ask gives you a read-only version. There is a second /btw extension in the rpiv suite, so check which one you are installing.

    Install
    pi install npm:pi-btw
    License
    MIT
    Maintainer
    dbachelder
    Works with
    Pi 0.85.1 and newer
    Paste into Terminal to install
    pi install npm:pi-btw
  14. One command, /simplify. It finds the files you've changed, using git diff, and has the agent review them for clarity and redundancy, following the conventions in your AGENTS.md, without changing what the code does. LazyPi ships it in its core set. It hasn't had a release since July 2026, before Pi 1.0, and we couldn't confirm it works on 1.x. A different package, @geminixiang/pi-simplify, also adds /simplify, so install this one by its exact name.

    Install
    pi install npm:pi-simplify
    License
    MIT
    Maintainer
    MattDevy
    Works with
    Pi only
    Paste into Terminal to install
    pi install npm:pi-simplify
  15. Where pi-permission-system has you write every rule by hand, this one starts with a guided setup. It then guards .env files and keys, asks before Pi touches paths outside the project and stops risky shell commands. A BestHub write-up calls it the most complete of Pi's guards, but says to spend ten minutes reviewing its defaults. It overlaps with pi-permission-system, so most people need only one.

    • Downloads last month 4,875
    • GitHub stars 301
    Install
    pi install npm:@aliou/pi-guardrails
    License
    MIT
    Maintainer
    aliou
    Works with
    Pi only
    Paste into Terminal to install
    pi install npm:@aliou/pi-guardrails
  16. Permission rules only stop the commands someone thought of. pi-landstrip runs Pi's bash in an operating-system sandbox (Landlock on Linux, Seatbelt on macOS, AppContainer on Windows): no network unless you allow a domain, and writes only inside the project. mindplay-dk singles out its clear overview of active permissions. The catch is reads: the shell can still read files across your machine until you set shell reads to policy, and installs fail until you allow their domains.

    Install
    pi install npm:pi-landstrip
    License
    Apache-2.0
    Maintainer
    jarkkojs
    Works with
    Pi 0.82.0 or newer
    Paste into Terminal to install
    pi install npm:pi-landstrip

How to choose

Pi is deliberately bare: no sub-agents, no plan mode, no permission prompts. You add what you miss with one command, pi install npm:<package>. If you are starting out, three cover most of the gap with Claude Code: pi-subagents for delegation, pi-web-access for search, and rpiv-ask-user-question so the model asks before it guesses. Add Plannotator if you want plan mode, and pi-permission-system or pi-landstrip if you don't want the agent free to run anything.

Three things have changed that older guides miss. Pi 1.0 shipped on October 1, 2026, and every pick here has had a release since except context-mode and pi-simplify, which we couldn't confirm on 1.x. Pi has had MCP support built in since version 0.99, so pi-mcp-adapter is now an upgrade and no longer a requirement. And several popular names have lookalikes: npm has at least four other packages named pi-mcp-adapter under other people's scopes, and more than one /btw and /simplify extension, so install by the exact name shown here.

Extensions run with the same access to your machine that Pi has. Pi's catalog lists more than 5,000 packages, so read the source of anything that touches your shell or credentials, and pin versions you depend on.

Ordered by how many independent users and reviewers recommend each one (Kay Rhodes's setup guide, Composio's tested top ten, XDA's hands-on, developers on Hacker News and Pi's own GitHub discussions), then by npm downloads and GitHub stars. Downloads count automated installs too, so treat them as a rough signal.

Numbers checked October 24, 2026.

Pi extensions vs skills, prompt templates and packages

A Pi extension is TypeScript that runs inside Pi and adds behavior: a tool the model can call, a slash command, a check before risky commands, a statusline. A skill is instructions in a SKILL.md file, sometimes with scripts, that Pi loads only when a task calls for it. A prompt template is a Markdown file that becomes a reusable / command. A package bundles any of these, plus themes, and pi install handles them all the same way.

Pi's own catalog at pi.dev/packages lists more than 5,000 packages published to npm, sorted by downloads, with a filter for extensions, skills, prompt templates and themes.

If you'd rather not pick one by one, LazyPi installs a hand-picked set, including pi-subagents, pi-web-access, pi-simplify and Plannotator plus dozens of skills and themes, with npx @robzolkos/lazypi, and lets you choose from it. oh-my-pi goes further: it is a fork of Pi with much more built in, run as omp, so check an extension's README before assuming it works there. Pi and oh-my-pi are both on our list of OpenCode alternatives. Plannotator and context-mode also run in Claude Code, where the same kind of add-on is a Claude Code plugin.

Are Pi extensions safe? Permissions and sandboxing

An extension runs inside Pi with your own user's permissions. Pi's docs say it can see prompts, tool calls, files, credentials and session history, and a package can also carry skills that tell the model to run programs. Every package page on pi.dev warns that packages can execute code, so read the source of anything you install and pin the versions you rely on (pi install npm:<package>@<version>) so an update can't change them unnoticed.

Pi itself has no permission prompts, and two kinds of extension add protection. pi-permission-system and pi-guardrails are rule sets: they decide, call by call, whether a tool or command is allowed, asked about or denied, and they block reads of files like .env. pi-landstrip is a sandbox: the operating system stops Pi's shell from writing outside the project or reaching domains you haven't allowed, whatever the command. Rules catch what you predicted; the sandbox still holds when a rule misses, so the two work together.

Project packages, the ones a repo lists in .pi/settings.json, load only after you trust the project, so read that file before trusting a repo you just cloned.

How to install

Every pick installs with one command in your terminal: pi install npm:<package>, for example pi install npm:pi-subagents. Pi also takes git sources (pi install git:github.com/<owner>/<repo>@<tag>) and local folders. To try one for a single run without keeping it, use pi -e npm:<package>.

An install is personal by default: Pi records it in ~/.pi/agent/settings.json and loads it in every project. Add -l (pi install -l npm:<package>) to write it to the project's .pi/settings.json instead, so it travels with the repo. Pi loads project packages only after you trust the project. A version in the name, such as npm:pi-lens@4.4.3, pins it.

pi list shows what's installed, pi update --extensions updates every package (a bare pi update updates Pi itself) and pi remove npm:<package> uninstalls one. If Pi is already open, run /reload or restart it. Packages run with your full user permissions, so read the source first.

More lists like this