r/PiCodingAgent • • 11d ago

Discussion Updates on oh-my-pi quietly siphoning user web data

299 Upvotes

Two months ago, I made this post about the issue:
https://www.reddit.com/r/PiCodingAgent/s/MoJvQiojW5

Where the maintainer of oh-my-pi quietly pushed to main (no associated pull requests) support for sending web requests generated by oh-my-pi to a 3rd party by default. This means, that without any changes, your web traffic is quietly being farmed. While obviously nothing is public about how it is used, you can assume it is being used for monetary reasons at a minimum, and it is most likely building a profile of yourself. Yes, these are assumptions, because no one is being forthcoming about it.

To my surprise, minutes ago, the actual owner of this 3rd party entity that has siphoning your data actually commented on the pull request. Mind you, this pull request has been open for the last two months with no response from the oh-my-pi maintainer (despite numerous people asking for a response).

The "Developer Relations Engineer at Parallel" said,

"...The oh-my-pi maintainers intentionally put Parallel first in the default search order and enabled it without credentials... I’d recommend closing this PR and keeping the current behavior."

I thought the community should know. If you are intentionally having your data collected, please disregard this message. This message is meant for those who were unaware of their data being collected. Since there is no disclaimer anywhere in the project, it is easy to be caught off guard by this. Hope this helps.

An Update: The "Developer Relations Engineer at Parallel" decided to remove their comment for some reason, so here it is screenshotted from my Github email notification:

Second Update (Next Day): This thread built enough momentum to get a PR merged! Great job everyone! This would have been a happier occasion if the response from the maintainer wasn't so void of accountability:

Apparently we are "manufacturing drama." Please be safe out there, and check the next projects you use.


r/PiCodingAgent • • Oct 23 '26

Plugin A set of minimal extensions I built for Pi

Post image
290 Upvotes

Hi fellow Pi enthusiasts! Pi has been my main coding agent for a while now, and over time I've built a set of minimal extensions that I wanted to share.

Some of these are inspired by Claude Code (as you can probably tell), especially the look. CC was my first coding agent and I still quite like the way it looks.

Full list, in no particular order:

  • pi-polish: Claude Code-style tool rows and diffs (as can be seen in the screenshot). This reduces clutter and in general makes everything more pleasant to look at

  • pi-context-bar: a pretty one-line footer with the model, branch, context usage and cost

  • pi-background: background jobs with nice visuals, and a bash timeout, so Pi doesn't block or hang on long commands

  • pi-checkpoints: rewind the files Pi edited along with the conversation (with /tree and /fork)

  • pi-model-pick: a model picker with your favorite and recent models first (for me the default /model command is too simple, especially when using multiple providers in Pi)

  • pi-next-prompt: suggests your next prompt in grey after each reply

  • pi-away: a one-line recap of the session when you come back

  • pi-heads-up: flags the one thing you might have missed after a task

They're minimal by design: most are under 300 lines with no dependencies. Some of these exist already in one way or form, but I hate bloated extensions that do too much, hence my own take on them.

Each one is its own npm package that you can install, e.g.:

pi install npm:pi-background

Happy to hear any feedback, and hope this adds something to your own workflows!

Link to the repo, which also includes some GIFs to show what these look like: https://github.com/Pringled/pi-extensions


r/PiCodingAgent • • Oct 14 '26

Plugin Wow just use Pi to make this video for my extension 100% using code

288 Upvotes

It definitely needs some improvement, but the thing is I one-shotted it using 1 single line of prompt.

Btw if you wanna try the elegant, information-rich status, menu, and side bar for Pi Agent, see https://github.com/michaelmjhhhh/pi-atelier


r/PiCodingAgent • • Sep 10 '26

Resource Supernova: a minimal, opinionated and sleek interface for Pi

263 Upvotes

Hi everyone, i've been working for a few months on Supernova, my own take at a minimal, detailed and sleek interface for Pi.

Why would i use this instead of the hundreds of alternatives out there?

I'll cut straight to the point. I'm not a fan of TUIs. I've searched the web for every existent product possible, but no one had exactly what i was looking for: the full power of Pi, minimalistic approach, a well curated and detailed UI that makes me wanna actually use it (good animations, no UI flickers, performant even with long threads) and a really good git-backed checkpoint system (like opencode's for example).

It uses the Pi SDK under the hood, and i'm currently waiting for the harness v2 to enable full extension support!

I've been daily-driving it for a while now, both at home and at work, and i thought i'd share it with the world for those who hopefully see the vision and struggle with my same issues.

If you have any feedback, please leave it down here or open an issue. I'd love to build a community around it to keep improving it! :)
If you can see the vision, i'd appreciate a star :D https://github.com/mattiacerutti/supernova

