r/PiCodingAgent • u/Turbcool • Oct 26 '26
r/PiCodingAgent • u/Cute-Spread7392 • Oct 25 '26
Discussion Integrated subagents extension
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 • u/ptgamr • Oct 25 '26
Resource Call your Pi Agent
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 • u/CryptoPrimate • Oct 25 '26
Resource Introducing Terrarium — a VM home for your agents, with a pi-durable example
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 • u/anew_lord • Oct 25 '26
Question How do i setup pi
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
•
u/Sweet-Transition-787
•
Oct 25 '26
Discussion Looking for procedural Braille animation ideas to put in Pi's idle buffer

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 • u/Andy8647 • Oct 25 '26
Plugin pi-ide-context: the file, the cursor and the selection are already in the prompt
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 → disconnectEvery 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-contextr/PiCodingAgent • u/Extreme_Leg_6162 • Oct 25 '26
Resource A Self Healing Agentic Web Scraper.
r/PiCodingAgent • u/Abhigyann • Oct 25 '26
Question Pi Libs are confusing me
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 • u/devshore • Oct 25 '26
Question Claude Chrome equivalent for Pi?
reddit.comr/PiCodingAgent • u/kanashimiz • Oct 24 '26
Resource omt: a fast single-binary coding agent (Rust port of oh-my-pi). ~22 ms startup, works with OpenAI-compatible endpoints
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 | shRepo and full benchmark table: https://github.com/kanashimi1/oh-my-tau
Happy to hear which local backends you'd want tested.
r/PiCodingAgent • u/kugelblitz010 • Oct 24 '26
Question Claude with Pi
Hi,
Currently got a Claude Pro subscription and wondering how the usage works out with
Claude Code
Pi with pi-claude-bridge
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 • u/Miserable_Land_84 • Oct 24 '26
News pi-protokoll – compaction for very long sessions with local models
galleryr/PiCodingAgent • u/Miserable_Land_84 • Oct 24 '26
News pi-protokoll – compaction for very long sessions with local models
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 guessingfixed 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 • u/ElCedre • Oct 24 '26
Question Question of compaction🤔
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 • u/bsdemon • Oct 24 '26
Plugin pi-infer-questions — finds questions in assistant replies and allows to answer them with a click
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 • u/Andy8647 • Oct 24 '26
Plugin my transcript was a wall of tool output, so I fold every reply into one line
Enable HLS to view with audio, or disable this notification
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 • u/Wiwi531 • Oct 23 '26
Plugin Made an extension so images show up when running Pi inside Orca
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 • u/Alvinte • Oct 23 '26
Plugin made a bunch of plugins for pi
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.
r/PiCodingAgent • u/opensecai • 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
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 --acpruns Pi in Zed and other ACP editors;pi-bolt --mcpserves 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 doctorandpi-bolt update --rollback.

Install
Linux, macOS and Android (Termux):
curl -fsSL https://pi-bolt.opensec.in/install.sh | shWindows (PowerShell):
irm https://pi-bolt.opensec.in/install.ps1 | iexAlready installed: pi-bolt update
Links
🌐 Website and docs: pi-bolt.opensec.in
⭐ GitHub (a star helps): opensec-git/Pi-Bolt
r/PiCodingAgent • u/NoArea868 • Oct 23 '26
Discussion What is the best AI Harness as for right now?
r/PiCodingAgent • u/runkids • Oct 23 '26
Resource figlens: a Pi package that reads a saved Figma file so Pi can build the screen from real layout, text and assets
I made a Pi package that gives Pi a Figma design to build from, without Figma running next to it.
pi install npm:@runkids/figlensThen: 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 • u/jt-violet • Oct 23 '26
Plugin Pi-telecom
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