r/PiCodingAgent • • May 19 '26

Discussion Pi rust port

19 Upvotes

Has anyone tried the pi rust port https://github.com/Dicklesworthstone/pi_agent_rust ?
It’s supposed to be an official port of pi to rust.
I can see it has some benefits in extension execution and shell execution and some others. Why nobody is talking about this?


r/PiCodingAgent • • May 11 '26

Question How are you handling Web Searches? I can't migrate away from Claude without it

19 Upvotes

Most of my time is spent on doing web searches and comparisons.

Claude has a WebSearch tool that runs a "Google" like web search and returns results with the source links.

I usually ask for:

  • How does tool x compare to y?

  • Are there any blog posts or articles talking about X?

  • Can you find A in github/stackoverflow/reddit?

How are you doing web searches?

Are there free options?

Which plugins/extensions do you recommend?

EDIT: Given that 2026 is already full of supply chain attacks...

I followed the suggestions and built my own extension with 4 different backends.

My extension queries 2 backends in parallel and gets 6 different results (3 from each), falls back to the other if rate-limited or exhausted, then pipes the response to Defuddle and exposes markdown to the LLM.

I'm quite happy, thanks for all the comments so far!

Great community!! 💪🏻


r/PiCodingAgent • • Apr 20 '26

Plugin Built a little pi extension — Dynamic Island at the top of your screen (only macos for now)

19 Upvotes

Built a little pi extension this weekend — pi-island pins a status capsule to the top of your macOS screen showing exactly what pi is doing: reading, editing, running bash, elapsed time, context %. Runs pi in multiple terminals? Each session gets its own row, all stacked into one continuous capsule.

Install:

pi install npm:pi-island

Slash commands:

  • /island — toggle the capsule

  • /island2 — notch-wrap variant for MacBooks with a camera notch (beta)

Uses a native Swift WebView host with `.statusBar` window level so the capsule sits above the menu bar and merges with the notch area.

Links:

- GitHub: https://github.com/phun333/pi-island
- npm: https://www.npmjs.com/package/pi-island

First public release, feedback welcome


r/PiCodingAgent • • 4d ago

Question Stable subagents extension?

18 Upvotes

What's your best option for subagents in Pi?

I used to use 'pi-subagents' https://pi.dev/packages/pi-subagents but it's giving me some trouble. Probably becuase of my herdr-setup where I had an extension that also creates a new herdr-tab for all subagents.

Any extensions with good herdr integration, or is it time to create one?

Ps. sorry for my other thread earlier - got a bit fed up with all changes and every update breaking something!


r/PiCodingAgent • • 28d ago

Plugin pi-mcp-events: MCP Events for Pi (polling, streaming, webhooks), events arrive as follow-up turns

18 Upvotes

Hey! Sharing an extension my colleague Daniel Shapiro built at Sanity (disclosure: I work there too): pi-mcp-events, a client for the draft MCP Events spec (SEP-3415).

MCP servers can now announce events, like "this document changed" or "a storm warning was raised", and Pi can subscribe to them instead of polling with tool calls. Events arrive in the background while Pi works, get batched, and come in as a follow-up turn once Pi is idle. It's pretty cool, and it feels like it opens up a lot of new use cases.

What the extension does:

→ Supports all three delivery modes from the draft: polling, streaming, and signed webhooks

→ /mcp-events status shows each watch, its transport, and its state, so it's "less hard" to debug

→ A local inbox, so events aren't lost while Pi is busy (in memory only with --no-session)

→ Event payloads are marked as untrusted data, and Pi's normal permissions still apply

→ Every event is also emitted on Pi's event bus (mcp-events:observation), so other extensions can consume or filter them

    pi install npm:@sanity-labs/pi-mcp-events

The repo includes a small "weather station" MCP server that emits readings and storm alerts, so you can try it without building your own server first.

We built this because we wanted an agent that notices when a human starts editing the same document and waits for them, which needs events within seconds. Pi made that easy to extend. The write-up covers the latency numbers and the gaps we found in the spec.

If you'd rather have the model call events as tools, check out richardanaya's pi-mcp-events, which takes that approach.