Since GPT-6 Astra recently launched, and apparently it has really good Computer Use capabilities, i though i'd try to make it do a nice trailer for it just for fun. The attached video is the one-shotted result, please don't take it too seriously :D

EDIT:

This post went really well, much more than i was expecting.

I’m really happy about all the feedback i’ve been receiving, it’s honestly so gratifying seeing other people like what i’ve been putting a lot of work into and i want to thank everyone that contributed, even with just an upvote :)

I’d love to keep building supernova and improve it everyday, but my mind is pretty limited to well.. my point of views. This is why i want to encourage you all to keep on giving feedback, both positive and negative! I’d love for this to become some sort of community OSS project where we can work as a group.

Please feel free to submit an issue or PR if you encounter something!

I have a thread on Pi's official discord where i'll be posting regular updates: https://discord.com/channels/1456806362351669492/1545785069405470810


r/PiCodingAgent • • Sep 26 '26

Resource Meet PiG: The Pi coding harness that is yours but in Go

256 Upvotes

Reposted from r/PiGCodingAgent, figured if any sub should see this project it's here. I've been building this out at work for work for quite some time and am excited to open and start a community around the project. I truly appreciate any criticisms, suggestions, and especially contributions, thank you to anyone who does check it out I hope you like it as much as I have been :)

---

PiG is a direct port of the amazing Pi agent harness as one Go binary for macOS, Linux and Windows (Windows in preview). Node.js only comes in if you run TypeScript extensions. Pi's extensions run unchanged; write new ones in Go, Rust or Python and /reload them live. It is a direct port of Pi's its agent loop, terminal UI, sessions, providers, and extension system, shipped as one static Go binary with no libc dependency.

Some Go-specific bits that might interest this sub:

  • Extensions in Go can be fused into a single binary and talk to the host over in-memory pipes instead of sockets; other languages run as supervised subprocesses over local sockets.

  • The TUI renders differentially; width handling was ported from Pi's own algorithm and checked with a differential test against Pi's code over ~1.5M cases: tui/widthx/pi_width_diff_test.go.

  • Behavior is checked against Pi in real terminals (tmux-driven scenarios that compare screens).

  • go install github.com/MichaelKinsy/PiG/cmd/pig@latest works; so do a curl installer and npm i -gu/pi-in-go/pig (it installs the prebuilt native binary for your platform).

Measured startup is about 21 ms vs about 300 ms median, and about a quarter of the peak memory (method in the blog).

Disclosure: agents wrote much of the port. Tests, side-by-side comparisons against Pi, and a person reading the diff decide what ships.

Repo: https://github.com/MichaelKinsy/PiG 

Blog: https://developer.hpe.com/blog/meet-pig-pi-in-go-a-port-that-plans-on-keeping-up/ 

Upstream Pi: https://github.com/earendil-works/pi

Happy to answer questions about the port, the extension host, or keeping up with upstream. Feedback on this is appreciated and contributions are welcome.

Thank you to r/HPE for covering writing the blog and contributing PiG to Open Source and special thank you to the Pi team of course at https://earendil.com


r/PiCodingAgent • • 11d ago

Discussion The More I use Pi the more I realize how much we Over-engineer

Thumbnail
imgflip.com
242 Upvotes

MCP servers are goat and genuinely useful. But I haven't been wowed by any plugin or skill except ask-user-question


r/PiCodingAgent • • May 18 '26

Use-case I am in love with Pi

Post image
233 Upvotes

This one is mine.

I love that I can take ideas from amazing people like IndyDevDan and Matt Pocock and make things work my way with Pi. 

Been working with pi for a few weeks now. I was hesitant switching from OpenCode initially as it is gorgeous to look at and was easy to work it. It is a well built opinionated tool with a lot of things included, but Pi is a gold mine once it clicks, the opinion is yours. Mario is a genius. 

I have a throwaway, a bit complex demo to deliver tomorrow. Spent the weekend working on requirements, planning and setting this up. 

In the screenshot, agents with a bolt icon are ephemeral. I handcrafted a big prompt for the orchestrator agent to coordinate between these guys. Each agent has its own skills and tools. 


r/PiCodingAgent • • Jul 20 '26 Bravo Popcorn

Resource I Built a completely free tool that gives your AI agent web for free (fetch + search + crawl) for completely free, no API keys.

230 Upvotes

I've been using AI coding agents for a while and the web research part always annoyed me. Either you pay for an API (Tavily, Firecrawl), or you use a free tier that rate-limits you after 100 calls, or you glue together SearXNG + a browser + an extractor and hope it doesn't break.

So I built Hound. It's an MCP server that does fetch, search, crawl, and screenshot, all keyless. And now it has a native Pi extension so you get all 6 tools as first-class Pi tools, not through a generic MCP adapter.

