r/PiCodingAgent • u/Distinct-Pie2389 • Oct 13 '26
r/PiCodingAgent • u/Rjkashyap05 • Sep 18 '26
Resource Built a native desktop client for Pi Agent — looking for feedback 🚀
Hey everyone! I’ve been working on Orbit Pi, a native desktop client for Pi Agent.
It’s built with Rust + GPUI and is focused on providing a clean desktop experience for running and interacting with AI coding agents.
I’d love to get some early testers to try it out and share honest feedback.
🔗 GitHub: https://github.com/imrj05/orbit
I’m especially interested in feedback on:
UI/UX and overall workflow
Agent interaction
Terminal / coding experience
Performance and stability
Features you’d like to see added
This is still evolving, so bug reports, suggestions, and criticism are very welcome.
Would love to hear what you think after trying it! 🙌



r/PiCodingAgent • u/Double-Entertainer62 • Sep 09 '26
Discussion Same task, same model: Pi passed in 90 turns. Codex needed 187. What were the extra turns buying?
On one python-statemachine task, Pi passed in 90 turns for $2.50. Codex passed in 187 turns for $5.97. Both used Kimi K3 in the same evaluation environment. [source: https://frontierharness.org/]
Across all 30 tasks, Pi passed 18 with a $2.43 median cost per pass. The single-task comparison doesn’t tell us why Pi took fewer turns or whether that pattern holds elsewhere.

Our recommendation: Pi the balanced pick, particularly if the same job runs a thousand times and the bill adds up.
What would you look for in the traces: repeated searches, extra testing, or time spent fixing a wrong approach?
r/PiCodingAgent • u/teachmehowtowookiee • Jul 27 '26
Discussion I built an open source self hosted version of OpenRouter called Millwright (has first class support for Pi), would love any feedback
Hey r/PiCodingAgent! I recently open sourced a project I've been working on for a while now called Millwright, a self hosted LLM router focused on cost savings, transparency, and performance (it's completely written in Rust). Millwright offers first class support for Pi, so just a small edit is needed to ~/.pi/agent/models.json to get up and running.
Link to the repo: https://github.com/Northwood-Systems/millwright
For the curious and lazy, at the moment, Millwright has the tools for,
- Providers: OpenAI-compatible APIs, Anthropic, Amazon Bedrock
- Routing: policy-controlled model roles (cheap, mid, frontier), cheapest healthy route selection
- Protocols: OpenAI Chat Completions, Anthropic Messages, text and tool translation
- Cache Affinity: role-scoped session lanes without serializing concurrent agent traffic
- Spend Tracking: per-team costs, cache usage, model/provider mix, request traces
- Cost Analysis: measured usage and modeled candidate economics (HTML, Markdown, JSON)
- Reliability: bounded failover, circuit breakers, timeouts, concurrency limits
- Setup: interactive provider, model, and pricing configuration without storing provider secrets
- Deployment: one Rust binary, Docker, SQLite or PostgreSQL
Full disclosure: parts of the codebase were built with AI coding agents. All feedback is welcome, I’d especially value feedback on the routing policy, provider coverage, and anything that would block you from self-hosting it. Feel free to open feature/request and/or contribute as well.
r/PiCodingAgent • u/haposeiz • Jul 06 '26
Plugin I Built A Telegram Client For Pi (not a bridge)
Hi hi
I wanted to interact with my Pi from telegram. Existing solutions were essentially DM bridges where you had to start the session on your laptop and then you can continue it on telegram. Mario Zechner himself has an extension for this, I used it, but didn't like the fact that the telegram bot had fewer commands and it was a bridge, not a client.
So, I went ahead and built my own. Now I genuinely believe that forks are the future of personalized software.
Published it as an npm package here: https://www.npmjs.com/package/@atharva-again/pi-tg
You can run it as a systemd / launchd process with lingering enabled to get the best experience.
r/PiCodingAgent • u/travisliu • Jun 25 '26
Resource A loop like this can save more than half of token usage.
Ever since Ralph came along, people talking about "Loop Engineering" again. Without a doubt, loops are pretty much unavoidable when you're working with AI agents. But whenever it comes up, people always complain about how it eats tokens.
It's worth digging into why this happens. Basically, context piles up quickly during each loop, causing token consumption to rise faster with every round.
During a loop, we usually have to run tests to make sure the generated code is actually good. But people might not realize how many tokens a simple test run can burn. Take one of my projects with 1,497 test cases, for example. Even when using a dot reporter and turning off colors, running the full test suite just once burns through over 100k tokens. That's exactly why your quota drops so fast.