Repo (give it a star if you're into this): https://github.com/sanity-labs/pi-mcp-events

Feedback very welcome, especially on how a harness should decide when an event deserves a turn!


r/PiCodingAgent • • Oct 08 '26

Discussion OMP/PI - What are your role models and fallbacks?

Post image
18 Upvotes

Hi,

Lets share our roles/models on our pi/omp agents? I'm always exchanging and testing things, so take a look at our colleagues would help a lot! What are your thoughts about my "team"? Any suggestions are welcome.


r/PiCodingAgent • • Oct 01 '26

Question Does pi 1.0 support Anthropic Oauth via sub now?

18 Upvotes

I saw this in the official pi.dev: “Anthropic, OpenAI, Google, Azure, Bedrock, Mistral, Groq, Cerebras, xAI, Hugging Face, Kimi For Coding, MiniMax, NVIDIA, OpenRouter, Ollama, and more. Authenticate via API keys or OAuth.”


r/PiCodingAgent • • Sep 20 '26

Plugin A (Jev) Pi guard that checks risky shell commands before they run

Thumbnail tannermidd.github.io
18 Upvotes

I know...more Jev talk. Sorry if you are already tired of hearing about it. I mentioned this in a comment a couple days ago so I will keep it short hah.

It is called specpi-jev-guard. It sits in front of bash, powershell, write and edit, and checks calls before Pi runs them. I built it because destructive commands are the worst risk of letting an agent work in your terminal. One bad rm or curl piped to shell is a bad time waiting to happen.

Local rules block the obvious stuff instantly with no network. Root and home wipes, mkfs, fork bombs, raw disk writes, curl piped to shell.

The rest goes to Jev, which scores danger 0 to 1. High blocks, middle asks you, low runs. If there is no key, no network, or a bad answer, it blocks. It does not fail open.

Needs OpenRouter/TypeSafe to do the scoring, perhaps one day soon we can run hyper-tuned classifiers for this stuff locally.

I don't have TypeSafe access, so all testing has been with OpenRouter.

Feedback welcome!

Links:
Base Repo: https://github.com/TannerMidd/specpi-jev-guard
Evaluations: Devious Tests · specpi-jev-guard
Base harness: https://github.com/TannerMidd/SpecPi


r/PiCodingAgent • • Aug 31 '26

Question Any good extensions for "code mode"?

18 Upvotes

If you don't know what code mode is, check https://developers.cloudflare.com/agents/tools/codemode/

Code Mode is a tool-use pattern where a model writes code instead of requesting each operation separately.

I found a few, I'm curious if anyone is using any extension like this (if yes, which ones please):

edit(30th Sep 2026): pi v0.99.0 includes code mode, see https://github.com/earendil-works/pi/releases/tag/v0.99.0


r/PiCodingAgent • • Aug 24 '26 Bravo

Question Keeping Track of Quality Sources in the AI-Sphere: What kind of News or Networks do you use to stay up to date, other than Reddit?

18 Upvotes

I don't know about you guys, but it's hard to find real quality in this Space. I find Subreddits like this one excellent, but it may be too limiting for discourse, getting news and stuff like that.

What do you dear Pi-Friends like to read?


r/PiCodingAgent • • Aug 24 '26

News Introducing ThinkRail

18 Upvotes

Hey everyone,

We built ThinkRail, and we’re pretty proud of it so we wanted to share it with you, and hope to get you interested.

ThinkRail is a web-based GUI for Pi. It's an open source project, released under Apache 2.0 license, backed by JetBrains (so, that's who "we" are, a team of software developers working on it). We wanted to keep the minimalist, adaptable approach of Pi, but at the same time give you a graphical layer which makes it easier to see what your AI agent is doing and comes with added conveniences: concurrent agent chats, integrated terminals, and visual aids for reviewing code changes.

Install it and try it out:

* macOS / Linux:

curl -fsSL https://raw.githubusercontent.com/JetBrains/thinkrail/main/install.sh | bash

* Windows (PowerShell and cmd):

powershell -c "irm https://raw.githubusercontent.com/JetBrains/thinkrail/main/install.ps1 | iex"

