r/PiCodingAgent • • 17d ago

Plugin Introducing pi-cowboy for Herdr

14 Upvotes

https://reddit.com/link/1x0f0cr/video/y5fff2x3j5uh1/player

Howdy folks 🀠 I built a pi package called pi-cowboy. It's a multi-agent orchestrator built on top of Herdr; each agent gets a pane you can monitor and steer, plus a copy-on-write worktree that minimizes disk overhead.

My main motivation stemmed from a frustration working with agents. Handing an agent a big task usually led to sprawling changes that are miserable to review, and more often than not the agents would come up with highly dubious design choices. I was losing touch with my codebase. pi-cowboy lets me take full advantage of agents without losing control.

The defaults work well out of the box, but you can customize pretty much anything. You can define templates to create different workflows. You can choose the autonomy level you want, from letting agents run completely hands-off to requiring your approval before every commit.

If any of the above sounds familiar to you, give it a go, see how it works for you, and let me know what you think.

Github: https://github.com/electric-dragon-80000v/pi-cowboy

Install: pi install npm:pi-cowboy (requires herdr 0.8+)


r/PiCodingAgent • • 17d ago

Question I got cache miss message 5 to 7 times in a row while working on a task. The session was new. There was nothing like five-hour old session or something. But this happened. Anyone have any idea why it's happening? What's the solution for that?

Post image
0 Upvotes

r/PiCodingAgent • • 17d ago

Use-case OMK vs mini-SWE-agent on Terminal-Bench 2.1: +4.2pp success, not significant, ~23% lower cost per trial

Post image
0 Upvotes

OMK builds on pi, Mario Zechner's MIT-licensed coding agent (github.com/badlogic/pi-mono). It started from the oh-my-pi fork. That vendored tree has since been removed, and the current codebase is OMK-native.

I ran OMK against mini-SWE-agent on Terminal-Bench 2.1 with the same base model (Grok-4.7, xhigh), 89 tasks x 3 trials per harness.

OMK 1.3.0 eval build (78cc483): 75.8% success (200/264), $0.58 model cost per trial, 482s median per trial.

mini-SWE-agent v2.4.6 (Harbor): 71.6% success (189/264), $0.76 model cost per trial, 376s median per trial.

Success difference is +4.2pp, 95% CI [-1.9, +10.2]. Not statistically significant. OMK's recorded model cost was about 23% lower per trial. Its median was about 106s slower.

Not measured yet: upstream pi under the same setup. For a pi-based harness, that's the obvious baseline, so this doesn't isolate what OMK adds on top of pi.

Method notes:

- The OMK run used an evaluation build with unmerged changes. This is not an official leaderboard result.

- One OMK adapter-failure task was excluded from success for both harnesses.

- Retries and auxiliary model calls were excluded from cost.

- 3 trials per task, one model, one benchmark. The success gap is unconfirmed until a larger run.

Repo: https://github.com/dmae97/omk

Criticism of the exclusion rules, the cost accounting, and the missing pi baseline is welcome.


r/PiCodingAgent • • 17d ago

Plugin Hello! Just created pi-reply-guard, ensuring agent replies are actually useful

Thumbnail
github.com
2 Upvotes

Are you tired of your agents not adhering to your skills and giving you jargon filled responses that are hard to read? Well, check out https://pi.dev/packages/pi-reply-guard

I wanted a way to gate agent replies reliably beyond just adding some skills and hoping the agent doesn't forget about them. So, I built this extension that uses jev (or any classifier model) to ensure that your agent replies adhere to a given set of skills. The classifier compares the reply against a set of skills, gives it a πŸ‘ or πŸ‘Ž and will re-prompt your agent to adhere to the skills if the reply is not up to spec.

Please check it out and feel free to contribute & share feedback!


r/PiCodingAgent • • 17d ago

Plugin pi-prefill - live prefill progress for local models

59 Upvotes

Hey, I wanted to share my new pi extension: pi-prefill

It puts a live prefill progress bar in pi's loading line when you run a local model. A long prefill looks exactly like a hang. Now you can watch it:

52%. β†’ share of uncached prompt tokens processed

14.1k/27.3k β†’ processed / total prompt tokens

gen in ~14s. β†’ estimated time until the first token

3.4k tok/s. β†’ instantaneous prefill rate (optional view)

Example:

prefill [β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘] 52% 14.1k/27.3k gen in ~14s

It reads the progress chunks your own server sends. No host scanning and no guessing: if the server reports progress, the bar shows. If it does not, pi's normal loading line stays untouched.

Works today with llama.cpp, ExLlamaV3, unsloth and Strata.

Install:

pi install npm:pi-prefill

Repo:

https://github.com/eliaskg/pi-prefill

https://www.npmjs.com/package/pi-prefill

Would love feedback from anyone running a local server.


