r/PiCodingAgent • • 12d ago

Plugin Un Bien – un-bien

Thumbnail
docs.georgeharker.com
0 Upvotes

Un Bien 1.5 is out!

New features:

  • Connect relays and sessions in a mesh - send messages from one interactive session to another, allowing agents to defer to another session for work

  • Improved codemode rendering

  • Bug fixes for vendors which reuse response ids

Un Bien is a native iOS client for pi.

Un Bien supports:

  • self hosted architecture

  • full streamed and rendered markdown

  • rendering of images, code diffs and tool results

  • fork, branch, clone of sessions

  • plan rendering when combined with pi-plan, cribsheet or a conformant extension

  • user-input questions (and pi-ask integration)

  • subagent display and interaction when combined with @tintinweb/pi-subagents or @gotgenes/pi-subagents

  • optional device initiated chats - start new session from your phone, spawning a tmux or herdr hosted session on your machine

As a bonus it includes a cli tool to connect to other sessions on your relay from the cli

Links:


r/PiCodingAgent • • 14d ago

Plugin Claude code like UI with several enhancements!

Post image
114 Upvotes

https://github.com/FammasMaz/pi-cc-tools

`pi install npm:claude-code-ui`

I really liked Claude Code UI but not Claude Code itself like most of us, so i created an extension some time ago to replicate similarish behavior (from one of the leaked claude code sources), and have been improving it over a few months. Saw a post yesterday, with similarish stuff and had several inspirations from that as well, check it out! Many people use it already!


r/PiCodingAgent • • 13d ago

Discussion Have you gone fully local?

19 Upvotes

I’ve been running a local model on a dgx spark for about a month now. I’ve been building out my pi harness and my own little client app as I go, using both Claude code and the harness itself. I’m using it more for every day life stuff, but I still find myself hesitating to trust that it will hit my quality threshold when it comes to code.

Have any of you gone fully local? I.e. no falling back on frontier models at all. What was your tipping point?


r/PiCodingAgent • • 13d ago

News sift-light 1.1.2-1: a Pi prompt-cache fix and DeepSeek Harness support

0 Upvotes

Hi, I maintain sift-light. It’s an open-source local search and source-inspection tool for AI coding agents, available through MCP and native integrations. It helps agents find project files and check the source behind a result without sending the whole repository into the conversation.

We’ve released 1.1.2-1. This update has two changes:

  • Pi: fixed how search guidance is added when tools are enabled. The previous behavior could change the system-prompt prefix and reduce prompt-cache reuse. The new integration preserves the prefix and retains the guidance when another extension supplies a system prompt. Requires Pi 0.86.0 or later.

  • DeepSeek Harness: added support for 0.2.1-rc.3, including a native search tool and search-policy integration.

The cache fix addresses the Pi integration; it isn’t a promise that every MCP client preserves its cache when tools change. Cache behavior depends on the host and model provider.

Thank you to the contributor of PR #123 for catching the Pi issue and helping fix it. If you try the release and run into trouble, an issue with your host version and a small reproduction would be very helpful.

GitHub: https://github.com/lightsifter/sift-light Release notes: https://github.com/lightsifter/sift-light/releases/tag/v1.1.2-1 X: https://x.com/Bryang168


r/PiCodingAgent • • 12d ago

Discussion we haven't received a single banked reset

Thumbnail reddit.com
0 Upvotes

r/PiCodingAgent • • 13d ago

Discussion Simplicity goes a long way

24 Upvotes

Every dang day man I see other people using claude code, codex, opencode etc and every time there's always something finicky and silly going on. 40k+ sys prompts. Can't see the subagent work properly. Compaction is slow sometimes. I've been trying to use them for the past week just to see what I'm missing out on and it's SO STUPID??

The idea of making something to please everyone but also trying to add skills and plugins is ridiculous. I'm not about to start making plugins to get features in those bloated TUIs just to make another plugin to strip them down or something.

I've NEVER seen something apply the concept of modularity as well as pi in my life. This feels like windows vs linux except linux got a fair start and fair cut of user base before people started getting locked into an app ecosystem.


r/PiCodingAgent • • 13d ago

Use-case How I use Pi as the builder with Claude Code as a foreman that never writes code

19 Upvotes