And then just run thinkrail from the terminal.

Also:

If you have a moment, we’d appreciate it if you could complete our survey. We’d love to get your feedback. It will help us develop ThinkRail in the right direction.


r/PiCodingAgent • • Aug 17 '26

Plugin Made a pi extension that auto-loads context files when the model cd's into a directory, like Claude Code does - pi-on-demand-context

18 Upvotes

If you are like me and structure your context files in a tree-like structure per subsystem, you might have found that pi only ever loads the root-level one, and the others have to be loaded by the agent itself, or they will get ignored.

This extension watches what the model does. The moment it cds into a new dir (bash), or touches a file in a dir via read/edit/write/grep/ls/find, it walks up from that dir to your launch dir, collects any context files it hasn't seen, and injects them into the agent's context before the model's next response. So the model's next thinking block already has the context. No special tool, no flags, nothing for the model to remember to do.

If you are interested, you can find more information and install instructions here: https://pi.dev/packages/@quartermaster-labs/pi-on-demand-context


r/PiCodingAgent • • Aug 03 '26

Plugin pi-automode: Think Claude Code's auto mode but for pi. Selectable model, sensible defaults

Thumbnail
github.com
18 Upvotes

Hi fellow pi fans, long time lurker, first time poster here. A while ago, I built czottmann/pi-automode which brings Claude Code's auto mode to pi.

It's a guardrail extension. It intercepts agent tool calls before execution and blocks actions that match permission deny rules, deterministic hard-deny checks, or the auto-mode classifier's block decision.

I always liked CC's auto mode, and came to rely on it, so naturally, when I switched from Claude Code to to pi, I wanted something very much like it. I've been dogfooding it for a couple of weeks now, and it's very solid in daily use.

It's not a sandbox, so it won't replace your container setup but if you usually work w/o a sandbox, it's the next best thing, I think.

Maybe you'll like it, maybe you don't. Either way, if you have questions, let me know!


r/PiCodingAgent • • Jul 14 '26

Resource Multi-agent vs Single-agent

18 Upvotes

Multi-agent can be useful. But for most tasks, a single agent is better.

It is easy to assume that using multiple agents will save time and improve quality. In practice, it can cost more time and tokens, and sometimes produce worse results. Running more agents is not free parallelism. It adds coordination overhead.

Single-agent is usually better for simple tasks, small tasks, and work where dense context matters. If one agent can hold the relevant context and finish the task coherently, there is usually no reason to split it up.

Multi-agent can be useful when the work is separate from the main context, involves reading a large number of files, needs broad exploration, or is large research work that can be split into independent parts.

Using multiple agents also means dealing with:

  • Context transfer: one agent does not automatically know what another agent knows.

  • Duplicate work: if the boundaries are unclear, agents end up doing the same work.

  • Fact verification: you should not just trust an agent's output without checking it.

  • Orchestration: someone has to decide who does what and how the results come together.

LLMs are smart enough that you can spawn a few subagents and still get useful work done. But dealing with those problems takes either your own involvement or a well-built harness.

The workflow itself also needs to be:

  • Reusable: can you run the same process again?

  • Verifiable: can you verify what the agents actually did?

  • Extensible: can the process adapt when the flow changes?

Pi is minimal. That is a good thing. you can add what you need and use it the way you want. But from subagents to controlling the flow between agents, you are generally building the harness yourself.