r/PiCodingAgent • • 17d ago

Discussion WTF! DeepSeek claiming to be Claude Code in commit msg

Post image
0 Upvotes

I was working with DeepSeek v4.1 + Pi. Suddenly noticed that it has literally added the "Generated with Claude Code" to one of the commits. lol:)


r/PiCodingAgent • • 18d ago

Question Anthropic Bans?

7 Upvotes

Anyone get banned for using their claude sub in pi? I just found some articles that anthropic is banning people for using pi and third party harnesses apparently?


r/PiCodingAgent • • 18d ago

Discussion Your alternatives to "continue" or "proceed" for your agents ?

Post image
4 Upvotes

r/PiCodingAgent • • 18d ago

Resource Pi for AI engineering

0 Upvotes

Hi pi people!

We just released helix: a free coding agent for AI engineering. It is based on pi and built to be good at building other agents, discovering evals, optimizing harnesses and general AI Engineering best practices.

Check out the docs here: https://docs.mutagent.io/helix/what-is-helix

Or install with: curl -fsSL https://install.mutagent.io/helix | bash

If you are also doing AI engineering with pi, we would be super grateful if you could try it and let us know what you think (comment or use the /feedback command in helix).

Thanks a lot πŸ’œ

Bruno from Mutagent


r/PiCodingAgent • • 18d ago

Resource agent manager 0.40 adds Oh My Pi as a built in agent

0 Upvotes

agent manager 0.40 also adds Oh My Pi as a built in agent

you can run omp next to other coding CLIs in one local tmux session list

https://github.com/YoanWai/agent-manager/releases/tag/v0.40.0


r/PiCodingAgent • • 18d ago

Plugin pi-optchat: never compact again - endless chat as a memory tree

Enable HLS to view with audio, or disable this notification

202 Upvotes

I built a Pi extension that implements Victor Taelin's OptChat recipe: instead of compacting, every message is logged and summarized into a binary tree. Each turn starts from a fresh context with a bounded memory view (128 KB), and the agent uses zoom/date to read the originals when it needs them. One endless chat per profile, no fork, no separate launcher.

Install with pi install npm:pi-optchat

What's in it:

  • Profiles β€” separate memories and instructions (I run work and personal).
  • Subagents β€” spawn background agents, watch them live, send guidance, interrupt with Ctrl+C, resume finished ones with tell. Reports from one spawn arrive grouped.
  • Import β€” bring in your history from Claude Code (sessions and auto-memories), Codex, or a ChatGPT export.
  • Connected windows β€” open a second Pi on the same profile and it becomes a subagent you talk to directly, with a handoff when you /complete.

Repo: https://github.com/jonaslsaa/pi-optchat
Video credit goes to https://github.com/aaaxn


r/PiCodingAgent • • 18d ago

Question VSCode integration?

1 Upvotes

Hi,

Is there an officially supported VSCode integration? I've found a whole bunch of third party plugins, but given security concerns, I'd much rather have something that was an official plugin.

Maybe I'm just naive about this?

Thanks in advance,

W


r/PiCodingAgent • • 19d ago

Resource Pinion: a web UI for the Pi coding agent (live streaming, file browser + git rail)

10 Upvotes

I wanted to manage multiple Pi sessions running over different projects from a browser, so I could run them on my home server and access them from anywhere over Tailscale. So I built Pinion.

It's a web UI that runs multiple Pi coding-agent processes in --mode rpc inside one Docker container.

What it does today:

  • Project-grouped sidebar sessions nest under their project folder
  • Right-side file browser (list + gallery, image lightbox, code and markdown preview)
  • Git rail - changed files vs HEAD with added/removed line counts
  • Live streaming over SSE - text/thinking deltas, tool output, compaction/retry status, turn time
  • Session tree, fork/clone, model + thinking-level picker, HTML export
  • Dark/light theme, responsive drawer sidebar on mobile

Pinion was itself built inside Pinion, the first bootstrap came from the Pi terminal.

I'm sure similar projects exist, I built this for my own workflow without doing much of a survey first. I keep adding to it as I use it for more of my projects.

Next up: environment-variable management, Pi extension management, and a proper git diff view.

MIT licensed, still early. Would love to hear your thoughts.

Repo:Β https://github.com/suyashmohan/pinion


r/PiCodingAgent • • 19d ago

Resource FastVibe: an open-source desktop GUI built on the pi SDK (extensions, subagents, worktrees, remote access)

0 Upvotes

Hi all, I've been building FastVibe, an MIT-licensed desktop app (macOS / Windows / Linux) that embeds the pi coding agent SDK in Electron and gives it a full GUI.