What it does

6 tools, all exposed as native Pi tools:

  • web_fetch - anti-bot fetch with auto HTTP-to-stealthy escalation. Extracts clean markdown. PDFs get section maps + auto-OCR. Dead pages auto-recover from the Internet Archive (honestly marked, not pretending it's live content).

  • web_search - 10 keyless search backends in parallel (DuckDuckGo, Brave, Mojeek, Yahoo, Yandex, Startpage, Google, Qwant + opt-in Wikipedia/Grokipedia), neural-reranked with a local ONNX cross-encoder, cross-backend consensus scoring.

  • web_crawl - best-first same-domain walk. Sitemap mode maps a whole site in one fetch. Focus mode crawls only pages relevant to your query.

  • web_screenshot - anti-bot screenshot for multimodal models.

  • cache_clear - clear the fetch cache.

  • hound_version - version + update status (warns if the extension and the server diverge).

How the Pi extension works

The extension spawns hound as a singleton subprocess at session start and speaks MCP JSON-RPC over stdio. The subprocess stays alive for the whole session, so hound's prewarm (stealthy browser, search engine sessions, neural reranker model load) happens once and persists. Zero re-launch cost per call. If you press Esc during a fetch, it actually cancels (AbortSignal propagates to the subprocess). If hound isn't installed, you get a notification at session start instead of a confusing error on your first web_fetch call. If the extension version and the hound server version diverge by a major, it warns you to update both. The tool definitions are token-optimized. Total connect-time cost is 2,746 tokens for all 6 tools + instructions.

Install

pip install hound-mcp[all]
pi install npm:@houndmcp/hound-mcp-pi

That's it. No API keys, no config file, no MCP adapter. /reload and the tools are there.

What I think is genuinely good

  • Dead-link recovery. When a page 404s or gets bot-blocked, hound checks the Wayback Machine and serves the archived snapshot with source=archive.org and the snapshot date. It doesn't pretend archived content is live. The agent knows.

  • Error honesty. Just shipped this in v10.4.0: 4xx/5xx responses now set the error field properly. Before, a 404 error page would flow through with error="" and the agent could mistake the error page HTML for real content. Now it says "Page doesn't exist (404)" and doesn't dump the error page as content.

  • Keyless search. 10 backends, no API key for any of them. Neural reranking with a local model, not an API call. Consensus scoring across backends so you know which results multiple engines agree on.

  • Token cost. 2,746 tokens for 6 tools. The descriptions are telegraphic but every functional fact is there.

Limitations

  • DataDome, Akamai, Cloudflare Turnstile. No free tool bypasses these. Hound tries the stealthy browser, and if that fails, it tells you to switch sources instead of pretending it got content.

  • The [all] extra is ~100MB. onnxruntime + tokenizers + rapidocr for the neural reranker and PDF OCR. You can install without [all] (fetch + crawl + search still work, just no neural reranking or OCR), but the full install is the recommended path.

  • Not a scraping-at-scale tool. Hound is built for agent research, not for crawling 10k pages. Crawl caps at 100 pages by default.

Where to find it


r/PiCodingAgent • • 20d ago

Plugin I no longer compact or handoff. Context paging has been running my long sessions for weeks

229 Upvotes

Hey all, I wanted to share an extension I've developed called pi-context-paging.

https://www.npmjs.com/package/@rochecompaan/pi-context-paging

Instead of compacting your session into a summary when the context fills up, it treats the context window like a rolling window over the full history. When a request goes over a token budget (128k by default), the oldest turns move out of the window. The session file on disk is never changed. The model gets a short paging notice and a few recovery tools to search, browse and load older history when it needs it.

It has made my workflow a lot smoother. I don't get a surprise compaction in the middle of a long-running task and I don't have to write handoffs that inevitably loses important detail. It has been running very stably for me for a couple of weeks now. It is especially useful for agents doing long-running tasks unattended.

It's lossless. Nothing is summarized or compressed. The recent window is sent exactly as stored, and anything older can be loaded back as the original text.

Tony Mason wrote a good paper on this: The Missing Memory Hierarchy: Demand Paging for LLM Context Windows (https://arxiv.org/abs/2603.09023). It treats the context window like RAM and the full history like disk, and pages content in and out on demand. The extension is a practical version of that idea for Pi.

"But what about prompt caching?" I know this is the first thing a lot of you will ask, so here's how it works:

  • It doesn't drop messages one at a time. That would change the start of the prompt on every request and break the cache constantly.

  • When the window hits the budget, it pages out one large block at once, trimming down to about 80k by default. After that cut, the start of the prompt stays the same over many turns, so you get normal cache hits until the next cut.

  • Each cut costs one cache rewrite. In practice that's rare, and whatever you lose in cache efficiency you get back in continuity. There's no summary step, no re-explaining, and no "the agent forgot what we were doing" moments.

Some real numbers from my sessions (Opus 5.5, Fable 5.1 and GPT 6.1, with zero compactions in any of them):

Each of these is millions of tokens of history in a single continuous session, and every request still stayed at or below the 128k budget. Cache hit rates stayed above 90% even with the paging cuts.

You can set the budget in settings. I'd suggest setting it below the point where your model starts to get worse, so it stays out of the "dumb zone." You can also run `/context-paging stats` during a session to see what's going on.

This extension works well with https://github.com/elidickinson/pi-claude-bridge too if you want to use you Anthropic subscription. I submitted patches to it specifically to make pi-context-paging work.

PS. My current defaults are set to higher than what is documented.

"contextPaging": {
    "enabled": true,
    "tokenBudget": 200000,
    "trimToTokens": 140000
  },

Play around and give me feedback as to what works for you.


r/PiCodingAgent • • Jun 21 '26

Resource I got pi running fully local on a 4B model — with web search and no API keys

Post image
225 Upvotes

For a while now I've been running pi entirely on my laptop -- unsloth's Gemma E4B on llama.cpp, no cloud, no API keys, nothing leaving the machine. Thinking level, image parsing, KV cache retention -- all working.

What surprised me is how genuinely useful it gets the moment it can search the web.

The tiny extension I published pi-smart-web-search adds a web_search tool with no api key needed. It fetches DDG's html output, runs it through wreq-js -> linkedom -> Defuddle (inspired by pi-smart-fetch), and then parses the output's links.

I wrote the whole setup up end-to-end as a gist -- llama.cpp, the model, a chat-template fix, pi, and the search/fetch tools — so you can reproduce the fully-local flow yourself. (links below)

I've run Gemma E4B on an M4 MacBook Air (16GB) and on a M2 MacBook Pro (32GB), but haven't tested Linux yet (I don't have a machine with a dedicated GPU), so if you run it there I'd love a report.

I'm not overselling it, just genuinely after feedback on the approach: the DDG scrape, small-model agents, anything you'd do differently.


I call the project 'Humble Pi' :shrug: -- And I look forward to the next 4b model.

Links


CORRECTION: When I made this post, I forgot to include the instructions for the custom jinja template for the E4B model in the gist. The template that ships with E4B drops prior thinking blocks from history, which forces the KV cache to recompute the entire conversation on every turn.

If you've already followed the gist, please switch to the updated llamagemma4b alias and follow the new "Install the E4B reasoning template (one time)" section to download the template — then re-run source ~/.zshrc and restart the server.

TLDR: Using the custom jinja template should improve the speed substantially.


r/PiCodingAgent • • 25d ago

Plugin pi-agent-computer-use: give your access to computer (browser+desktop)

221 Upvotes

Hi! Currently computer-use is a must for my agents, so I decided to build an extension with a custom CUA Driver fork and Playwright. It’s purposefully designed to be run in YOLO mode (although Safe is included) within the environment where you trust your agents. It works in hybrid mode: supports both raw image followed by input (agent sees a screenshot and then clicks on something) and structural way (playwright for browser and UIA for normal desktop applications). Agents can use their own browser profiles, or your own, work in sandboxes and remote desktops, work together (to some extent, there are limitations on the OS side).

I would say it was definitely worth working on that, my agents can now work in 3D, browse some stuff I need and can test my applications, acting like real users.

I’ve mostly benched it via GIMP drawing, which doesn’t support UIA so all the interactions are purely from picture based mode. But also Terra 6.1 High has gone to 42th level of https://neal.fun/not-a-robot/ until it got banned by Cloudflare, and we couldn’t pass further. It’s windows only (windows from WSL as well), but if anybody can contribute into linux/macos branch of it, it would be great, I’m just lacking such devices and can’t really test them to the full extent as I can with Windows.

https://github.com/alexshpunt/pi-agent-computer-use

https://pi.dev/packages/pi-agent-computer-use

To install: `pi install npm:pi-agent-computer-use`

Demo of deepseek-flash, haiku, opus, terra and sol drawing the same image with that: https://youtu.be/69doTus760U


r/PiCodingAgent • • Oct 10 '26

News Pi-Bolt 0.7.3 ⚡ The same Pi, compiled to native code: 38× faster large file writes, 3× less CPU, 3× less memory

Thumbnail
github.com
220 Upvotes

Hey everyone 👋

Thanks for all the feedback on our first post! Pi-Bolt 0.7.3 is out. It's the same Pi you already use (now on Pi 1.1.0), compiled ahead of time to native code: faster to start, lighter on CPU and memory, and steady in long sessions.

Benchmarks

Pi-Bolt against Pi 1.1.0 as released on Bun and on Node, PiG 0.4.1 (the Go port of Pi, based on Pi 1.0.3) and OMP 18.8.7 (oh-my-pi, a bigger Pi fork with many more built-in features). Measured side by side on the same machines. Lower is better.

Linux x86-64 (AMD EPYC 7B13)

BenchmarkPi-Bolt 0.7.3Pi on Bun 1.4.2Pi on Node 24PiG 0.4.1OMP 18.8.7
Writing a 200 KB file through a tool call0.8 s29.0 s37.4 s100.9 s3.7 s
CPU, streaming a 60k-char answer4.3 s44.0 s43.8 s24.6 s3.3 s
Memory after a 4.2M-token session142 MB271 MB551 MB344 MBn/a*
Memory of a session in tmux30 MB88 MB96 MB45 MB346 MB
CPU, interactive session (5 prompts)324 ms927 ms1,332 ms3,155 ms3,397 ms
Ready to type49 ms144 ms351 ms43 ms1,088 ms

macOS on Apple silicon (M5 Air)

BenchmarkPi-Bolt 0.7.3Pi on Bun 1.4.2Pi on Node 26PiG 0.4.1OMP 18.8.7
Writing a 200 KB file through a tool call0.5 s22.5 s26.7 s58.2 s2.4 s
CPU, streaming a 60k-char answer4.8 s38.0 s37.9 s17.0 s5.1 s
Memory after a 4.2M-token session45 MB126 MB2,077 MB329 MBn/a*
Memory of a session in tmux28 MB68 MB165 MB58 MB334 MB
CPU, interactive session (5 prompts)95 ms344 ms530 ms1,355 ms1,383 ms
Ready to type25 ms62 ms199 ms20 ms564 ms

*OMP compacts long conversations on its own, so it doesn't do the same work in this test.

In everyday use (an interactive session), Pi-Bolt uses about 3× less CPU than Pi on Bun, 4–6× less than Pi on Node and 10–15× less than PiG and OMP. It writes large files 35–50× faster than Bun and Node, about 5× faster than OMP and over 100× faster than PiG.

Why does a 200 KB write take 30 s? It's not the disk. The model streams the file to Pi in thousands of small chunks, and stock Pi re-parses and re-renders the whole tool call on every chunk, so the work grows quadratically with the file size. Pi-Bolt only processes the new part.

What's new in 0.7.3

  • Lighter long sessions: up to 30% less memory and lower CPU per prompt as conversations grow.

  • More stable with heavy tool output: commands that print a lot no longer build up memory.

  • Faster first launch on macOS: up to 2.8× quicker after a restart or an update.

Try it 🔥

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

Already using Pi-Bolt? Run pi-bolt update, or install with npm install -g pi-bolt. Works on Linux x86-64 and Apple silicon, alongside your existing Pi install. The installer also offers two optional extensions, subagents and a live todo list, and asks before installing them.

Your Pi plugins work as they are. This doesn't modify your existing pi installation so feel free to try it out !

Links

Website: https://pi-bolt.opensec.in

GitHub: https://github.com/opensec-git/Pi-Bolt

MIT licensed. If Pi-Bolt saves you CPU and memory, a ⭐ on the repo helps a lot.

PS: Added PiG and OMP to the benchmarks, as many of you asked. And the slow 200 KB write isn't the disk: stock Pi re-processes the whole streamed tool call on every chunk (quadratic), while Pi-Bolt only processes the new part.


r/PiCodingAgent • • 13d ago

Discussion everyone needs to make their own "oh my pi" (or an argument for some official extensions)

Post image
219 Upvotes

I think that at least 3 types of extensions have become essential to how to use a coding harness today.

  1. subagent management (nico and tintinweb's are good, I used them a lot and finally, I made my own one too and shared why I did that recently)

  2. task lists (tintinweb's one is again good, and it works with their subagents very well). I made my own for this as well, again to play well with my subagents

  3. monitors (there are a few "pi-monitor" named ones which all try to emulate the claude monitors), again one I made my own because I needed a few tweaks

These things are sort of essential parts of the harness architecture itself, to the degree that a barebones Pi feels pretty naked to me now, I am not productively enough without having the subagents. And subagents do not work well without checklists. And long running jobs inherently come with monitor-shaped tasks.

I actually hate to maintain extensions like this myself, and would love for Pi to officially have some extensions. I do not want them to bloat the core. I love the minimal core. But like back in the VueJS days Vue used to have official plugins router, store/state and pwa etc. That was nice, you knew these things played well and used 'canonical' blessed paths because they are made by the official team, but they were all opt-in installable.


r/PiCodingAgent • • May 05 '26 Bravo

Resource My powerful Pi agent Setup

217 Upvotes

Hello guys!

Today i want to share my Pi agent setup, i think i got something in hands here that can benefit the community to really get a powerful agent, nothing compared to claude or codex. What i want to share is my list of extensions and the value each one add to the build.

I want to start with a basic one: pi-fork. This is a basic and minimalistic subagents extension, focused on one single thing, give the main agent the capability to spawn forks of itself to do work on its name. This is quite straightforward, you can achieve the same with any other subagents extension, the only difference is that this one is simpler and have prompts that optimize the communication between the forks and the main agent. This thing brings a single thing to the table: great context management, the main agent context will only contain relevant information, the main agent context will be richer and denser per token, all the noise stays out of the main agent context.

Ok now i want to share the core of this pi build: pi-observational-memory. This one is special, is a custom compaction algorithm inspired/copied from Mastra's article. This custom compaction algorithm enables pi sessions to last forever without maxing out the context window and keep the agent focused. This combined with the rich context window of the pi-fork extension creates a rich re-callable memory system that stays relevant no matter how many weeks you have been using the same session nor the compactions it have withstand.

If you install only the two extensions above, you will enable your pi agent to be on the next level. now i have a couple more extension that give some extra perks to my build:

pi-minimal-subagent: like any other subagents extension, this one is just simpler, without bs. i use this to enable 2 subagents: the "advisor" (concept copied from claude code) and the "reviewer". The fork from pi-fork are extensions of the main agents, they are basically the same agent, they share the same context. This two agents give access to the main agent to different points of view less biased, with clean context windows. The reviewer takes care of code quality, security and ux of the changes introduced by the main agent. The advisor is for strategical decisions around architecture and product.

pi-codemapper: a wrapper of codemapper that enables efficient codebase exploration. This codemapper repo is really bad and unmaintained, it had a cache bug i had to patch myself. im looking forward to switching to cymbal when i get some free time.

pi-rtk-optimizer: This is a classic, not much to say here, it saves some tokens.

Conclusion:

I describe this setup with a single phrase: A personal agent that never forgets and can be useful for weeks before the context window gets maxed out.

I hope you can get value from some of the extensions i shared guys, my own words are not good enough to describe the power i feel when working with this agent setup, so i beg you to try it yourself to really experience what im saying.


r/PiCodingAgent • • Sep 13 '26

Resource my minimal Pi setup, personas + tmux subagents

Post image
215 Upvotes

My Pi setup, kept minimal on purpose because my daily machine is an older i7-5500U with 8GB RAM on Debian.

I run kitty + tmux + fish. 20 skills in total, but most stay dormant unless called. Extensions show as 8(+2); the ones I actually use are interactive-subagents, prompt-snippets, and cc-ui.

interactive-subagents spawns async workers in their own tmux pane with a live widget on top, so I keep working while they run and results get steered back when done. prompt-snippets is a TUI menu for injecting repeat prompts from different directories. cc-ui is just a spinner plus cache counter.

Personas live as separate files and I link one to SYSTEM.md when needed. 6 total from my pi-system-prompts repo: Aster for strategy and tradeoffs, Caelum for adversarial checks, Elyndra for strict execution, Kaida for media and watcharr, Liora for writing, Neris for research. Keeps the main prompt clean.

Since a few people asked under my last post, I also put my skills into a public repo.

Extensions

Personas

Skills

The whole point was less auto-magic and more explicit control. Works fine on weak hardware because nothing runs unless I call it.


r/PiCodingAgent • • Oct 23 '26

News ⚡ Pi-Bolt 1.0.0 is out: 120× faster file writes, 8× less CPU, 4.5× less memory than Pi, now on Linux ARM64 and Termux

Thumbnail
github.com
210 Upvotes

Hello everyone 👋

Pi-Bolt 1.0.0 is out ⚡, our biggest release yet. Pi-Bolt is Pi compiled to one native executable, and it's faster and lighter on every platform.

What's new 🔥

  • Linux ARM64 and Android (Termux): Raspberry Pi, ARM servers, ARM laptops and Android phones, with the same installer.

  • Long sessions stay fast: sub-agents and long chats no longer make the TUI laggy; a third less CPU per prompt deep into a session.

  • Editors and MCP: pi-bolt --acp runs Pi in Zed and other ACP editors; pi-bolt --mcp serves Pi as an MCP server.

  • Faster everyday work: reading a screenshot takes 0.5 s of CPU instead of 37 s, and read-only tools start while the model is still writing.

  • Pi 1.4.0 underneath, plus /usage, pi-bolt doctor and pi-bolt update --rollback.

Install

Linux, macOS and Android (Termux):

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

Windows (PowerShell):

irm https://pi-bolt.opensec.in/install.ps1 | iex

Already installed: pi-bolt update

Links


r/PiCodingAgent • • Jun 24 '26

News We won UC Berkeley's AI Hackathon with a pi extension

207 Upvotes

TLDR: We built Accordion which is an intelligent context management tool meant to replace /compact

Over the weekend my team and I set out to replace /compact with something smarter. It's well known that developers do not like compaction and do not trust it. In codex and Claude Code its completely opaque, and introduces 1-3 minutes of latency. In pi users have more control but its still primitive. Workarounds exist, eg handoff skills and million token context windows, but neither is sufficient.

Accordion is two things.
First, a live view of your entire context window, the entire thing is visible at a glance, in a way that is actually useful. You can have a 200k token session and immediately tell which tool results and thinking blocks are taking up most of that.
Second, an intelligent context management strategy we call a conductor, which decides what to fold, when to fold, what to replace it with (summaries / code skeletons), and when to bring it back. The conductor is what is actually replacing /compact.

If you interested in learning more I recommend checking out our readme.
https://github.com/a-Fig/Accordion

Honest state of things

The context view is the part I feel good about right now. Just being able to see your context while pi is running, which turns are massive, where the dead weight is, is immediately useful on its own. 

The conductors are promising but not ready for everyday use yet. They do work and the benchmark numbers are encouraging, but I am not ready to say they are strictly better than existing solutions. They will be with more testing, tuning, and development but they are not there yet.

I'm working on getting it published as a package on npm today, but if you want to set it up today you can just point your agent to the repo and ask him to do it for you. It works in the web but also has a desktop app.

Curious what you guys think and how you all manage long sessions today.

Edit:
Accordion has been published to npm and can be installed with 'pi install npm:@a-fig/accordion'


r/PiCodingAgent • • Oct 06 '26

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

206 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 • • Aug 14 '26

Resource I wanted pi to work while I sleep, so I built the missing layer around it.

Thumbnail
gallery
191 Upvotes

pi has no queue, no spend limit, and no permission system, which is fair, that's not its job.
But I wanted it working unattended.

So I built the layer around it, and after a bunch of releases it hit 1.0 this week. MIT, sharing it here first.

The short version: something triggers a job (a cron schedule, a label/comment/PR on GitHub, GitLab, Forgejo or Azure DevOps, or a workflow extension's slash command), the job runs pi in a throwaway locked-down container, and the budget is checked before the container even starts.

If a loop runs away you get a refusal, not a bill.

It's basically the same idea as Claude Code routines, except everything runs on your own box:
your image, your queue, your caps, and triggers beyond a schedule.

https://github.com/edgehero/pi-dispatch

Curious how others here run pi unattended, and what would stop you from using this. "It breaks my setup because X" is the most useful comment you can leave me.


r/PiCodingAgent • • Oct 05 '26

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
188 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)

BenchmarkPi-BoltBun 1.4.2Node 22Node 24
Writing a 200 KB file through a tool call0.8 s27.8 s44.3 s33.6 s
CPU, streaming a 60k-char answer3.8 s43.1 s43.7 s40.3 s
CPU per tool turn, real hosted model0.20 s0.49 s0.77 s0.76 s
Memory of a session in tmux27 MB89 MB132 MB209 MB
CPU, interactive session (5 prompts)303 ms844 ms1,242 ms1,233 ms
Ready to type45 ms128 ms303 ms307 ms

macOS on Apple silicon (Benchmarked on M5 MacBook Air)

BenchmarkPi-BoltBun 1.4.2Node 26
Writing a 200 KB file through a tool call0.3 s12.0 s14.2 s
CPU, streaming a 60k-char answer6.9 s25.3 s24.0 s
Memory of a session in tmux31 MB85 MB161 MB
Memory after a 4.2M-token session64 MB95 MB1,890 MB
CPU, interactive session (5 prompts)126 ms363 ms544 ms
Ready to type31 ms63 ms193 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 ❤️


r/PiCodingAgent • • Sep 20 '26

Use-case I think i found the best use case for JEV and PI

Post image
173 Upvotes

I think JEV gets much more interesting once you stop treating it like a tiny LLM.

LLM → generate anything
JEV → choose between bounded options

That makes model routing feel almost obvious:

prompt → JEV → best model

Instead of using an LLM just to decide which LLM to call, let JEV make the bounded judgment and let deterministic code handle the rest.

Maybe JEV's killer use case isn't Doom.

Maybe it's a probabilistic switch statement.

so i am releasing the support for JEV in PI-Bifrost

Try it : pi install npm:pi-bifrost

and do share the feedback.


r/PiCodingAgent • • Aug 17 '26

Plugin Made a Pi plugin to turn AI-garbage writing into simple human language.

Post image
170 Upvotes

As title says.

I was sick of the way AI talks. Needlessly long sentences, weird words that nobody fucking uses (load-bearing, wtf).

Saw somebody make a similar plugin for claude-code, so I made a similar thing for Pi.

Edit, forgot to add the link lol: https://github.com/wtfzambo/speak-like-you-eat


FAQ: why no use i-have-adhd or caveman?

I do use them, there's 2 problems:

  1. sometimes is not as effective, especially in long contexts

  2. AI tends to forget after a while


r/PiCodingAgent • • Jun 16 '26

Plugin I made a Pi extension where the cat runs faster when your agent streams faster

Thumbnail
gallery
170 Upvotes

I love the RunCat mac menu bar app, so when I wanted a token speedometer for pi, it only made sense to make the cat run.

That became pi-speeed, a tiny Pi extension that shows token speed with a RunCat style indicator.

I also made pi-chonk as a bonus: bigger the context, chonkier the cat gets.

You can find them both here:
https://github.com/somus/pi-speeed

https://github.com/somus/pi-chonk


r/PiCodingAgent • • Jul 25 '26

Plugin pi-extensible-workflows: deterministic multi-agent runs you can pause, resume and inspect

Post image
163 Upvotes

I built a Pi extension for multi-agent orchestration. The main Pi agent writes a small JS workflow script for the task at hand, and the runtime executes it deterministically: parallel fan-out, checkpoints, resume without rerunning completed steps.

Three principles I stuck to:

  • not opinionated: no baked-in "agile team" of roles, you add your own primitives to the DSL

  • extensible: other extensions can register functions and variables usable inside workflow scripts, and every registered function is itself runnable as a top-level workflow

  • token efficient: subagents can have other extensions and skills disabled, so their system prompt stays small and focused

What that gives you in practice:

  • runs are regular on-disk Pi sessions, not in-memory, so you can inspect, pause, resume and retry them

  • roles restrict tools/capabilities and inject their own system prompt

  • structured output via JSON schema, so control flow branches on agent output deterministically instead of on vibes

  • soft and hard budget caps per run

  • git worktree isolation, so parallel agents don't fight over the same tree

  • workflows export to an executable launcher in ~/.local/bin

  • if you use herdr, an agent session can open in a new pane

Review fan-out, then dedupe:

const reviews = await parallel("review", {
  correctness: () => agent("Review the current changes for correctness issues."),
  security: () => agent("Review the current changes for security risks.", { role: "security-specialist" }),
  tests: () => agent("Review the current changes for missing test coverage."),
});
return agent(prompt("Deduplicate and prioritize these findings:\n\n{reviews}", { reviews }));

The diagram is the real flow of the one I run daily, developIssuesUntilApproved: takes a list of GitHub issues, gives each its own worktree, loops developer -> reviewer until the reviewer passes (fresh agents every iteration), merges the approved branches on main behind another dev/review loop, cleans worktrees with plain shell (not an agent), and summarises exactly once.

Install: pi install npm:pi-extensible-workflows (Node 22.19+)

Happy to answer anything about the DSL or the resume semantics.


r/PiCodingAgent • • Jun 03 '26

Use-case a bit late into the party, but Pi is awesome, and here are list of my extensions

Post image
162 Upvotes

I like the way of Pi

that to be said, this is not to introduce some yet another extensions or themes

this is to share what i have done and doing with Pi agent, and you can absolutely do the same, no need to use/install any of my extensions/ themes (all have been written by Pi anyway)

so here is my way of Pi:
- main driver model: openai-codex/gpt-5.5 ($20 chatgpt plan)
- external extensions: pi-subagent, pi-web-access

then my own stuffs (pi wrote all of them):

- theme: neon-green, opencode-theme

- statusline: statusline-pi (simplify from context-stats project of mine for Claude Code)

- advisor-pi: replicate how advisor feature in Claude Code (I just provide the link to advisor feature on Claude Code docs)
- grok-pi: use grok-build and composer-2.5 models in Pi (bridge from grok-cli) - just ask my Pi to do it
- opencode-pi: same idea with grok-pi, use free models in opencode (bridge from opencode-cli) - just ask Pi to do it.

also sometime I use some local models via llamacpp/ollama, I just provide end-point then Pi do it own config to see the available models.

in short, that is my way of Pi - Pi is awesome.

if you want to see more detail with screenshot, or try those extensions/themes out of the box, you can check my repo here: https://github.com/luongnv89/pi-extensions

enjoy Pi-ng!