I wanted a more structured way to run multi-agent workflows, so I built pi-workflow(https://github.com/AgwaB/pi-workflow). I built it around JSON-based workflow specs: when to split work, how to divide roles, where to verify, and how to bring results together.

You can write the workflows you want and reuse them, with a skill to help author them. It splits common subagent patterns into a few stage types that you combine into one workflow.

It comes with examples like these, and you can write your own too.

If it sounds useful, give it a try.


r/PiCodingAgent • • Jul 13 '26

Use-case Time to pop off with GPT2

Post image
18 Upvotes

r/PiCodingAgent • • Jul 11 '26

Question Can I spawn Claude/Codex/Gemini subagents in Pi, and is OAuth safe from account bans?

18 Upvotes

Hi!

I am new to the Pi coding agent. I already pay for Claude, ChatGPT (Codex), and Gemini, and I use their terminal tools. I have two questions:

1. Running Subagents Can I use Pi to run the Claude, Codex, or Gemini terminal tools as subagents? I want Pi to send them tasks through the terminal. But, I need to control the process so it does not break usage rules or run in endless loops. Has anyone set this up?

Also most important, Is it safe to use Pi with OAuth (pi /login) to use my paid web plans instead of API keys or Anthropic, OpenAI or Google will ban my account? (I know for using openCode they can ban you)

Thank you!


r/PiCodingAgent • • Jul 05 '26

Plugin I tried Doubleword’s async tier in Pi for cheaper GLM 5.2 inference, ~25%

Post image
18 Upvotes

I’m not affiliated with Doubleword, I just came across Doubleword.ai while looking at cheaper ways to run coding-agent workloads. I personally think local/open weight models are the way to go in the near future.

Their tiered pricing is interesting if your workflow can tolerate latency:

  1. Realtime: normal interactive inference, priced similarly to other providers.

  2. Async: ~1 min time to first token, ~25% cheaper.

  3. Batch: 24h SLA for batched tasks, ~50% cheaper.

GLM 5.2 pricing for reference:

ModelProviderTypeRealtimeAsyncBatch (24h)
GLM 5.2zaiGeneration$1.40 in / $4.40 out$1.05 in / $3.30 out$0.70 in / $2.20 out

I think, quite a few tasks like execution after careful research and planning, refactors, background exploration, or eval-style tasks can be offloaded to the async tier, not every call needs realtime latency.

If ~50% of your LLM calls during development can move to the async tier, that is ~12% total savings for the same model.

Batch could save more, although it's less relevant to live coding, but it could be significantly cheaper for things like large eval workloads.

GLM 5.2 also looks strong on coding/agentic benchmarks, but they are vendor-reported, so I’d still test on your own workload, but the price/performance looks worth it.

Added support via a Pi extension to test it out, sharing in case anyone wants to try it out.

Link: https://pi.dev/packages/@snehalyelmati/pi-doubleword-provider


r/PiCodingAgent • • Jun 22 '26

Question Which package this Pi screen is using?

18 Upvotes

Can anyone tell me which Pi package this screen is using? I’m looking for a similar setup where answers are displayed with a nice border-left. If anyone knows of a similar extension, please let me know.

Thanks!


r/PiCodingAgent • • Jun 09 '26

News local agentic AI on the Mac using MLX

18 Upvotes

Pi gets a shoutout in this video on the new MLX-LM Server.

https://developer.apple.com/videos/play/wwdc2026/232/


r/PiCodingAgent • • May 07 '26

Plugin nano-context: a tiny context usage bar for pi.dev

Post image
18 Upvotes

So, nano-context. After nano-team, I built another tiny pi.dev extension because I wanted to see a bit more info about context usage, and understand how else I can optimize my pi workflow.

It replaces the default context meter with a compact segmented bar under the input. The bar shows what is actually taking space in the current session: system prompt, your prompts, assistant replies, thinking, tool results, and free context. I tried to keep the same idea as nano-team: one small thing, close to the pi/unix spirit, no dashboard, no modal, no extra workflow. Just a line that tells you what is eating the context without getting in the way.

Tiny, useful, and hopefully boring in the best way.

npm: https://www.npmjs.com/package/pi-nano-context

github: https://github.com/daynin/nano-context


r/PiCodingAgent • • May 03 '26

Question What you guys have been using for web search/fetch on Pi?

18 Upvotes

Hi! I'm new on Pi agent world and I'm missing some good package or tool to make web search properly. What are you guys using for that? Firecrawl? Exa? DuckDuckGo CLI?

Update: I got npm:pi-web-access (I thought an API key and subscription was mandatory) and if necessary, I'll get an exa subscription, but for now 1k requests/m looks enough for me.


r/PiCodingAgent • • Apr 27 '26

Plugin I built a Pi Telegram Bot

18 Upvotes

One thing I like more and more about Pi Coding Agent is that it stays extremely small on purpose.

The shape is basically core agent with only 4 basic tools, and extra capability added through skills when you actually need it.

That sounds simple, but I think it changes how the agent feels in practice. In my own "Hello" level prompt checks, Pi was coming in under ~1500 tokens, while heavier setups I compare against often feel closer to ~20k. Not presenting that as a formal benchmark, just the framing that made the difference obvious to me.

That is also why I built pi-telegram-bot, to use it as a daily AI driver, even while on my phone:
https://github.com/doer-ee/pi-telegram-bot

Well, it is not actually a plugin but a standalone app that calls Pi SDK.

It is not meant to make Pi bigger. It is just a thin private Telegram remote for people already running Pi locally and wanting a small control surface when away from keyboard. Gives you OpenClaw-like system but ultra light-weighted.

Curious how other Pi users think about this.

----------

Update on 5/1/26, added scheduler feature, user can schedule one-time or recurring runs.


r/PiCodingAgent • • Apr 16 '26

Plugin Sharing some Pi extensions I've been working on

18 Upvotes

I’ve been working with Pi and ended up building a small set of reusable extensions. Just wanted to share them in case someone finds them useful (and to get feedback):

👉 https://github.com/emanuelcasco/pi-mono-extensions

Includes things like:

  • agent orchestration helpers

  • tools and commands migrated from ClaudeCode to facilitate my migration from that tool

  • code review extension (+ visual helper to review the feedback)

  • input / output handling patterns

  • other workflow automation utilities


r/PiCodingAgent • • 13d ago

Resource I put Oh My Pi on my phone so I could travel without a laptop

17 Upvotes

I wanted to be able to travel with just my phone, but most of my coding these days happens through Oh My Pi (omp), an open-source terminal coding agent. I didn't really want to carry a laptop around just to keep using it, and leaving a computer running at home for weeks didn't seem like a great solution either.

To be clear, this is for Oh My Pi (the Pi fork), not vanilla Pi, and it's an independent project.

I figured it'd be pretty cool if I could just run the whole thing on my phone instead. That's what I've been building with OMP Pulse. It sets up a small Linux environment on Android and runs the actual omp agent inside it. The repository, files and shell are on the phone, so it can edit code and run tests without needing another computer.

The model still runs through whichever provider you've configured. It's the agent and its working environment running locally, not the model itself.

I've been using it myself for about a couple of months now, fixing things as I run into them. I also have two computers that I regularly use omp on, so I added a way to connect to their existing sessions from the same app. I can check on work, answer questions or send another prompt from my phone.

Some of the smaller things have ended up being just as useful. Being able to use speech to text natively in the app itself, get a notification on my phone when an agent needs something, or quickly check a diff makes a surprising difference to how I use it. Usage, compaction, model switching and omp commands are all available through the phone UI too. I really wanted to make sure that everything I'd typically do on my computer would ultimately be possible from within the app.

I also wanted the agent to do things on my phone while I'm out. Optional phone tools let it read the screen, open apps, tap, type and swipe without wireless ADB. They're disabled by default. There are no app-enforced per-action approval prompts, and the runtime uses proot, which isn't a security sandbox.

It's still early. Android's battery management can be a pain, and some phones can stop the runtime in the background despite battery optimisation exemptions.

Pulse is MIT-licensed and self-hosted. No Pulse account or hosted Pulse relay. Android can run omp standalone; iPhone users can access sessions on their computers through the web app on their mobile devices, which should still feel pretty native and akin to the application anyways (I hope, I don't have an iPhone lol)

Code, installation instructions and APK:

https://github.com/JulianCodespoti/omp-pulse

Super curious to see what people's thoughts are, and it would be great to know if you do use it, what ultimately brings you back to your laptop. I've fleshed out enough that I have little reason at times to use omp outside of my phone, but of course, I've tailored this strongly to my own ways of working, so I would be stoked to get some feedback on this from others!


r/PiCodingAgent • • 25d ago

Question Which model subscription are you guys using with pi or omp , claude or codex ?

17 Upvotes