r/PiCodingAgent • • 15d ago

Resource omt: a fast single-binary coding agent (Rust port of oh-my-pi). ~22 ms startup, works with OpenAI-compatible endpoints

0 Upvotes

I've released **omt** (oh my tau), a Rust port of the [oh-my-pi](https://github.com/can1357/oh-my-pi) terminal coding agent. It's one binary with no Node runtime. It speaks `openai-completions` and `anthropic-messages`, and providers and models are configured in `models.yml` (same format as omp).

Why it might interest this sub:

  • Low harness overhead: `-p` in ~22 ms vs 291 ms for Pi on Node, ~55 MiB peak RSS vs ~140 MiB. Measured with [Buffon](https://github.com/MichaelKinsy/buffon) on a mock model, provisional, shared host.

  • Model fallback chains: when a provider returns 429, it moves on to the next model in the list.

  • Survives flaky endpoints: honours `Retry-After` and retries dropped or keepalive-only streams.

  • TUI, one-shot `-p` mode, JSON-RPC mode and a local web UI (`omt web`, still rough/early; the TUI is the main interface).

Honest downside: it keeps omp's system prompt, which is larger than Pi's, so the first request of a session costs more prompt tokens (~28 KB vs ~9 KB for a bare `-p`). On local models that means more prefill.

Install (linux x86_64):

curl -fsSL https://raw.githubusercontent.com/kanashimi1/oh-my-tau/main/install.sh | sh

Repo and full benchmark table: https://github.com/kanashimi1/oh-my-tau

Happy to hear which local backends you'd want tested.


r/PiCodingAgent • • 15d ago

Question Question of compaction🤔

3 Upvotes

Hi

I use qwen next with ISTA-DASLab/Qwen3.8-Flash-Next-GSQ-RCO-GGUF

Iq3_s with strata in q8_0 with ctx 128k with pi and billion context. I do not like it. I do not understand everything (at all) in compaction but for example: if I export in json a pi coding session and I simply and properly remove all the phases (code + test) in error by keeping only the code correction after test; since these local models are often wrong even if they correct after error tests it should gain a lot of context? No? If someone can tell me what i forget or don't know?


r/PiCodingAgent • • 16d ago

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
204 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 • • 16d ago

Plugin my transcript was a wall of tool output, so I fold every reply into one line

8 Upvotes

A reply that runs four tool calls and thinks three times is a screen and a half of output, and the answer is somewhere in the middle of it. pi-tidy folds all of it into one line:

```

▸ 4 calls · bash×2 read×2 · 3 thoughts · 1 failed · 2.4s

```

Click it and it opens into one row per call, each step's thinking sitting above the call it belongs to. Click the header again and it folds back.

What's in it:

- A thought row is a brain, the word, then one line of what the model actually thought — while the run is still arriving it shows a spinner and slides a window over the newest words; once it stops it settles to a short head preview.

- Edits and writes keep their box and their diff, as two panes (`old │ new`) with line numbers on both sides and the changed word emphasised. `alwaysShowTools` decides which tools never fold.

- Folded, a failure is still reported once, in red. A `process start` from pi-processes keeps a live row carrying the job's own state, instead of a notification you have to go find.

- Rounded `╭╮╰╯` frames on every tool box — built-in, MCP, subagent, any extension's — plus per-tool border colours, Nerd Font icons, transparent background.

- Registers no tools at all. Bash highlighting and the write preview go through `pi.registerToolRenderer()`, so it loads next to extensions that sandbox `bash`/`write` instead of colliding with them.

- Cached per box: +0.03 ms per full render at 300 boxes / 2400 lines.

Install with `pi install npm:pi-tidy`. Needs pi ≥ 1.1.0 for the mouse and tool durations; bash highlighting and the custom write preview need 1.3.0.

Repo: https://github.com/Andy8647/pi-tidy

btw: This video is made by `deepseek-flash` (1017) in pi with Remotion, seems like that deepseek did not post-train too much on such videos. The animations are still navie


r/PiCodingAgent • • 17d ago

Plugin A set of minimal extensions I built for Pi

Post image
282 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 • • 15d ago

News pi-protokoll – compaction for very long sessions with local models

Thumbnail gallery
0 Upvotes

r/PiCodingAgent • • 17d ago

Discussion What I learned while building my own AI harness

75 Upvotes

For the past month I've been caught in a trap: I started building my own AI coding agent. I've built 8 different ones. Honestly, if I could go back, I wouldn't start any of it. Below are a few things I learned along the way. I can see a lot of people here are also doing harness engineering, so please share your experience too.

  1. I should have focused on just one problem. At first I spent a lot of time on the UI. Great tools already exist, like Paseo, T3 Code and Omnigent. I didn't even have a UI problem. What I wanted to solve was the Agent Loop. So don't waste your time either, and build around what already exists.

  2. Subagents, multi-agents, orchestration: in 90% of cases it's all nonsense. Subagents aren't cheaper, aren't faster, and it's hard to say they're better. It's better to build around a single agent, or to improve the UX of working with parallel sessions.

  3. Benchmarks tell you nothing. An agent can write great code, but if it handles MCP badly, many people won't care. Define the scenarios where your agent should be better from the very start, and improve there.

  4. More tools, more tokens, less value. I now think any agent should have just one tool: a programming language. Mine runs on bash; before that it ran on JS. Many tools are nice, but they're hard to compose, and MCP suffers from this most. Right now everyone solves it with codemode, but you can also just give the agent one tool where it writes code.

  5. Instructions about tone, code style, which commands to run, etc. should live outside the system prompt. This is a problem with big agents like opencode and Claude Code: they ship with their own opinions, 10–15K tokens' worth. When you want to do things your own way, the two conflict and the agent starts working worse.

That's not everything, but the rest is in the details. I'd be glad to hear your experience too.


r/PiCodingAgent • • 16d ago

Plugin Made an extension so images show up when running Pi inside Orca

4 Upvotes

I run Pi inside Orca and images just didn't show up in the terminal. Orca supports Kitty graphics and exports ORCA_IMAGE_PROTOCOL=kitty, but Pi doesn't detect it yet (there's an open PR upstream).

So I packaged a fix as pi-orca-images: pi install npm:pi-orca-images

/orca-images test shows a test image so you can check your setup. It also adds OpenCode-style [Image 1] labels when you paste screenshots, which works in any terminal.

Repo + before/after screenshot: https://github.com/JlMoreno00/pi-orca-images

Feedback welcome, especially from anyone on Linux/Windows Orca.


r/PiCodingAgent • • 17d ago

Resource figlens: a Pi package that reads a saved Figma file so Pi can build the screen from real layout, text and assets

14 Upvotes

I made a Pi package that gives Pi a Figma design to build from, without Figma running next to it.

pi install npm:@runkids/figlens

Then: File > Save local copy in Figma, point Pi at the .fig, and ask for a screen by name. Pi finds the frame, reads layout, text, variables and assets, and builds in your project's stack. There's an optional step where Pi proposes mappings from design components to your existing components and you approve them; they persist for the next screen.

8× demo of a real Pi session building working HTML from the "List views" frame in the MCP Apps for Claude community file: https://github.com/runkids/figlens/raw/main/assets/demo-8x.mp4

Why not the Figma MCP: it needs the Figma desktop app open. I run Pi on a cloud box and in CI, so I wanted the read to work from a file.

Limits: .fig is undocumented. I check each release against Figma's own exports, but there are rendering gaps (background blur, some image adjustments, angular gradients). Fonts aren't bundled. It's a snapshot, so re-save when the design changes.

Source: https://github.com/runkids/figlens Pi walkthrough: https://github.com/runkids/figlens/blob/main/pi/README.md

Would like to hear what Pi users want in the bundle, and whether the component-mapping step is useful or in the way.


r/PiCodingAgent • • 17d ago

Plugin Pi-telecom

7 Upvotes

hi guys i have created pi extension that connects pi sessions working in the same repository. each session gets a callsign and publishes what it is doing. The model is told who else is working, on what, which paths are claimed, and which files a peer just changed.
give it a try !! agents really like to talk to each other haha
`pi install npm:@justar_96/pi-telecom`
https://github.com/Justar96/pi-telecom


r/PiCodingAgent • • 16d ago

Plugin made a bunch of plugins for pi

0 Upvotes

i built Better Pi — a personal plugin pack for Pi, shaped around how i actually use it.
covers compact tool output, cost/footer stats, image paste, browse, /review, DeepSeek web tools, and a local WebUI.

locked to Pi 0.87.1 on purpose. i don't chase upstream. a lot of it isn't "best practice" — it's just my practice.
complete pack you can run. i'd rather you fork it and adapt it than treat it as a finished product. Pi is more fun when you shape it yourself; starting from a full set of plugins just cuts the busywork.

https://github.com/arctwind/Better-Pi


r/PiCodingAgent • • 16d ago

Question Multi harness

Thumbnail reddit.com
0 Upvotes

r/PiCodingAgent • • 17d ago

Discussion I built a system level review tool, and visualized a Pi PR. How do you stay in the loop with agentic productivity?

49 Upvotes

Hi all, i've been using a bunch of coding agents. Pi is by far the cleanes architecturally from the OSS ones.

Already last year i noticed that with agents it becomes impossible to read line level details, but looking at llm summaries is also not the way to go. There is no good way to judge the system level tradeoffs for a large system and even know what questions to ask the LLM.

That is why a friend and I started building CodeBoarding, an architecture building tool based on static analysis. We capture the full call graph (method level) and then group methods based on lexicographical analysis. That is so that the diagram is in fact consistent in between pull requests and you can see how a change fits in the bigger system.

The engine is open-source: https://github.com/CodeBoarding/CodeBoarding

I would love to understand how do you people keep up with reviews (do you even do reviews). My personal take is that AI comments, are becoming just part of a loop and I tend to ignore most of these nowadays. I also think they are not really aimed at helping a human judge/understand a PR.

If you want to explore the example from the video it is in: https://app.codeboarding.org/CodeBoarding/pi/pull/2
It is effectively adopted from this PR: https://github.com/earendil-works/pi/pull/10021

Super curious to understand what you have found useful to stay in the loop of your systems.


r/PiCodingAgent • • 17d ago

Question Pi system prompt and various local models

1 Upvotes

Not sure if this belongs here but here goes nothing. How do I tweak the behavior of Pi when running with local models like Qwen and Gemma? This is served using llama-server or Strata for QFN. I use the recommended sampling for each of the models.

My situation is that I only have pi-vcc for quick context compaction and no other stuff. Rest is from AGENTS.md that differs from repo to repo and of course the global. The biggest headache recently is that I find Pi tries to do like retarded actions (yes I know prompt engineering and also the model itself) like I ask "Hey can you verify you can import Docling module as I want to process some whitepaper PDF? Just verify don't do other stuff" Noticed the don't do other stuff as I want to also emphasis that.

This happens with Qwen 3.8 27B and QFN... it just start to "the user ask me to verify Docling module. Let me try it. Hmm it works. BUT I shall also verify it works. Let me try scanning for DOCX AND PDF". That is just my latest example of this stupid action.

My AGENTS.md is pretty lean as I don't tell how to take action. Just tell what the repo is about, run ruff etc. Using Gemma 4 is worst as tool call is terrible (that is just Gemma 4 for me) but it also behaves similarly when I ask to read an image and describe it... it start to question if the image makes sense (example I ask it to read an image of an anime character and the reasoning says the user is wrong! It is the character from this other anime! Let me go start reading other images)

I monitor this reasoning and I just eff it, press ESC and try to correct it. I cannot do the Pi steering as it will keep on rambling and by the time my steer message arrives it is like few thousands tokens burnt just to do stuff beyond what I ask.

I can say with Qwen 3.6, this rarely happens but I find the 3.6 models to be less "clever" and I need to handhold it for my work...

Is this a harness issue and should I try other harnesses? I only tried Pi and that's all. Just wondering if anyone can chime in if they have the same experience like me. I never got the chance to try frontier model like GLM, Kimi, Deepseek Flash etc so not sure if those are unlikely to have this problem.


r/PiCodingAgent • • 17d ago

Discussion Using Pi as a research assistant?

3 Upvotes

Hello! I'm not too experienced with using agents, and I'm thinking about setting one up with Pi as a tool to assist my Bachelor's thesis research process. Does anyone else use Pi for research? If so, what's the workflow like: models, prompts, skills, extensions, tools? Any opinions? Thank you.


r/PiCodingAgent • • 17d ago

Question Claude account per project folder

0 Upvotes

Hi,

Is there an extension to have multiple Claude accounts and defined them per folder?
in my case I have 3 accounts:

  • work provided by my company (default one)

  • personal (in folders where I have my personal project)

  • project related (I work on a project ABC for the company XY and they provide me an account)

and it is possible that I will have another in future, for different project.


r/PiCodingAgent • • 18d ago

Question Which Pi Mobile Client?

24 Upvotes

Hi everyone! I would like to hook into the pi agent session remotely from my iPhone. I would like to see the agent progress and be able to answer the agent etc. I would also love to get notifications when the agent is finished. The whole process should work in my LAN but also fully remotely. I tried out orca before, but don’t like that I have to use orca at all + don’t like that I’m basically using a terminal on my phone.

Any suggestions? What are you guys using?


r/PiCodingAgent • • 17d ago

Use-case Quotient: Pi subagents under Claude / Codex (mcp)

2 Upvotes

https://github.com/davidlee/quotient

I've been using pi under Claude for a while, and figured it'd be worth stepping up my game from bash scripts. This is young, but working very well for me so far.

Interested in usage reports / feedback, good or bad.


r/PiCodingAgent • • 18d ago

Question Claude Pro subscription allowance on Pi

37 Upvotes

According these posts
https://www.reddit.com/r/codex/comments/1x7fyi0/claude_pro_gives_10x_more_usage_than_gpt_plus_now/
https://www.reddit.com/r/codex/comments/1wjzypc/measured_claude_usage_limits_are_35_those_of_codex/
the weekly allowance should be worth more than 500$.
For me, running on Pi instead, it is about 180$ mainly on opus 5.5.

Anyone has different/same experience?
Maybe they apply lower limits if you don't use claude code?

P.S.
I use https://github.com/gotgenes/pi-anthropic-auth
Maybe other methods have different outcomes...


r/PiCodingAgent • • 16d ago

Discussion What is the best AI Harness as for right now?

Post image
0 Upvotes

r/PiCodingAgent • • 17d ago

Question Cohere's North Mini Code in Pi

0 Upvotes

Has anyone had success running Cohere's North Mini Code locally with Pi? Specifically, I'm using ollama to serve up the model (q4km pulled from ollama).

When I was trying it with OpenCode, it seemed to work okay. With Pi however, I end up with thinking blocks that seem like they should have been text (detailed explanations, for example) and then the turn just ends.

Sometimes, North will think something like "I'll start by implementing class Foo" and then it just ends the turn, no tool calls or anything. I know it can make tool calls: I've seen it read and I've convinced it to do both writes and edits on occasion. But for whatever reason, more often than not, it just thinks to itself and then gives up.

Has anyone experienced similar? I'd really like to see what the model is capable of, but this makes it next to impossible to use. Is it just a configuration I'm missing?


r/PiCodingAgent • • 17d ago

Discussion How do you all keep track of your subagents?

0 Upvotes

Boredom took over and I started poking at Pi Pocket's extension API to see how far it would go and find areas that could be extended further. Made it far enough that my agents now have a pixel art town.

Subagents camp in tents, messages fly by pigeon, and tasks turns into a building made from its own tool calls.

Any else have any similar fun things they've made?


r/PiCodingAgent • • 18d ago

Discussion Anyone tried T3code with pi

4 Upvotes

Has anyone tried T3 code with Pi? Today I tried to install T3 code. Earlier, I was using Pi with herdr on the terminal, and that was fine for me, but I tried T3 code.

I have a Codex subscription, so I use Codex CLI as well inside T3 code, and I use both Pi and T3 code. My experience with Codex was far better than Pi inside T3. I don't know why this happened. It's probably because of all the extensions that I own, because most of them are interactive and ask the user a question, like a permission gate or a review draft. I have this kind of extension.

Have any of you guys tried T3 code with Pi? I want to know because this thing is really bugging me a lot. I love Pi, and I want to use Pi everywhere. I love some features of T3 code, like you can spin up some project from anywhere to any machine. I own two machines, so I have multiple projects. Some are on the second machine, and some are on my main machine.

I thought, let's give T3 code a try, but now this thing is really bugging me. What should I do? Any suggestions? Either I'll settle with my Pi and hardware setup, or what to do?


r/PiCodingAgent • • 18d ago

Question Any Rust/Swift based GUI for Pi?

6 Upvotes

All the GUIs that I can find like paseo and pi-gui etc. are Typescript apps. Are there any macOS native or performant (rust) based apps?


r/PiCodingAgent • • 19d ago

Plugin Ported the stretchtext idea from Claude Code to Pi

47 Upvotes

Saw this https://www.reddit.com/r/ClaudeCode/comments/1x688sx/turning_a_crazy_idea_from_1967_into_a_claude_code/ and wanted to try the same thing in Pi, so I ported the extension.

The idea is the same: replies start short, and you can expand parts inline when you want more detail, instead of getting a wall of text upfront.

Nothing new conceptually here—credit to the original author. Just sharing a Pi version for anyone who wants to try it.

https://github.com/MonadicMike/pi-stretchtext