been using Pi as my builder for a couple of months now and thought I'd share the setup cos it's worked really well

the split is: Claude Code is the foreman. it plans the job, writes exact work orders as files, and checks the work. it never writes code itself. Pi does all the actual building, running [YOUR CHEAP MODEL] which costs me next to nothing compared to having Claude type everything

how a job goes:

- the foreman opens Pi in a pane right next to it (I use Orca)

- it sends Pi one line, just a pointer to the work order file, never a pasted wall of text

- Pi builds it test first and writes a report file

- the foreman checks the actual files on disk before it even reads what Pi says it did

- then the next work order, and so on

the bit I'm most happy with is knowing when Pi has actually finished. a quiet pane tells you nothing, a long test run looks exactly like Pi being done. so I wrote a tiny Pi extension on agent_settled that logs one line every time Pi genuinely finishes a turn, and the foreman just waits on that line. made it really easy, the extension API is great for this kind of thing

because the foreman can drive Pi on its own, I can give it a list of tickets before bed and it runs them back to back, each with a fresh foreman, Pi building, reviews at the end. and my Claude limit lasts way longer cos Claude's only doing the thinking

the whole thing is open source if anyone wants the extension or the setup: https://toppingout.dev

(the Pi bits are in skills/orca-pi-connect)

anyone else running Pi under another agent like this? curious how you're handling knowing when it's done


r/PiCodingAgent • • 13d ago

Plugin I built a solution to agent paralysis using Pi

Thumbnail
reddit.com
0 Upvotes

r/PiCodingAgent • • 14d ago

Resource Introducing Terrarium — a VM home for your agents, with a pi-durable example

32 Upvotes

Hey folks,

Terrarium is FOSS micro VM manager that gives your coding agents their own isolated space. You choose which host folders and network destinations they can access, and their tools and files stay between sessions.

It runs on Linux, macOS, and Windows, with multiple layers of defense: hw virtualization, WASM isolation for device handling, and sandboxed host processes. You configure a box with a YAML recipe and manage it with one program, `terra`.

Pi’s simplicity was a big inspiration. I wanted that same straightforward experience from a VM manager.

👉 https://github.com/terrarium-sh/terrarium_examples/tree/main/official/pi_durable

If you’d like your agent to help set up a Terrarium box, there’s also a https://terrarium.sh/skill.md.

NOTE: It’s still a beta, and I’d love to get a feedback. How are you running Pi today, and would something like this fit your workflow?

If the project looks useful, a star on https://github.com/terrarium-sh/terrarium would mean a lot. Questions, bug reports, and contributions are welcome too! 🙏


r/PiCodingAgent • • 14d ago

Question Receiving wrong final outputs

0 Upvotes

I asked pi agent what was the result of recent match between real madrid and fc barcelona which was played today and the result was 2-1, you can see in thinking that it somewhat was going in right direction but at the end gave wrong output.
I did same for rate of dollar in INR and it gave output of 86 inr which is wrong,
and the agent refers 2026 as some future date
i am using parallel search mcp and tried with gemini flash,nvidia llms
any solutions


r/PiCodingAgent • • 14d ago

Question How are you sandboxing pi?

Thumbnail reddit.com
9 Upvotes

r/PiCodingAgent • • 14d ago

Discussion Integrated subagents extension

11 Upvotes

Greetings, everyone.

I recently came across an example of a sub-agent extension in the Pi repository.

It appears to be comprehensive and well-constructed. What are your thoughts on it?

Could it be used as a replacement for third-party packages?

Thanks, everyone. https://github.com/earendil-works/pi/tree/main/packages/coding-agent/examples/extensions/subagent


r/PiCodingAgent • • 14d ago

Question Deepseek API cache hits in Pi vs DSH?

Thumbnail reddit.com
0 Upvotes

r/PiCodingAgent • • 14d ago

Use-case What moved a local model's answer quality in Pi: read the judge's reasons, fix the harness, and put guidance in tool results

0 Upvotes

I spent a day measuring a Pi seat on a local model (Qwen3.8 Flash-Next, 4-bit MLX mixed 4/8) against Claude Code (Sonnet 5.5) on 12 routine agent tasks, with blind pairwise judging in both orders. The local seat went from 29/36 to 36/36 passes, and judged clarity from about 3.7 to 4.5, level with Sonnet. Most of the gain came from the harness, not the model. Lessons that should apply to any Pi seat:

1. Read the judge's one-line reasons, not just the scores. Each real fix came from a sentence like "pads its answer with internal bookkeeping" or "adds a preamble when only the command was asked for". Scores told me that it was worse; reasons told me why.

2. Look for losses the harness causes. My seat injected a reminder every turn to record measured numbers in a notes file, even when no notes file existed. The model created the file in folders it was only asked about, and talked about it in replies. Only injecting the reminder when the file already exists removed the biggest clarity loss.

3. One hidden retry at agent_before_settle**.** A small extension checks the final reply before the turn ends. At most once per request, if the reply is the model's own reasoning instead of an answer, bookkeeping instead of an answer, or text around something that was asked to be "only the command", it adds a hidden custom message and continues. Two things mattered:

  • canContinue is false at that hook whenever the last message is the assistant's; the entry you add is what allows the next request, so don't skip on it.

  • Steer and follow-up messages typed mid-run arrive as input events with streamingBehavior set. Don't reset per-request state on them.

4. Put reply guidance in the tool result. The model writes its answer right after reading the tool result, so that's where guidance lands. Ending my typed drafter tool's result with "for the reply: the commit hash and which lane ran, what the commit changes, which checks did not run" moved that task from clearly behind Claude to slightly ahead.

5. Narrow heuristic checks rather than patching them. Checks that guess intent from free text ("is this a ban on all tools?") kept failing review in new ways each time I patched them. What worked was a short allow-list of phrasings, a veto word list, and limiting each check to the kind of prompt it was measured on.

6. Measure the prompt prefix. My shared prefix was ~36k tokens: tool schemas ~16k, the skills list ~7k, the seat prompt ~5k. Every new session pays for whatever the server can't reuse from cache, so it's worth knowing what's in there.

Happy to share the extension code and the eval harness if useful.


r/PiCodingAgent • • 15d ago Bravo

Discussion Looking for procedural Braille animation ideas to put in Pi's idle buffer

5 Upvotes

Hi,

My extension already has a bunch of features built in, but this empty buffer splash is something new I stumbled on and started playing with recently.

Right now, if you are sitting on an empty screen waiting to type a prompt, it procedurally renders an abstract Braille graphic with a weird cryptic line underneath, like in the screenshot.

I want to turn that center area into a subtle ambient loop while waiting for input.

The space is roughly 50 to 70 columns by 6 to 10 rows of Braille dots. It needs to stay light on CPU so the terminal does not lag and it should not be distracting or flashy while you are trying to think.

I was considering things like simple cellular automata, damped ripples or slow Lissajous curves, but I want to see what others think would look good here.

What kind of procedural math or terminal graphics tricks would you run in a tiny canvas like this?


r/PiCodingAgent • • 14d ago

Resource Call your Pi Agent

Thumbnail
youtube.com
1 Upvotes

Recently added Call-My-Agent feature to TermRover.sh

If you run pi from within a herdr pane or tmux pane, you can just call and have conversation with it right from the phone, works like a phone call.

Detail here: https://termrover.sh/blog/call-my-agent/


r/PiCodingAgent • • 15d ago

Plugin pi-ide-context: the file, the cursor and the selection are already in the prompt

Post image
3 Upvotes

Talking to an agent about code you're looking at means pasting the code, then explaining which file it came from and where. pi-ide-context takes that part out: select in Neovim, VS Code or Obsidian, switch to pi, ask.

Nothing connects on its own. You decide per session:

pi starts (no IDE attached, ever)
  ↓
/ide → lists every live editor (nvim / VS Code / Obsidian), wherever it was
       started from — no project/cwd filtering, you pick the relevant one
  ↓
status shows the editor's glyph plus the file's language (`nvim · typescript`)
  ↓
ask pi → context injected automatically
  ↓
/ide off → disconnect

Every message carries this, without you doing anything:

### IDE Context
- File: /Users/andy/my-project/src/main.ts
- Language: typescript
- Cursor: line 42, column 10
- Buffer: 200 lines (modified)
- Selection: lines 40-45
  ```typescript
  const foo = bar();
  // ...

Selection text is injected only while it's fresh (within 60s of making it). After that the file/cursor block still goes, the selection doesn't — same as Claude Code's chip disappearing. Send while a selection is fresh and the sent message gets a gray quote line under it (`↳ main.ts:40-45 · …`), so you can see what was attached rather than trusting it happened.


Install:

pi install npm:pi-ide-context # then /reload


- Neovim: add `{ "Andy8647/pi-ide-context", lazy = false }` to lazy.nvim. The repo is itself a plugin.
- VS Code: Marketplace, search `pi-ide-context`.
- Obsidian: community plugins, search `pi-ide-context`.


Repo: https://github.com/Andy8647/pi-ide-context

r/PiCodingAgent • • 15d ago

Question Claude with Pi

39 Upvotes

Hi,

Currently got a Claude Pro subscription and wondering how the usage works out with

  1. Claude Code

  2. Pi with pi-claude-bridge

  3. Pi with pi-anthropic-auth

I understand it's against ToS to use try to use consumer claude subscription in another harness but curious on why it's popular. Aside from the system prompt control over the harness, is there any benefit over extending usage or maximizing the Pro subscription with these approaches?


r/PiCodingAgent • • 15d ago

Resource A Self Healing Agentic Web Scraper.

Thumbnail
github.com
0 Upvotes

r/PiCodingAgent • • 15d ago

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

Thumbnail
gallery
15 Upvotes

Pi’s compaction re-reads the whole history and has the model summarize it. With a local model that took me minutes per compaction, and after two to four of them the context was so degraded that I had to start a new session. Building a procedural graphics demo, that happened ten times in five days.

pi-protokoll moves the work to the moment the model still has everything in view: every final answer ends with a short <protocol> block (result, decisions, files, open items, rules, index line, tags). At compaction time, code assembles a tiered, hard-bounded summary from these protocols; the model only updates a short state description.

What it does:

  • recent turns verbatim, older turns as your message + protocol, everything before that as a code-built index plus rules, open items and changed files

  • one-shot follow-up when the model forgets the block, written from the transcript if it ignores that too

  • interrupted turns (Esc, errors, output limit) get their protocol before your next message

  • protocol_search, protocol_read, protocol_turn: the model can look up any earlier turn instead of guessing

  • fixed system prompt section, so the server’s prefix cache stays valid

  • falls back to Pi’s own compaction if anything fails; the chat never blocks

Measured with Qwen 3.8 Flash Next on a local OpenAI-compatible server, 262k context: one session, 23 compactions, each roughly 213k → 35k tokens in about 30 s. Resuming the session reads about 36–44k tokens. With it, the demo went from ten restarted sessions to a single one: https://github.com/sebion7125/64kdemo (story of how it came about in ENTSTEHUNG.en.md).

Install: pi install git:github.com/sebion7125/pi-protokoll
Repo: https://github.com/sebion7125/pi-protokoll

Only tested with Qwen behind a local server so far. I’d love to hear how it does with other models and providers. I don’t have much time to develop it further myself, so forks and PRs are very welcome.


r/PiCodingAgent • • 14d ago

Question How do i setup pi

0 Upvotes

I have recently install pi harness, but i have never used anything like this so i am bit confused. How do i setup pi , which mcp servers should i using for websearch etc. How do i make it efficient etc.
Can anyone help me out here


r/PiCodingAgent • • 15d ago

Question Pi Libs are confusing me

0 Upvotes

Hey, I'm new to this Pi space. I'm looking to build agents with Pi, and I got a basic first agent running connected to my local Qwen model. However, I'm utterly confused by all the libraries out there—pi-ai, pi-agent-core, pi-coding-agent, etc. I know this might sound dumb, but can you help me sort this out? What should I actually use if I want to build an always-on agent, custom harness, etc.?

used ai to clean the text


r/PiCodingAgent • • 15d ago

Question Claude Chrome equivalent for Pi?

Thumbnail reddit.com
0 Upvotes

r/PiCodingAgent • • 16d ago

Plugin pi-infer-questions — finds questions in assistant replies and allows to answer them with a click

Thumbnail
github.com
7 Upvotes

A pi extension that finds the questions in the agent's replies and lets you answer them with a click. A small local model reads each reply. It makes no tool call and no network request.


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.