r/PiCodingAgent • • Aug 14 '26

Resource I wanted pi to work while I sleep, so I built the missing layer around it.

Thumbnail
gallery
191 Upvotes

pi has no queue, no spend limit, and no permission system, which is fair, that's not its job.
But I wanted it working unattended.

So I built the layer around it, and after a bunch of releases it hit 1.0 this week. MIT, sharing it here first.

The short version: something triggers a job (a cron schedule, a label/comment/PR on GitHub, GitLab, Forgejo or Azure DevOps, or a workflow extension's slash command), the job runs pi in a throwaway locked-down container, and the budget is checked before the container even starts.

If a loop runs away you get a refusal, not a bill.

It's basically the same idea as Claude Code routines, except everything runs on your own box:
your image, your queue, your caps, and triggers beyond a schedule.

https://github.com/edgehero/pi-dispatch

Curious how others here run pi unattended, and what would stop you from using this. "It breaks my setup because X" is the most useful comment you can leave me.


r/PiCodingAgent • • Oct 05 '26

News Introducing Pi-Bolt ⚡,the same Pi you all ❤️ with 35× faster large file writes, 2.4× less CPU, 3.3× less memory

Thumbnail
github.com
188 Upvotes

Hey everyone 👋

We've been working on this for a while and it's finally out. Pi-Bolt is Pi 1.0.3 compiled ahead of time to native code (AOT, no JIT).

Same Pi you already use, and it works with all your Pi plugins. It's just faster and lighter. ⚡

Benchmarks

Linux x86-64 (Benchmarked on AMD EPYC 7B13)

BenchmarkPi-BoltBun 1.4.2Node 22Node 24
Writing a 200 KB file through a tool call0.8 s27.8 s44.3 s33.6 s
CPU, streaming a 60k-char answer3.8 s43.1 s43.7 s40.3 s
CPU per tool turn, real hosted model0.20 s0.49 s0.77 s0.76 s
Memory of a session in tmux27 MB89 MB132 MB209 MB
CPU, interactive session (5 prompts)303 ms844 ms1,242 ms1,233 ms
Ready to type45 ms128 ms303 ms307 ms

macOS on Apple silicon (Benchmarked on M5 MacBook Air)

BenchmarkPi-BoltBun 1.4.2Node 26
Writing a 200 KB file through a tool call0.3 s12.0 s14.2 s
CPU, streaming a 60k-char answer6.9 s25.3 s24.0 s
Memory of a session in tmux31 MB85 MB161 MB
Memory after a 4.2M-token session64 MB95 MB1,890 MB
CPU, interactive session (5 prompts)126 ms363 ms544 ms
Ready to type31 ms63 ms193 ms

The full method and raw benchmark data are in the repo.

What we changed

  1. Native code instead of a JIT. Pi is compiled to machine code ahead of time and starts from a prebuilt snapshot, so there's no warm-up and much less work at runtime. The compiler builds on Jarred Sumner's in-progress AOT work for Bun (oven-sh/WebKit#743), which we brought to x86-64 and macOS.

  2. No more slowdown on long outputs. Stock Pi redoes more and more work as an answer or file grows. Pi-Bolt only processes what's new, and that's where most of the 35× comes from.

Try it 🔥

curl -fsSL https://pi-bolt.opensec.in/install.sh | sh

Works on Linux x86-64 and Apple silicon. Windows support is coming soon, along with Linux ARM64.

Bonus plugins: the installer also offers subagents and a live todo list, two things people often miss in stock Pi. Both come prebuilt, so they load instantly.

Note: It will not modify your existing Pi Coding Agent Installation, So Feel Free to try it out !

Using plugins? They all work as-is. If you rely on heavy ones, use the -jit build of Pi-Bolt, or compile them into your own Pi-Bolt binary so they run as native code too (plugin guide).

🔗 Links

It's MIT licensed. If Pi-Bolt saves you some CPU and RAM, a ⭐ on the repo really helps us out.

Throw your heaviest sessions at it and tell us what breaks. We'll be in the comments ❤️


r/PiCodingAgent • • Sep 20 '26

Use-case I think i found the best use case for JEV and PI

Post image
173 Upvotes

I think JEV gets much more interesting once you stop treating it like a tiny LLM.

LLM → generate anything
JEV → choose between bounded options

That makes model routing feel almost obvious:

prompt → JEV → best model

Instead of using an LLM just to decide which LLM to call, let JEV make the bounded judgment and let deterministic code handle the rest.

Maybe JEV's killer use case isn't Doom.

Maybe it's a probabilistic switch statement.

so i am releasing the support for JEV in PI-Bifrost

Try it : pi install npm:pi-bifrost

and do share the feedback.


r/PiCodingAgent • • Aug 17 '26

Plugin Made a Pi plugin to turn AI-garbage writing into simple human language.

Post image
170 Upvotes

As title says.

I was sick of the way AI talks. Needlessly long sentences, weird words that nobody fucking uses (load-bearing, wtf).

Saw somebody make a similar plugin for claude-code, so I made a similar thing for Pi.

Edit, forgot to add the link lol: https://github.com/wtfzambo/speak-like-you-eat


FAQ: why no use i-have-adhd or caveman?

I do use them, there's 2 problems:

  1. sometimes is not as effective, especially in long contexts

  2. AI tends to forget after a while


r/PiCodingAgent • • Jun 16 '26

Plugin I made a Pi extension where the cat runs faster when your agent streams faster

Thumbnail
gallery
170 Upvotes

I love the RunCat mac menu bar app, so when I wanted a token speedometer for pi, it only made sense to make the cat run.

That became pi-speeed, a tiny Pi extension that shows token speed with a RunCat style indicator.

I also made pi-chonk as a bonus: bigger the context, chonkier the cat gets.

You can find them both here:
https://github.com/somus/pi-speeed

https://github.com/somus/pi-chonk


r/PiCodingAgent • • Jul 25 '26

Plugin pi-extensible-workflows: deterministic multi-agent runs you can pause, resume and inspect

Post image
163 Upvotes

I built a Pi extension for multi-agent orchestration. The main Pi agent writes a small JS workflow script for the task at hand, and the runtime executes it deterministically: parallel fan-out, checkpoints, resume without rerunning completed steps.

Three principles I stuck to:

  • not opinionated: no baked-in "agile team" of roles, you add your own primitives to the DSL

  • extensible: other extensions can register functions and variables usable inside workflow scripts, and every registered function is itself runnable as a top-level workflow

  • token efficient: subagents can have other extensions and skills disabled, so their system prompt stays small and focused

What that gives you in practice:

  • runs are regular on-disk Pi sessions, not in-memory, so you can inspect, pause, resume and retry them

  • roles restrict tools/capabilities and inject their own system prompt

  • structured output via JSON schema, so control flow branches on agent output deterministically instead of on vibes

  • soft and hard budget caps per run

  • git worktree isolation, so parallel agents don't fight over the same tree

  • workflows export to an executable launcher in ~/.local/bin

  • if you use herdr, an agent session can open in a new pane

Review fan-out, then dedupe:

const reviews = await parallel("review", {
  correctness: () => agent("Review the current changes for correctness issues."),
  security: () => agent("Review the current changes for security risks.", { role: "security-specialist" }),
  tests: () => agent("Review the current changes for missing test coverage."),
});
return agent(prompt("Deduplicate and prioritize these findings:\n\n{reviews}", { reviews }));

The diagram is the real flow of the one I run daily, developIssuesUntilApproved: takes a list of GitHub issues, gives each its own worktree, loops developer -> reviewer until the reviewer passes (fresh agents every iteration), merges the approved branches on main behind another dev/review loop, cleans worktrees with plain shell (not an agent), and summarises exactly once.

Install: pi install npm:pi-extensible-workflows (Node 22.19+)

Happy to answer anything about the DSL or the resume semantics.


r/PiCodingAgent • • Jun 03 '26

Use-case a bit late into the party, but Pi is awesome, and here are list of my extensions

Post image
162 Upvotes

I like the way of Pi

that to be said, this is not to introduce some yet another extensions or themes

this is to share what i have done and doing with Pi agent, and you can absolutely do the same, no need to use/install any of my extensions/ themes (all have been written by Pi anyway)

so here is my way of Pi:
- main driver model: openai-codex/gpt-5.5 ($20 chatgpt plan)
- external extensions: pi-subagent, pi-web-access

then my own stuffs (pi wrote all of them):

- theme: neon-green, opencode-theme

- statusline: statusline-pi (simplify from context-stats project of mine for Claude Code)

- advisor-pi: replicate how advisor feature in Claude Code (I just provide the link to advisor feature on Claude Code docs)
- grok-pi: use grok-build and composer-2.5 models in Pi (bridge from grok-cli) - just ask my Pi to do it
- opencode-pi: same idea with grok-pi, use free models in opencode (bridge from opencode-cli) - just ask Pi to do it.

also sometime I use some local models via llamacpp/ollama, I just provide end-point then Pi do it own config to see the available models.

in short, that is my way of Pi - Pi is awesome.

if you want to see more detail with screenshot, or try those extensions/themes out of the box, you can check my repo here: https://github.com/luongnv89/pi-extensions

enjoy Pi-ng!


r/PiCodingAgent • • Sep 20 '26

Discussion Lord forgive me for the time I wasted...

160 Upvotes

...and the money I spent.

I'm currently the lead engineer for a small but growing team. I've been building a fairly complex platform that blends expertise from various niche domains.

Without saying too much, I have been working across:

  • weather event modelling

  • real-time data ingestion

  • embedded development

  • image processing

  • geospatial analysis

  • distributed computing

  • and systems architecture

This has been an amazing proving ground for agentic capability.

I've been using CC on a subscription for the past year. I have a very mature and disciplined ecosystem of skills, hooks, compaction lifecycle, and disk cleanup techniques. Honestly, I've loved it, but the costs have just been too much.

So, two nights ago, I finally decided to explore other options. Since I've been hearing a lot about OMP, I decided to give it a try.

And guys, OH MY GOD. The difference is striking.

OMP is an absolute dream to work with. I'm not suggesting CC is bad, but the scale and complexity of my recent work really exposed it's limitations. For nitty-gritty engineering and design work, I honestly can't even put them in the same category.

My first pass at configuration and model selection gave me something that was faster, cheaper, and produced far better results.


To the devs: God damn, nice job.

To the community: Hoping for advice, tricks, tips, and harness opts/configs that might be fun to play with. I am also wondering what people use for the model config: roles, models, etc. Is there a known meta?


TL;DR

Platform engineer of a large multi-disciplinary project. Switched from CC to OMP, and OMP blew me away. The hype is real.


r/PiCodingAgent • • Jun 15 '26

Plugin pi-subagents - Claude Code like subagents for Pi

157 Upvotes

Hi everyone 👋 I’m the developer of pi-subagents:
http://github.com/tintinweb/pi-subagents

This is an agent friendly, fairly minimal subagent extension for Pi, following the same general model used in Claude Code-style subagents.

What it does (high level):

  • run multiple subagents in parallel (configurable concurrency)

  • background + foreground execution

  • live widget for running/queued/completed agents

  • lot's of custom subagent features for highly configurable subagents

  • mid-run steering (you can send messages to running agents)

  • resume completed runs

  • templated custom agents (no framework setup)

  • spawn subagents from your extension (e.g. https://github.com/tintinweb/pi-tasks can turn tasks→subagents)

  • ... (full agent readable feature list: https://github.com/tintinweb/pi-subagents)

The focus is simplicity: no heavy abstractions, no opinionated defaults, no slag or esoteric features, just a thin layer to run and manage subagents that feel much like Claudes subagents.

Issues / feature requests:
https://github.com/tintinweb/pi-subagents/issues

If you try it, lmk if you find it useful or have ideas and please note that I am responsible to keep it clean and only merge features that are relevant for a broader userbase 😄♥️

About me: I am cofounder/security engineer with Consensys Diligence (https://diligence.security) by day, maintainer of this extension by night but I'll try my best to ship features fast 🤗♥️


r/PiCodingAgent • • Oct 12 '26

Resource How to Set Up Pi like Claude Code

Thumbnail
brucehopkins.dev
156 Upvotes

I wrote a detailed beginners tutorial on Pi. Since I noticed a lot of people come from Claude Code and Codex, I wanted to make a simple starting point for anyone curious.

Along with adding many of the features that Claude Code has, I also looked into the system prompt of Codex, Grok, Kimi Code, and Open Code to make a simple, generalized system prompt.

Let me know any thoughts on this! Are there any parts you'd want to be expanded on? I'll be updating this as Pi, and Claude Code continue to advance.

EDIT: I updated the article to include advice on connecting on your phone, and why not to use Oh-my-pi. I plan to write a follow-up post about creating system prompts.


r/PiCodingAgent • • Sep 24 '26

Discussion Opus 5.5 vs GPT-6 Sol / Luna in pi-agent: results on my everyday coding tasks

Post image
156 Upvotes

I built a small personal benchmark from my real coding sessions and use pi-agent as the harness to compare models on the same tasks.

It has 10 tasks covering data engineering, backend, frontend, DevOps, and trajectory analysis. Each task runs 3 times, giving 30 attempts per model.

To build it, I took around 3 months of agent chats, removed duplicates, and turned selected sessions into Harbor tasks with automated verifiers. I used agents and manual review to build and refine the checks. These are clearly scoped tasks that would usually take me less than an hour.

The latest results:

  • Opus 5.5 high and Astra low cost almost the same.

  • Sol high matches their score at roughly half the cost.

  • Luna gets 29/30 passes while being ~22× cheaper than Sol.

The point of this benchmark is to optimize my daily setup: model, harness, prompts, and plugins. I want to keep the pass rate while reducing cost and time.

This is a small personal sample, but it feels like many short, clearly defined coding tasks are already handled reliably by several models. For this kind of work, speed, cost, and scaling up parallel agents are becoming the more interesting questions.


r/PiCodingAgent • • Jul 10 '26

Discussion My problems with `pi`

156 Upvotes

I've been using pi intensively for 2 months now, and I have to say it's undoubtedly the only software that actually works for agentic programming. All other software is pure garbage made with AI, full of problems and obfuscation. That includes both GUIs and TUIs: claude (the worst), opencode (now AI SLOP), codex, IDE extensions (vscode, neovim, zed, etc.), pseudo-IDEs (cursor, windsurf, etc.).

pi is the only software that's actually STABLE and that DOESN'T SHOVE hidden prompts down your throat — meaning it's the only one that gives you real control.

But since I'm an ungrateful bastard, my motto is "A little destructive criticism never hurts" /nsrs

The truth is pi has some really annoying things. I'll sort them from most annoying to most tolerable. (For context, I use vanilla pi.)

TUI redrawing

This is perhaps one of the most annoying things of all. I don't know exactly what causes it, but at some point — especially in long chats — pi has the horrible behavior of redrawing the entire damn chat every time something updates in the TUI. In short chats you don't notice it, probably because it's so fast you can't see it, but in long chats it's absolute hell. I've reached the point of preferring non-interactive mode solely because of this problem.

It also happens with expand Ctrl+o — it literally EXPANDS EVERYTHING. Every time the agent thinks or executes a tool, it redraws everything, defeating the whole purpose of a TUI.

This made me wonder whether a pi repl wouldn't make more sense than a pi tui, since I think it would be the most natural approach when trying to be a "minimal environment". In fact, they're already a pseudo-REPL that works poorly, because they draw output in the same pty using append, just like a REPL. If they were a REPL, you could even leverage existing tools like rlwrap to get vim-like keys with a simple rlwrap -a pi, among other advantages. Anyway... the TUI is not comfortable at all.

Output size can't be changed

The output of almost everything — tools (read files, bash, etc.), skills, etc. — is always truncated with no way to change it because the truncation value is hardcoded in the code.

This seems silly, but it's actually quite inconvenient for work involving lots of text. For example, small agents reading long texts, searching websites, or text with a lot of noise. Yes! pi tells the agent: "Hey little buddy, if you want to see the full output, read this temp file." But that doesn't solve it — it simply adds more steps for the agent, making it likely to fail and make bad decisions, especially with small agents.

Even large agents often decide they already have enough context, even when they don't (LLMs can't "know" what they "don't know"). The only way to avoid this is to copy all the damn text and input it as a user prompt. It's MEGA inconvenient and, in my opinion, a very basic config setting to have.

Slash commands don't parse text properly

There's a bug that's been there since I started. I saw an issue about it that seems to be ignored, even though I think it's something basic and important.

When you use /slash-command <instruction> followed by additional instructions, if your instruction has formatting and line breaks, pi decides to just load your entire instruction into a single line, breaking all the formatting. And this causes problems for LLMs when understanding your text.

Example:

---
name: fix
description: fix code
---

You must fix this code:

$ARGUMENTS

And then you run:

/fix

jq '.' some.json
echo "foo bar"

What it sends is:

/fix
jq '.' some.json echo "foo "bar"

I don't think I need to explain why this is so bad...

There's no damn UNDO

YES! The tree functionality is quite useful, but sometimes I want to correct something and I have to take 2 or 3 extra steps. On top of that, I inevitably end up creating a fork when I DON'T WANT A FORK, I JUST WANT TO UNDO BECAUSE I HAD A TYPO!!!! AAAAAH!

Please, someone tell me there's an Undo and I just didn't manage to find it, because I can't believe tree exists but not a damn undo.

It crashes mysteriously when using @file

The TUI sometimes just decides to die when you do @file, leaving the shell with glitched characters. I have to type reset in bash to fix it. It happens often enough that I'm afraid to use @ and prefer to manually write exact file names and paths.

The plugins are garbage

Ok... this isn't pi's fault, but I find it sad that plugins don't even remotely follow the same approach as pi. I'd bet you any day of the year that the entire first page of pi packages is AI SLOP. Honestly, using pi + plugins isn't worth it — at that point you're better off just using something completely AI SLOP.

Every plugin I've tried, without exception, fails at such basic and stupid things that it ironically makes me miss the pre-AI era.

Anyway... closing this post. Despite these problems, pi is probably the only software I've tried so far that has parts "generated by AI" that ACTUALLY WORK and are stable. This is probably because there's a correct approach to its development and a real human READING behind all of it. Because yes... it has flaws. But you know what? I'm grateful that these flaws have been there since I started and are still there, instead of new and mysterious flaws appearing every day (/glances with contempt at opencode). I KNOW these flaws. I can learn to deal with them, and everything else keeps working exactly as I expect. That's why pi is GOOD SOFTWARE to me. And if you give me the choice between fixing these problems NOW vs. stability, I'll choose stability every time! Thanks, pi! (but please fix this stuff hahaha)

translate spanish to english by deepseek v4 pro


r/PiCodingAgent • • Aug 04 '26

Plugin Engram, a psychology and neuroscience based learning plugin, is now on pi (it teaches you, not the agent)

Post image
151 Upvotes

Agentic AI made building about 10x faster. Learning didn't get any faster. I noticed I was shipping systems I couldn't re-explain a week later, and it started to bug me. We have a 10x tool for building, so I wanted the equivalent for learning, in the same terminal where the building happens.

That's Engram. It's a tutoring loop grounded in the memory research. And it's aimed at you, not the agent. pi keeps the agent deliberately minimal and lets you extend it until it fits; this is an extension for the human half:

- It breaks a topic into a first-principles concept graph and teaches one node at a time.
- It won't explain anything until you've committed to a guess first. Retrieval before instruction is the single best-replicated result in learning science, and also the part every chatbot skips because agreeing with you is easier.
- Your recall gets graded by a separate blind assessor that never sees the tutoring conversation. The tutor can't inflate grades on its own teaching.
- Reviews are scheduled with FSRS, so they show up right before you'd forget. A few minutes a day.
- Wrong models get logged verbatim and re-probed later. Mine has ten entries for transformers alone, which is humbling to read back.

Honest origin story: with an early version I encoded seven concepts, never returned, and lost about half of them right on schedule. Writing the scheduler earns you nothing if you don't come back. So the whole loop got redesigned around returning: two-minute reviews and a "when will you do this" question instead of reminders. No streaks, no XP.

v1.11 adds pi as the seventh platform, after Claude Code, Codex, OpenCode, Hermes, Antigravity and OpenClaw. Same shape as the last port: it started as a user issue asking for it. Every transport claim in the install guide was verified against a real pi 0.83.0 and 0.74.2 before shipping, with a payload-capture harness that lives in the repo (experiments/pi-harness, 20 checks), so you can re-run the verification instead of taking my word. The one thing I haven't run is a full live tutoring session inside pi. If you try one and something's off, open an issue and I'll fix it.

The pi-specific part doubles as the pitch. pi ships no subagents, on purpose, and Engram's grading depends on a blind assessor that never sees the lesson. It turns out pi already has the only primitive that isolation really needs: a fresh process is a fresh context. So the assessor runs as a fresh pi -p child with skills, context files and the nudge all stripped, and the harness checks the child's payload really is clean. /learn, /review and /coach are ordinary prompt templates (there's /skill:learn too, or plain language works). Your learning state is local JSON shared across all seven tools, so a topic encoded in Claude Code gets reviewed in pi.

One wrinkle worth passing on to anyone writing their own pi templates: pi parses frontmatter as strict YAML, and an unquoted description with a second colon in it makes the template silently not load. /learn reaches the model as literal text and nothing tells you why. That cost me an hour on two pi versions before it turned out to be a colon. Quote your frontmatter values.

Also good to know before installing: current pi wants Node 22.19+. On Node 20, npm quietly serves pi 0.74.2 from the legacy-node20 tag instead of saying anything. Engram is verified on both.

Repo: https://github.com/nagisanzenin/engram and INSTALL-PI.md is the verified walkthrough. Install is one line: pi install git:github.com/nagisanzenin/engram

I'm the author, so grain of salt. But I've been dogfooding it daily to learn transformer internals and it's the first setup where week-old material actually stays with me.


r/PiCodingAgent • • Aug 23 '26

Resource Completely free web research tool (works out of the box with no api keys, hound replacement) stealthy web fetch, web crawl and local web search

150 Upvotes

Built a web research tool to replace hound, which i posed about a while ago

It's called DonSeTch. Since Pi has native extension support, the install is just:

pi install npm:donsetch

No MCP config block, no adapter, no proxy. The tools show up natively in your Pi session and stay in sync with the binary automatically.

What it does

Three tools: fetch, search, crawl. Zero API keys, zero accounts. One Rust binary.

  • Fetch — HTTP first (fast), auto-escalates to a headless browser only when it hits a bot wall. The browser grabs the clearance cookie, hands it back to the HTTP layer, and goes to sleep. It almost never fetches content itself.

  • Search — 10+ keyless engines in parallel, fused by cross-engine consensus + a local ONNX cross-encoder for semantic reranking. No API key anywhere.

  • Crawl — sitemap-aware, topic filter, resume tokens, adaptive pacing that backs off on 429s instead of plowing through.

Chrome's actual BoringSSL for TLS. Your ClientHello IS Chrome's, not a faked table that rots.

The part I care about most: token efficiency

Three tools, ~3.5k tokens of definitions. The focus parameter on fetch is the killer feature.

I just rebuilt it in v3.1 with section-aware scoring:

  • Search for "memory safety" on a Wikipedia page → keeps the entire "Ownership and references" section (heading + body), pulls in parent headings for context, drops everything unrelated.

  • A 50KB page comes back as 500 chars of what you actually asked for.

  • Large code blocks and JSON schemas get split into sub-blocks so focus works on structured content, not just prose.

Other stuff

  • Reference handles — fetch S3 just works after a search

  • Probe mode — verify a claim in ~60 tokens instead of 4k

  • Dead-link resurrection — Wayback snapshot served transparently

  • Page fingerprints — re-fetches report what changed, section-level diffs

  • Domain adapters — Reddit threads, GitHub issues, npm/PyPI/crates pages restructured from keyless JSON endpoints

  • Real MCP cancellation — no silent hangs

  • Crash-only daemon — survives panics, state reloads

  • PDFs — even scanned ones, pixel-fusion extraction (no hallucinated text), up to 100MB

605 tests, 0 clippy warnings, AGPL-3.0.

What it can't do: solve interactive captchas (deliberate, clear error not a hang), access sites requiring login, and if every search engine is down you get honest per-engine status instead of fake results.

GitHub: https://github.com/dondai44423/donsetch

Pi: pi install npm:donsetch npm: npm install -g donsetch

If something breaks, open an issue, i will fix it as soon as possible

The demo is using exa for search btw, local is good on its own, but it takes 4-6 sec while exa takes 1-2 sec (plus exa is better most times, but local search keeps up)

if you want to see a demo where i used local search, see the opencode demo in the github repo


r/PiCodingAgent • • Jun 24 '26

Use-case pi, herdr, and gondolin combo has been a great experience. Thanks to the devs.

Post image
149 Upvotes

r/PiCodingAgent • • Oct 15 '26

Plugin Split thoughts/tools usage/responses in separate views

Post image
147 Upvotes

Hi all!

Simple idea, did not find something that did not make this in an overly complex new UI-revamp-way, so built a relatively simple one myself (+pi of course).

So I like to see the thoughts coming in, and to skim through the tools used, but found it somehow lengthy to scroll back up against the speed at which they come... Toggling them on and off (ctrl+T, Ctrl+O) would sometimes be too much as some tools may expand a lot (edits, searches...) and shift the conversation, again to be scrolled; same with thoughts where there in particular toggle them off would stop me from looking at them, but on would push by a lot the conversation itself (again what I like specifically was to briefly see where the agent were in their process while a turn is running to observe drifting or weird choices that I'd sometimes interrupt, so really I wanted to see the thoughts as they come rather than the full page of it). And I like to see conversation as an actual conversation, so with everything else collapsed.

Anyway, long story short, I wanted to not have them interleaved and I built a wonky (work in progress?) pi plugin to slightly rework the UI and keep a bit of both worlds. The idea is to have the thoughts streaming in one panel, the tool usage in another with very simple view on whether it is running/has succeeded/or has failed... I added a third toggle for a panel which simply display touched files (seen, read, edited, worked by a subagent...) as a list + a diff view of the last edited file, if any (this to keep the tool view compact, as usually the edit tool output where the largest anyway, and I like to also have a glance on what's changed).

Each panel can be toggled on or off:

  • /split toggles between the default pi view and the saved config for split-views

  • /split-thinking toggles the thinking panel

  • /split-tools toggles the tool one; there is an extra command to toggle between a compact or expanded view over the listed tools in the tool panel

  • And finally the file panel is toggled on or off with /files.

Tool/thinking panel width can be adjusted as well as panel heights.

There is a command to switch between still having the full transcript in the main conversation panel or the trimmed down (no thinking or tool interleaved) version (somehow I found it useful to expand on specific tool output).

I usually have the file one off for instance, and only open it to see some file changed that just happened if I know I want to check them briefly... While I keep the thinking and tool panel on top nearly all the time now.

I mentioned it's wonky, as in some features can be improved, like the file panel could be made scrollable, but it works for me as it is, just sharing for the idea, and if you like it go test it: pi-split-view. And feel free to improve on it directly in the repo too.


r/PiCodingAgent • • May 06 '26

Resource pi-emote extension: an avatar for your pi agent

147 Upvotes

Hi! I have been using pi for a while and really liked the harness. I wanted to have a small visual indicator while using it like the old school JRPGs. Not sure if there is something similar already, but it was fun making this extension as a learning project. It kinda feels like I'm playing SNES while coding.

The avatar was made using nano banana as a placeholder, but I would like to change it to something better and more consistent.

It would be nice to have different avatars per model, or customize it yourself. For now, it kinda works with a single avatar.

I only tested it in Ghostty. Wanted to run it through tmux or zellij, but apparently rendering images through them is not as straight forward.

Let me know what you think!

https://github.com/cgxeiji/pi-emote


r/PiCodingAgent • • Sep 30 '26

Discussion Pi is becoming bloated.

Post image
144 Upvotes

Edit: As I adapting my code to 0.99.0, I find that besides mcp, Pi also introduced classifier model. When talking about this new feature, it's all about jev, a hyped model to some extent.

I read this as Pi just jumping on the hype train—trying to catch a ride on all the buzz around this model that's been blowing up lately.

For those happy with built-in mcp, are you happy with built-in jev support? Do you use jev-like model in your coding workflow?

Today Pi adds jev support just for the hype, tomorrow it'll throw in even more code and features that end up being totally useless, all to chase a bit more attention.


Pi always used to claim it would never add MCP support, and it wore that as a badge of pride. Pi's original design philosophy was minimalism, so it only shipped the bare minimum set of essential tools. As I recall, Pi's whole idea was to provide only the necessary foundation itself, leaving everything else for users to customize.

Pi's own blog explained it this way:

The first thing to remember is that the world is not static. We have been paying attention to MCP over the last year and the MCP of today is not the MCP of yesteryear.

But that doesn't add up. MCP had already been popular for quite a while before Pi even existed, and it hasn't really changed much since. If Pi had no plans to adopt MCP when the project was first conceived, there's no reason to adopt it now.

The reasonable explanation I can come up with is that Pi intends to expand its reach — to move from a small geek niche toward a harness better suited to mass-market, out-of-the-box use — and therefore needs to fill in the features it previously lack due to minimalism. Combined with the earlier news that the Pi team planned to sell a model API service, I find this explanation fairly credible.

MCP is just the first step. Will subagents, permission popups, and other features come next? To me, the "we didn't build" section on Pi's official site looks less like a statement and more like a roadmap.


Edit2:

Consider this: once pi becomes a general coding harness, what is your reason for continuing to use it? Compared to official offerings like Codex and Claude Code, as well as open source competitors such as OpenCode, what advantages does the general-purpose version of pi have? Why would users choose pi over the alternatives?


Edit3:

Let me restate the logic here:

  1. This is "your agent," so nothing pi provides as a base should get in the way of any custom changes you want to make.

  2. It's minimalist (per the official pitch), so there's no feature you don't need.

Here's the reality now:

A built-in MCP has been introduced.

This built-in MCP conflicts with what I've already implemented and blocks my custom modifications. And for anyone who doesn't need MCP, it's pure bloat.

BTW, codemode. codemode itself, or call it CodeAct, is something that I have loog been interested in. But the official implementation from Pi is completely different from what I had in mind, so I’ve been struggling to wrestle with the built-in code just to get my version working properly again.

So pi just violated two of its own design philosophies in one go.

And that's why my trust in pi has collapsed. This is exactly where my shock and frustration come from.


r/PiCodingAgent • • Jun 08 '26

Discussion pi + deepseek-v4-flash (from opencode): free & fast

Post image
144 Upvotes

the way of Pi, sometime feels like an illegal/crazy hack.

this combo gives you almost unlimited tokens in Pi

you should not use it for heavy/complicated tasks, but definitely very handy for most of the tasks

my workflow: use advanced models (gpt 5.5/ opus 4.8) for planning, then spin up this for implementing. if it it the wall in any task, trigger advisor to get help from gpt-5.5

just need to ask your Pi to write an extension to connect and use models from opencode.

or you can use my extension here: https://github.com/luongnv89/pi-extensions

wonder if you guys have any other sources that give you more tokens?

(i have tried models from nvidia, but the latency kills my momentum)

Happy Pi-ing,


r/PiCodingAgent • • 18d ago

News ⚡ Introducing Pi-Bolt Mobile: a full coding agent in your pocket + remote control for the Pi-Bolt

143 Upvotes

Introducing our biggest release yet: Pi-Bolt Mobile ⚡, the first fully native coding agent on your phone.

It runs on Pi-Bolt: the same Pi you all ❤️, with runtime optimizations and fixes that make it the lightest and fastest Pi, and it stays quick even in long sessions.

Runs on the phone itself

  • Projects with real files, plus bash, git, ripgrep and fd. No server, no Termux.

  • Sessions you can resume and fork.

  • One slash palette for every command, skill, model and thinking level.

  • A built-in browser for the agent's localhost: Pi opens what it built, takes a screenshot and fixes what it sees.

  • Per-turn checkpoints: review each turn's changes, undo it, or restore to before it.

Remote Control

  • Run /remote-control in Pi-Bolt on your computer and scan the QR code with the app.

  • Works on your Wi-Fi, and from anywhere through a Cloudflare tunnel.

  • A background service keeps it available without a terminal open.

  • Steer the session and review its changes from the phone.

Pi Mobile UI Kit

  • Pi-Bolt extensions can now have a native interface in the app.

  • An extension describes its view as JSON: cards, lists, progress bars, buttons, forms, charts, tables, pages and Home screen tiles.

  • Minimal by design, and extendable just like Pi.

Install 🔥

We'd love feedback, especially from anyone building Pi extensions who wants to try the UI Kit. Happy to answer your questions !

If you like where Pi-Bolt is going, a star 🌟 on GitHub goes a long way and helps more people find it.


r/PiCodingAgent • • Oct 19 '26

Question To Earendil guys: Why did you have to make Pi Durable's description so confusing?

143 Upvotes

Everyone is trying to figure out what this novel piece of tech is and it's hindering its adoption. It's basically a stateful agent where state lives on a server separate from the client (TUI, Web UI, mobile...whatever) and the chat history. Isn't it?

It's a better architecture, and I wonder why not rebase the coding agent on top of it. It's an easy win in terms of reliability and flexibility, for you and the extension builders alike.


r/PiCodingAgent • • Jul 27 '26

Plugin An elegant, information-rich status, menu, and side bar for Pi Agent.

142 Upvotes

I built Pi Atelier, a responsive status rail and live activity sidebar for Pi that makes it easier to see what your agent is doing without cluttering the terminal. It displays live token usage, cost, cache performance, context usage, active tools, execution times, recent results, model details, and thinking level, while also providing quick controls and a resizable sidebar. It’s private by design, with no telemetry or external network requests.

Install it with “pi install npm:pi-atelier” and open it using “/atelier”.

Check it out at https://github.com/michaelmjhhhh/pi-atelier — I’d love your feedback, feature ideas, and bug reports, and if you find it useful, please consider giving the repository a star!

2026.7.28 CHANGELOG

Here comes Pi Atelier official release v0.5.0! Some updates:

  1. The sidebar now opens automatically.

  2. The Activity panel keeps TTFT and TPS visible with live performance estimates.


r/PiCodingAgent • • 2d ago

Plugin 4-tool Rust web extension for Pi: search, fetch, crawl, and screenshots (no API keys, no headless browser for reading, 0$, Stealthy)

140 Upvotes
pi install npm:donsetch

So, Been a while since i have posted here about donsetch, it has gone through a lot of massive updates, so i thought i would post again.

It works natively on pi (Win, linux, mac support), You dont need any keys, just tun the command above and its done, its simple as shit, as you can see in my demo video,

Just uninstall it If you dont like it.

IT IS COMPLETELY FREE, you dont have to pay a dime for it, even the local search is free, fast and actually good , however grab a free api key from a search provider like exa or tinyfish if your workload is heavy.

Now if you want to, Read the technical slop my agent wrote for this post below this:

Repo (AGPL-3.0) + 54-second demo

Built to sit cleanly inside Pi

  • ~2,000 tokens total across all 4 tool definitions. No giant prompt file eating your context window.

  • Compact TUI cards: Pi shows a short status line and one-line preview instead of dumping raw markdown into your terminal, while the model still gets the real content.

  • Real Esc cancellation: aborting a call in Pi stops the in-flight fetch or crawl server-side cleanly.

  • Crash-safe worker: runs under a local supervisor so if anything kills the worker process, it restarts on its own.

No browser in the reading path

Instead of spawning Playwright for every link (or getting 403'd with plain curl), page reads run in one local Rust process:

  • 8 measured client profiles with matching TLS, HTTP/2, header order, and isolated per-site cookies.

  • Embedded V8 when JS is actually needed for WAF challenges or client-rendered SPAs, with zero CSS layout or painting. In a cold 17-site SPA check (Linear, Hugging Face, npm, Ashby, Angular docs, Bluesky, Mastodon, etc.), all 17 returned content without touching a browser.

  • Learns and replays plain HTTP: when a SPA pulls its data from an API endpoint during a JS run, DonSeTch stores that request template and replays it over plain HTTP on repeat or sibling pages without booting V8 again. Learned routes survive restarts.

  • Defended-site numbers (28 targets, home IP): cold runs got content on 23/28 targets (46/56 rounds, 1.16s median vs curl's 20/56). With learned state and no page cache, 24/28 targets at 0.76s median.

web_screenshot is the only tool that launches a browser, using your installed Chromium/Chrome/Edge in a throwaway profile (or a remote CDP endpoint if you run in Docker or on a NAS).

Stops blowing up your context window

  • web_fetch views: Pi can ask for focus (relevant passages only), toc then section (grab the outline, read one part), must_contain (phrase, regex, or amount checks like $1.5bn matching US$1,500 million), or since_last (diffs only). Batches up to 12 URLs in one call.

  • PDFs and images: PDFs get the same reading controls, combining PDFium text and page pixels for tables, reading order, and forms (plus optional local OCR on scans). Direct image URLs come back as native image blocks.

  • web_crawl plans before fetching: maps the site first (llms.txt, sitemaps, feeds, hub links), picks pages around your topic, and returns a compact digest with pN handles so Pi only opens full pages offline when it needs the detail. Jobs resume and repeat crawls skip unchanged pages.

Keyless search that holds its own

Search works right after install with zero keys and zero model downloads. For a completely local, zero-key setup, it holds up well for everyday coding and research: it fuses keyless web engines (Google CSE, Exa MCP, Parallel MCP, Keenable, Bing, DDG, Brave, Yandex) with direct first-party sources (GitHub, crates.io, npm, PyPI, Stack Exchange, Wikipedia, arXiv, OpenAlex) and ranks results locally.

It also includes keyless image search with optional 3x3 rank-badged contact sheets if you want Pi to look over reference images.

One heads-up: if you spam queries hard from one IP, engines will temporarily rate-limit you (it backs off cleanly and rotates lanes, so normal agent use is fine). If you do heavy search volume, you can always grab a free API key from Exa, Tavily, TinyFish, Brave, or Serper and plug it in for search while keeping the local fetch and crawl engine.

Honest benchmarks and limits

I had an agent test DonSeTch against paid Firecrawl Cloud (Not the free oss version since that wouldnt be competitive with donsetch )on real tasks:

  • Fetch: faster on 9/10 shared targets (0.83s vs 2.00s median), with cleaner code blocks and structured PDF tables.

  • Focused crawl: 27% fewer page fetches (19 vs 26) and 6-22x smaller output. On HTTPX docs it grabbed the 2 pages asked for, while Firecrawl read 6 and missed /async/.

  • Search: Firecrawl Cloud beat DonSeTch on search relevance in that Nov 16 session (6-1 with 2 ties). I have since added keyless Exa MCP, Parallel MCP, and Keenable to the default pool, though I have not run a fresh head-to-head yet.

Hard limits upfront: it will not log into accounts and will not solve human CAPTCHAs (Turnstile, DataDome, etc.). When it hits a login wall or human check, it tells Pi plainly instead of returning a "please enable JavaScript" page as fake content.

Full Firecrawl Cloud comparison

Try pi install npm:donsetch and let me know what sites trip it up or break on your machine.


r/PiCodingAgent • • Aug 28 '26

Plugin Plannotator in Herdr - Live feedback back to Pi

140 Upvotes

This is a https://herdr.dev/ plugin with an optional full https://Plannotator.ai experience as a TUI. Built to:

- Annotate Agent Messages (e.g. grill sessions)

- Annotate Files (e.g. plans, specs, etc)

- Create a native feedback loop with agents

- Open as popover or pane

- Mouse or keybindings

https://github.com/plannotator/herdr-annotate


r/PiCodingAgent • • Sep 30 '26

News Pi now supports Jev.

137 Upvotes

Pi added quite a bunch of new features in its 0.99.0 update, including support for classifier models. In the official docs, the remote model listed in the example code is jev, the interface is shaped around classifier models like jev, and llama.cpp's classifier implementation explicitly uses jev as its reference point. You could pretty much say this is a feature Pi shipped just to keep up with jev.

So I wanted to ask you guys in the channel:

  • Do you guys actually use jev a lot when you're coding? How do you use it?

  • Jev only came out a little while ago and Pi already jumped on board with support. What significant role does jev actually play in a coding workflow?

Edit: It's not just about using it for the sake of using it. Is there actually something jev can do that LLMs can't?