workflow scripts can totally flip this around. When you run a massive batch of tests, all you really care about is finding the failed ones to fix. So, why not just use a script to run the tests first, and only call the AI agent if there are actually failed tests to patch up?
Thanks to the last two resets, I dropped a bunch of new features into open-dynamic-workflow all at once. Two of the big ones are the tool and loop functions. The tool function lets you run pre-built scripts including tests as much as you want without burning any tokens. The loop function makes it easy to edit anything that needs iteration. Plus, they both support resuming, so you don't have to stress if the execution gets interrupted halfway through.
Pair up the `loop` and `tool` functions, and you can easily run a test-fix loop while using the absolute bare minimum tokens until everything is fixed. You can check out some detailed examples in the links below:
loop workflow:
https://github.com/travisliu/open-dynamic-workflow/blob/main/examples/quality-gate/workflows/demo-quality-gate.js
test and build tool:
https://github.com/travisliu/open-dynamic-workflow/blob/main/examples/quality-gate/tools/npm-quality-gate.js
If you found this helpful, I'd really appreciate a star on my `open-dynamic-workflow` repo—it lets me know I should keep putting time into it!
r/PiCodingAgent • u/Altruistic_Panda_420 • Jun 13 '26
Question Optimizing Pi for Deepseek
I primary use pi with the deepseek api,, any recommendations to get it to reach a cache hit rate equal to code whale or reasonix? Also what is your ideal config to get plan and auto modes like claude code and open code have? I'm new to using pi and currently only use rpiv-todo.
r/PiCodingAgent • u/Glad-Win1983 • Jun 12 '26
Use-case Run Pi in Bare Bones mode
Small tip if you are using pi with local models and need to maximize the available context.
I set up two aliases: pii (pi-ignorant) and pio (pi-omnipotent)
pii after first question use only 2.5%/66k context that I have for my local model, while the omnipotent versjon starts with 21.5%/66k (almost 10x bigger, even if my "omnipotent" setup is quite modest).
Here are the aliases I use:
alias pii="pi --no-context-files --no-extensions --no-skills --no-prompt-templates --no-themes"
alias pio="pi --append-system-prompt /path/to/my/APPEND_SYSTEM.md"
The second alias is redundant, unless you need to append to the system prompt, you could just use the regular pi. It is possible to tune pi very much by just using options. Check pi --help for a lot of great tuning opportunities, like read-only, specific model etc.
It is also great if you want a stripped versjon just to chat/ask questions without having to pay for extra tokens on a larger model.
This might be obvious, but easy to forget how much can be done this way!
r/PiCodingAgent • u/Interesting_Arm_7250 • May 18 '26
Use-case Pi Agent makes very nice combination with limited hardware. Running qwen3.6 35B A3B IQ4 at ~22t/s with 160k context on 6 vram 64 RAM.
galleryr/PiCodingAgent • u/_supert_ • May 09 '26
Use-case Chasm: A text adventure / interactive fiction game built on pi.
tl;dr: interactive fiction engine with pi, one line installer, need testers. chasm.run
Remember the games of your youth? Zork, Hitchhiker's guide, Leather Goddesses of Phobos? Infocom and Inform?
I remember well that I never got hold of them to play them, or that they were stupidly hard. So I wrote chasm, a generative text adventure game. A bucket of ambition and 8000 lines of Hy later, I ended up with an unmaintainable behemoth and no time to maintain it.
Fret thee no more!
Pi appeared, and LLMs became capable. Now chasm is just a thin skin over pi. State is just markdown files (places, characters, events) in a git repo. That's really all you need.
Except testers. I need testers and would love contributors.
See the homepage and/or the repo. MIT licenced. Tested on linux, probably would work on mac, no idea on windows.
Install with
curl -sSL https://chasm.run/web-install.sh | bashr/PiCodingAgent • u/kingkongpao • May 07 '26
Plugin Reddit exploration extension for Pi (No login required)
Hey, guys.
I got tired of constantly searching for things on Reddit manually, so I made an extension that searches for anything, finds relevant subreddits, reads comments, and does all sorts of other stuff (except for posting messages).
Extension uses Reddit's public .json endpoints so authentication isn't necessary
More details: github.com/SaintNerona/pi-reddit-research
Install:
pi install npm:pi-reddit-researchr/PiCodingAgent • u/[deleted] • May 01 '26
Question Is oh-my-pi the best batteries-included Pi mod, or does it diverge from Pi's minimalist philosophy too much?
I've been using it for some time because I wanted to try out a Pi-based harness without having to spend too much time setting it up. With that said, I've been realizing that the main point of Pi is to be minimalistic and contain only what you want. I'm curious what the community's thoughts are on this topic.
r/PiCodingAgent • u/roaringpup31 • Apr 17 '26
Question The best Memory package?
Which one are you using, why, and what's your experience?
pi-mem
pi-agent-memory
memex
EDIT: After looking a Pi-mem, it's just a fork of the most used memory management plugin for Claude Code called Claude-Mem. It's a thin adapter... so thinking of cloning Claude-mem (incredible IMO) and then just copying pi-mem's adapter and maintaining it myself. I'm not sure how much support that repo is getting.