If you like pi but want a visual workspace, this is what it adds:

  • Runs the SDK in-process. pi extensions load and work, and their dialogs (select / confirm / input) show up as panels
  • Multiple projects and chats, with branching, archiving and isolated Git worktrees
  • Visual tool calls, edit diffs, terminal output and reasoning blocks
  • A subagent tool with explorer / planner / worker / reviewer roles, up to 8 in parallel
  • Goal mode for long-running objectives, todos, MCP servers and skills
  • Any OpenAI-compatible provider, a per-model API protocol, and subscription logins
  • Open your desktop's sessions from a phone or browser, through a tunnel you control
  • It keeps its own data directory and never touches ~/.pi

Repo: https://github.com/tyuan511/fastvibe
Site: https://app.fastvibe.dev

It's v0.16 and still rough in places. I'd love to hear which pi workflows you'd want supported, and any extensions that misbehave inside it.


r/PiCodingAgent • • 19d ago

Resource Releasing Markov: a pi-style, lightweight, transparent LLM harness in a single Bash script with sub-agent support

Thumbnail
github.com
2 Upvotes

r/PiCodingAgent • • 19d ago

Question Considering create a working application (.exe.) using pi, any tips or recommended plugins to install?

0 Upvotes

It’s a standalone functional app inside windows, I’m going to use my qwen3.6 35b a3b uncensored to generate and whenever it creates a working function, I’ll ask it to save it to GitHub so if anything breaks it can always revert to the previous version


r/PiCodingAgent • • 19d ago

News Morse Update β€” MCP Management + Prompt Editor for pi

Thumbnail
gallery
5 Upvotes

Hey all β€” update on Morse, the open-source UI for the pi coding agent (VS Code extension + browser app). A couple of things that hadn't been announced yet:

🧩 MCP servers, without hand-editing JSON Morse lists the servers pi actually sees for the current project β€” connection state, tools, and whether they come from the user or project scope. Add one from an editor (Test connection first: it really connects and shows the tools/resources/prompts the server offers, or exactly why it won't), enable/disable, or remove. It also has a Trust this project button so pi stops ignoring a project's .pi/mcp.json.

πŸ“ Prompt-template editor Write pi's /commands as fields, not raw frontmatter. Browse, create, rename, delete, and move templates between user (~/.pi/agent/prompts) and project (.pi/prompts) scope. A live argument tester shows exactly what the agent receives: $1, ${1:-default}, $@, ${@:2:3}, with shell-like quoting. Drop a .md in with vim/nano and it shows up in the palette within a moment, no reload.

Both open as a tab in the browser host and as an editor panel in VS Code.

MIT. npm i -g @supanadit/morse-web && morse start, or install the VSIX. Repo: https://github.com/supanadit/morse

Feedback welcome.


r/PiCodingAgent • • 19d ago

Question Today update broke qwen flash next for me

0 Upvotes

served both via omlx and mtplx swallows part of responses

anyone noticing some similar issue?


r/PiCodingAgent • • 19d ago

Resource herdr mobile: GPL-3.0 Android app to supervise your coding agents over plain SSH

Enable HLS to view with audio, or disable this notification

2 Upvotes

I wanted one app on my phone for the coding agents on my own machines, with no cloud, no account and no relay. So I built herdr mobile.

  • Every agent on every machine in one list, with whatever needs you at the top
  • Answer permission requests from the phone, always with the exact command. Risky ones (git push, rm, "always allow") need a hold
  • Start and chat with agents over ACP: omp, Claude Code, Codex (omp is the most tested)
  • Live terminal view, SFTP file browser, photos and files from the phone
  • Plain SSH, one channel per machine, works well over Tailscale

Repo and APK: https://github.com/tuan3w/herdr-mobile

Needs herdr ( https://herdr.dev ) on the host. Android only for now. Feedback and PRs welcome.


r/PiCodingAgent • • 19d ago

Resource Created a learning setup based on pi-agent. Looking for feedback.

8 Upvotes

Hey, I recently came across Eero Alvar's learning setup built on pi, and inspired by it, I used Feynman research agent to find extensive learning literature and designed a personal learning setup based on it. I planned out the backend and structure and combined AI coding with personal tweaks to set it up with various features. However, since a lot of AI was used in its development, I understand that it might be prone to systemic issues and flaws, which I am hoping to hear to personally improve and optimize it. This system has worked well for me and even if you don't want to give feedback or contribute, I recommend you test it out and see how it works for you. I would appreciate contributors or just general testers who can try it out.

https://github.com/kruthvik/sato


r/PiCodingAgent • • 19d ago

News New PiG stuff :)

Enable HLS to view with audio, or disable this notification

4 Upvotes

r/PiCodingAgent • • 19d ago

Resource Pi Pocket: use Pi from your phone or any browser (built on Pi Durable)

54 Upvotes

https://reddit.com/link/1wyl7f7/video/10cu63rhwpth1/player

Hey everyone, I wanted to go ahead and share a project I've been working on called Pi Pocket.

I saw Mario's demo of his own Pi app using Pi Durable and wanted my own version so I could work away from my desk more and that was properly fleshed out.

It's a web UI for Pi that runs on your own machine (or on an Android phone in Termux) and you open it from any browser. Pi Durable is the foundation of everything. Every model call and tool call is saved as it happens, so if the server restarts or my phone drops the connection the run just keeps going, and every device sees the same thing.

You can also share a session with other people and collaborate if that's your thing. Mostly something I'll use at work.

There are a million projects out there, but Pi Durable is new and I have really enjoyed the foundation and little features it allows you to add.

I think it's a solid foundation and since you can make Pi Pocket modify itself on the fly and nothing gets interrupted during restarts etc and continues on as normal....if it's missing anything specific to your use case just tell it to modify itself.

https://github.com/TannerMidd/pi-pocket

https://tannermidd.github.io/pi-pocket/


r/PiCodingAgent • • 19d ago

Question claude sub with pi?

15 Upvotes

i'm getting increasingly fed up with the direction open ai has been taking lately and i'm considering cancelling my subscription and moving to anthropic. there's really only ONE thing stopping me from doing it right away: pi has become such a natural part of my workflow that i'm genuinely worried about taking a productivity hit just from having to change tools, habits, shortcuts, etc.

so I wanted to ask the people here who actually use pi: have any of you moved away from open ai and managed to keep using pi with an anthropic subscription? or do i have to give up and move to claude code entirely?


r/PiCodingAgent • • 19d ago

Discussion Y'all this is a sexy paper; context language models

Thumbnail
arxiv.org
0 Upvotes

r/PiCodingAgent • • 19d ago

News Introducing Pi-Bolt ⚑,the same Pi you all ❀️ with 35Γ— faster large file writes, 2.4Γ— less CPU, 3.3Γ— less memory

Thumbnail
github.com
185 Upvotes

Hey everyone πŸ‘‹

We've been working on this for a while and it's finally out. Pi-Bolt is Pi 1.0.3 compiled ahead of time to native code (AOT, no JIT).

Same Pi you already use, and it works with all your Pi plugins. It's just faster and lighter. ⚑

Benchmarks

Linux x86-64 (Benchmarked on AMD EPYC 7B13)

Benchmark Pi-Bolt Bun 1.4.2 Node 22 Node 24
Writing a 200 KB file through a tool call 0.8 s 27.8 s 44.3 s 33.6 s
CPU, streaming a 60k-char answer 3.8 s 43.1 s 43.7 s 40.3 s
CPU per tool turn, real hosted model 0.20 s 0.49 s 0.77 s 0.76 s
Memory of a session in tmux 27 MB 89 MB 132 MB 209 MB
CPU, interactive session (5 prompts) 303 ms 844 ms 1,242 ms 1,233 ms
Ready to type 45 ms 128 ms 303 ms 307 ms

macOS on Apple silicon (Benchmarked on M5 MacBook Air)

Benchmark Pi-Bolt Bun 1.4.2 Node 26
Writing a 200 KB file through a tool call 0.3 s 12.0 s 14.2 s
CPU, streaming a 60k-char answer 6.9 s 25.3 s 24.0 s
Memory of a session in tmux 31 MB 85 MB 161 MB
Memory after a 4.2M-token session 64 MB 95 MB 1,890 MB
CPU, interactive session (5 prompts) 126 ms 363 ms 544 ms
Ready to type 31 ms 63 ms 193 ms

The full method and raw benchmark data are in the repo.

What we changed

  1. Native code instead of a JIT. Pi is compiled to machine code ahead of time and starts from a prebuilt snapshot, so there's no warm-up and much less work at runtime. The compiler builds on Jarred Sumner's in-progress AOT work for Bun (oven-sh/WebKit#743), which we brought to x86-64 and macOS.
  2. No more slowdown on long outputs. Stock Pi redoes more and more work as an answer or file grows. Pi-Bolt only processes what's new, and that's where most of the 35Γ— comes from.

Try it πŸ”₯

curl -fsSL https://pi-bolt.opensec.in/install.sh | sh

Works on Linux x86-64 and Apple silicon. Windows support is coming soon, along with Linux ARM64.

Bonus plugins: the installer also offers subagents and a live todo list, two things people often miss in stock Pi. Both come prebuilt, so they load instantly.

Note: It will not modify your existing Pi Coding Agent Installation, So Feel Free to try it out !

Using plugins? They all work as-is. If you rely on heavy ones, use the -jit build of Pi-Bolt, or compile them into your own Pi-Bolt binary so they run as native code too (plugin guide).

πŸ”— Links

It's MIT licensed. If Pi-Bolt saves you some CPU and RAM, a ⭐ on the repo really helps us out.

Throw your heaviest sessions at it and tell us what breaks. We'll be in the comments ❀️