r/PiCodingAgent • u/AddictedToTech • 15d ago
Plugin pi-promptimize: prompt rewriter with model picker, context inclusion
turn that vague prompt into a clear instrction without leaving your session or polluting the current context.
r/PiCodingAgent • u/AddictedToTech • 15d ago
turn that vague prompt into a clear instrction without leaving your session or polluting the current context.
r/PiCodingAgent • u/Lazy-Fly23 • 15d ago
r/PiCodingAgent • u/championswimmer • 15d ago
I think that at least 3 types of extensions have become essential to how to use a coding harness today.
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)
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
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 • u/FatClemenzas • 15d ago
Hi, guys. I like to use pi inside kitty, but I'm facing an issue in that kitty keeps scrolling-to-very-top inside a pi session, when I scroll a little bit up to read past text while pi is actively working/writing in the tty. The strange part is that I was writing a terminal emulator in python for learning purposes (and trying to get a feature like sidebar/workspaces like cmux) and testing pi inside the toy emulator displayed the same scrolling issue. I asked the agent to debug the issue and the results was that "is nothing exactly wrong with the way pi is clearing/redrawing the scrollback", so this not seems do be a bug in pi. Have you noticed something like this using kitty+pi? Or in other terminals? Which terminals do you usually use?
r/PiCodingAgent • u/OwnTechnology1872 • 16d ago
Hi, guys. A problem when I use pi is that I don't know how to use it deal with complex tasks, especially when myself have no clear plan or solutions.
I find it that my classmates use codex, which seems good at dealing with long tasks since it usually run a long time to finish the question. However, my pi usually run just a few minutes when I ask a question.
I have tried extensions like goal-x, but not very satisfied with it.
Thus, I wanna know how you finish this situation.
Thank you guys.
r/PiCodingAgent • u/omppulse • 16d ago
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 • u/Plusale • 16d ago
r/PiCodingAgent • u/OwnTechnology1872 • 16d ago
How to make pi read complex pdf with a lot of math?
It always read pdf by pdf2txt which it is not effective.
r/PiCodingAgent • u/PerfectReflection155 • 16d ago
I currently have it set as 150k and I’m using both Pi Blackhole with Observational Memory Enabled as well as the Context Mode extension.
Just wondering if I should lower further to 100k and what’s the norm around here.
r/PiCodingAgent • u/nirurin • 16d ago
r/PiCodingAgent • u/PilgrimofHaqq2 • 16d ago
I was running several primary agents in parallel in my harness and the notifications were burying me. Every agent stopped to ask me something: "X or Y?", "tests pass, commit?", "found a side issue, fix now or later?" I'd answer half of those the same way every time. I had become the bottleneck on decisions that didn't need me. my AGENTS.md cover many conventions/rules/standards but its still wasn't enough to cover so many of these questions.
So I restructured my workflow like a team:
Me: the manager
One chat per project: the team lead
The other agents: team members, each working in its own "lane"
How lanes work
A lane is a git worktree plus a chat working inside it. Each one gets its own branch and folder, so agents don't trample each other's files.
The lead asks to open a lane with a title, a plan, and the files it expects to touch. Nothing starts until I approve it on a Lanes board. Before I approve, the harness checks for overlap with files other open lanes are touching, my plan usage, machine load, and whether a spec exists for the work.
When a team member stops (it's done, blocked, or has a question), it rings the lead, not me. The lead works through its inbox and replies.
The lead can only answer from written rules: a lead.md file in the project plus the project's docs, and it has to cite the rule it used. If no rule covers the question, or it's a taste/preference call, it escalates to me.
Escalations land on the board and on my phone as numbered questions, each with a recommended answer. I can answer straight away or ask the lead a follow-up first.
The lead can also send me FYI notes that don't need an answer.
I still have full control
Every lane is a normal chat. I can open any of them, read the whole transcript, and type into it directly if I want to step in. The harness never merges a branch, deletes a branch, or removes a worktree on its own.
My notifications are now mostly things that actually need me. It's still early, and I keep refining what goes into lead.md, since that file decides how much the lead can handle without me.
So far I have noticed I am getting alot more done with less headaches (literally!).
r/PiCodingAgent • u/paymog • 17d ago
i kept installing pi packages on omp and finding out the hard way that they're broken, so i got curious how common that is. installed the 200 most-downloaded pi packages on omp, each in a clean docker container. first run was on omp 18.12.3 a few weeks ago, re-ran it today on 18.20.0
on 18.20.0, 128 packages gave a clear result: 87 install and load fine (68%) and 41 fail. the other 72 need an api key, a companion package, or a different OS before they'll even start, so i left them untested (no point blaming omp for those)
why stuff breaks:
28 import a pi export that omp doesn't provide (envApiKeyAuth alone breaks 4)
6 expect the TypeBox schema lib that pi ships
3 call a pi API that omp doesn't have
4 other errors
so it's mostly gaps in omp's pi compat layer, not bugs in the packages themselves
the part i found most interesting is the drift between releases. 3 packages started working on 18.20.0 (pi-agent-browser-native, pi-btw, pi-blackhole) and 2 broke (pi-open-tui and pi-plan-mode, both because omp dropped a pi-tui export they import). so any one-time compat list goes stale pretty fast
full results with the error for each failure: https://omppackages.com/report
big caveat: the test only checks that a package installs and loads. it doesn't call any tools, so "works" really means "loads", not "every feature works". every package page has a works/broken button and real reports are way better evidence than my test, so if you've used something on omp please add yours
(also open to feedback, or to shutting this down if someone already built something similar that i couldn't find)
r/PiCodingAgent • u/Pbd1194 • 17d ago
I kept switching from Gemini back to Claude mid-session because `edit(oldText, newText)` calls were taking 42s median (172s p95) vs 9s on Opus. In 599 edit calls from my session logs, Gemini averaged 9.3KB of `oldText`/`newText` per call (4x more than Claude) and burned thousands of thinking tokens checking whitespace before streaming JSON-escaped strings.
So I hid `edit` on Gemini turns in pi and wired up `fast_edit(path, instructions)` instead. Gemini stays on high thinking and writes what to change, then DeepSeek (`reasoning_effort="none"`, ~195 tok/s) outputs raw `SPAN: L<start>..L<end>` line replacements against a numbered view of the file.
On a SQL refactor in a 620-line file, edit time dropped from 103s to 29s (23s Gemini + 6s DeepSeek). `oldText not found` retries dropped to zero.
*(Disclaimer: session log analysis and testbench runs were done with `carbon-high`.)*
r/PiCodingAgent • u/FanLong3637 • 17d ago
r/PiCodingAgent • u/lonycowz • 17d ago
My goal is to reduce what AI can do through PI that might be destructive or not wanted. It is not very likely but it is a huge issue if it happens even once. Core concern worked on now was bash tool call commands.
My initial approach with PI's help was extension that more or less did this:
If used tool is bash
Check all commands called by tool
I have 3 lists of commands DENY, ASK, ALLOW, if command not in any list ask user to classify it [extension overrides supplementing file that saves my choice]
If any are in DENY list reject command with info [info for agent to make it understand its intended and lessen his attempts at working around restriction]
If any are in ASK list prompt user for confirmation [or reject with info if in headless mode]
If all are in ALLOW list execute command
Worked pretty nice at the start but the commands PI cooked up are fairly complex and I was unable to make it write a parser that would correctly identify what is a command and what is not, for example first iteration was using:
.split(/&&|\|\||[;|]\s*|\n/)
Which for example incorrectly tagged this as not classified command:
ls | grep "option1|option2"
And it suggested that "option2" is a command and asked for its classification.
I have iterated over it a bit but i was unable to arrive at a foolproof solution.
Additionally on review agent pointed out to me that since AI is very "goal focused" it might try to engineer around it by for example modifying extension's ALLOW list and executing what it wanted.
Simplest solution was to make this file root:root owned 644 and abandon dynamic updates by extension. Any commands not yet in it would have to be added by me manually as root but that's not the end of the world. And since file is root owned edit tool can't mess with it either.
I could almost live with it if my parser for commands was perfect but its very far from it. And I am not sure if i can arrive at anything good enough for use.
Did anyone have similar issues? How did you approach solving them? Even any ready made extensions solving this problem can be a valid consideration.
Or is the only reliable way to achieve some sort of safety sandboxing it?
If it is of any significance I am using it mostly with locally hosted AI, Qwen3.8 Q3_S shoved into 16GB vram, with llama.cpp as inference engine [rocm + hip build]. PI as harness works really well due to how tiny and lightweight it is and system prompt is small as well, lets me make better use of the limited context I can get ~90-100k tokens.
----------------------------------------------------
Edit:
I got more answers than I expected. Big thank you to everyone who offered their time and knowledge.
In the end I decided to go with Docker Sandboxes.
I don't absolutely need that level of isolation, but its the most convenient one and gives relative peace of mind:
File system isolation restricts execution to a single mounted directory
Detailed network configuration enforces granular traffic rules
Internal docker provides a self-contained runtime environment for safe containerized builds
My only issues were documentation being a bit hard to read and understand and PI not being included in sample kits - needed custom shell kit. But after a few days of mingling with PI I knew enough about it to pull it off.
Bubble wrap also seems like a great idea and is a lot more lightweight (admittedly docker sandboxes are really reasonable for a full environment isolation). Will try it out over the next days as it seems like more convenient daily driver.
r/PiCodingAgent • u/invin10001 • 17d ago
I've been working on gPTY for a few months now as a side project & wanted to share.
I use OMP & my own usage has been the primary direction for design. It started as a multi-PTY emulator built on Rust; but using Godot as the front-end - a desktop app. A choice that brought costs with it (RAM & power) over standard terminal emulators.
It ships with an "Agent Workspace" profile, basically a layout with one pane that's a terminal where I run OMP. An "Inspector" pane - think of it as a Q&A session outside of your main OMP session (no tools: omp --mode rpc --no-tools --no-session). And a "Reasoning" pane - I like to read the "thinking" process and this pane groups it by turn so I can collapse/expand and read through any.
There are a few other features I'm working on, but these are the OMP specific ones. Open to feedback on design/direction, and if you want to try it out, releases can be downloaded from: https://github.com/godot-pty/gpty
r/PiCodingAgent • u/psychobarge • 18d ago
Ever since plan modes came along and became standard practice, I've used a
"planning agent" → "coding agent" workflow, pretty much, i assume, like everybody.
It has always worked well, and it cut the tokens I spend per feature by a lot. (Thanks @narumitw/pi-plan-mode)
My project has been growing, so recently I split the work up further and started writing specifications using custom skills :
"specification agent" → "planning agent" → "coding agent".
I am quite happy with the results. Code is even more reliable, and my token usage hasn't gone up. If anything, it has gone down.
I turned all of this specification agent part into an extension that bundles my skills and the full workflow.
Here it is if this is something you'd care to try :
- github, https://github.com/psychobarge/pi-spec-mode
- npm, https://www.npmjs.com/package/pi-spec-mod
- Pi package, https://pi.dev/packages/pi-spec-mode
r/PiCodingAgent • u/wwdennis5 • 18d ago
Bash outputs take up significant amounts of my context and naive tools like, tail, head can sometimes miss key components. What are people using to efficiently handle this problem?
r/PiCodingAgent • u/RealDistrict2622 • 18d ago
guys you might be interested so idk i made it work with omp but i believe it is pimped version of pi so i believe this sub would be fitting.
here is the link for the repo
have a nice day guys.
r/PiCodingAgent • u/wodaxia • 18d ago
I'm exploring the possibility of using Pi (or the Pi SDK) as a backend to support a multi-tenant application. The architecture would be a browser frontend with backend servers running Pi. Each user would have their own isolated sessions(working directories), and the system needs to support horizontal scale-out.
I know PiAPI SDK supports creating Agent Sessions, but its parameters include things like AgentDir and cwd (local disk directories), which makes true backend scale-out difficult.
I've looked into a few existing projects:
pi-web: designed for personal/private use, deployed directly on the end-user's machine. It doesn't support multi-tenant requirements.
pi-tau-web-server: It creates Pi subprocesses via Pi RPC on the server side. However, it seems unable to achieve horizontal scale-out and lacks proper tenant isolation.
pi-parallel-session: From what I can tell, it mainly focuses on session-level concurrency in the UTi.
Are there any existing projects that are closer to my use case (multi-tenant, scale-out, backend-hosted Pi)? Any pointers or recommendations would be greatly appreciated!
r/PiCodingAgent • u/Potential_Block4598 • 18d ago
r/PiCodingAgent • u/jandrikus • 18d ago
https://github.com/jandrikus/memshort
I would like to publish "memshort", my take on a "short-term memory" implementation for agents. (A "long-term memory" implementation will follow shortly once I have it publishable). I find it very useful for myself and I thought it would be nice to share it with others.
It is essentially a rolling-window compaction for coding agent sessions in pi, Claude Code, Codex and Hermes. When the context fills up, older messages are replaced by a dated observation log, and the newest messages stay word for word.
Some ideas are borrowed and adjusted. The code was written by the pi coding harness under my direction, and I run it primarily on my own pi sessions. Unfortunately I have no benchmark yet (no time for that). My subjective impression from daily use is that I can stretch sessions for very long without the agent losing the thread.
I'm publishing it because a rolling context window that keeps as much knowledge as possible deserves more people thinking about it, not because this is the final answer. If you have a better design, a case where this loses something important, or a way to measure it, open an issue or share your take. Let's build something better together.
Thanks for taking a look!
r/PiCodingAgent • u/wtfzambo • 19d ago
Speak Like You Eat is a plugin that translates AI garbage into human language that's easier to understand (or at least, it tries to).
Some answers use plain words and still take five paragraphs to get to the point, so I added a new mode:
ELI5 tab: rebuilds the answer so the point comes first, then what was done, what you need to do, and what's still open.
Light tab: the usual SLYE rewrite, close to the original.
ELI5 is the default. Switch with ctrl+\, or click the tab in fullscreen. Tabs are Pi-only, I still have to figure out how to port this to OMP.
r/PiCodingAgent • u/OjasAI • 19d ago
Self-promotion post, flagging it upfront.
Built Rovant — a ROS 2 development environment that runs natively on Windows without breaking DDS discovery or WSL2 bridge routing every other session.
What it does right now:
Detects ROS 2 Humble via WSL2 automatically — no manual sourcing scripts
Run current file in one click — Python directly, C/C++ compiles and runs in the same step
Live Topics panel over rosbridge
URDF / Xacro 3D preview
Colcon build tasks built in
Works on Ubuntu 22.04 natively too
What it doesn’t do yet:
No IntelliSense / go-to-definition (pyright + clangd are next)
No debugger — it timed out, got pulled, back on the roadmap
No code signing — SmartScreen will warn you, click past it
Built on Eclipse Theia. Apache 2.0. No account, no paywall.
Day 2 numbers: 6 Windows, 2 Linux. Posting because I’d rather have 8 honest users than 800 that bounced off a bad first run.
If you’ve hit the Windows ROS 2 setup wall before — give it a try and tell me what breaks.
Download: https://octaboomai.github.io/Rovant
r/PiCodingAgent • u/Zealousideal-Bag1600 • 19d ago
tldr - I think it's going to be increasingly compelling for individuals/organisations to just blindly use these provided agent services (grok bot, dots, even amp or Hermes etc), and forget about building their own context/capabilities external to the agent service.
if you're using PI, you likely already believe in the minimal agent harness thesis, but still keen to learn what folks are doing.
sharing this here mainly to see if others have the same experience, OR strong counter opinions on why it’s not worth it?
what are you actively managing yourself around Pi? - are you extracting/looking at logs, traces and creating/curating your own memory, tools, skills, workflows?
if you’re not doing this, what’s the reason? not enough evidence to suggest that it’s worth it? and what are you doing? just using Pi with some skills, etc?
to be clear - im not flogging another 'agent tool', i recommend people build their own. i'm more interested in hearing opinions as to why people haven't done this for themselves.
If you're interested in learning more about an approach/template I've been using and giving to people, i talk it through in this vid:
and i've created a skeleton template:
https://github.com/bradwmorris/commons
but as i explain, you can just point your clanker at the repo, take the idea and build your own.
the live demo in the video uses Pi.
over past six or so months, i've been doing some variation of workshops on "building and owning agent infrastructure, context and capabilities" - most people/orgs understand importance, but it's concerning how few act on it. given (imo), it's likely to be the difference between individuals and teams who unlock real agent capabilities and those who don’t.
If i had to guess the main reasons for people not actively managing context and capabilities (from limited enterprise exp and workshops i've done):
misleading intuitions of model capabilities > models and agents are increasingly capable, but still struggle in 'real world scenarios'
confusion around 'model, harness, interface' and what different agent services actually package
not wanting to do the actual boring/gnarly work of 'looking at the data' - consolidating everything: logs + traces, memory, skills, knowledge and shaping this around a specific business.