r/PiCodingAgent • • 12h ago

Plugin A library for pi extension makers to implement "Settings" dialogs

22 Upvotes

I have been making a lot of pi extensions/plugins, mostly for myself but few have become popular as well.

One common pattern I make in all of them is obviously the settings of that extension itself. Over time Pi has improved its TUI and now even has mouse mode, which some of my older extensions required rewriting the settings implemention to adopt.

I thought creating settings is a common pattern; there are few standard things

- settings location -> <pi-agent-dir/project-dir>/<extension-name>.json

- handling of 'dirty' state and Ctrl+S type saving

- a wrapper over pi-tui with mouse/keyboard handling

- dialog, margins, borders, all of that

If the extension can just declaratively set the config it needs, the settings UI, mechanism to save, etc can all be handled by a common library.

So here it goes: pi-extension-settings-tui


r/PiCodingAgent • • 1d ago

Resource Stealthy AI browser getting through content from reddit and YT easily (0$, completely free, token efficient, 5 sec install)

201 Upvotes

5-tool Rust browser driver for Pi (installs in 5s, pulls real Reddit & YouTube content without eating context)

Clip above is Bladebro installing into Pi in under 5 seconds, then browsing Reddit and YouTube for real content.

Install is one command:

pi install npm:bladebro

Open a new Pi session and 5 tools (act, see, state, run, vision) show up straight from the binary.

Single ~8 MB Rust binary talking directly to your installed Chrome/Chromium/Brave/Edge over CDP. No skill file eating your prompt.

Also the pi extension costs like 2k tokens total to exist, not huge like some other MCP servers, or you can just use the CLI + skill file setup if you like.

What it does

  • Keeps context small: actions return a verdict + page delta instead of full page dumps, and repeated site nav/footer links fold automatically.

  • Built-in extractors (see with extract=auto) for Reddit, YouTube, GitHub, HN, X, Stack Overflow, Wikipedia, Amazon, arXiv, npm, PyPI, and crates.io.

  • Gets past bot walls: stock Chromium, zero automation flags, native-proxy stealth (68/80 = 85% on browser-use's Stealth Bench V1, single residential IP, no proxies or CAPTCHA solvers).

  • Real-browser mode (bladebro rb on) clones or attaches to your logged-in profile with zero page injection. Isolated agent browser by default.

  • Open + read in one see call, or chain waits, loops, and branches in one run call. Refs survive React/Vue re-renders.

  • Live DOM readback on every write/upload. If it hits a real CAPTCHA wall, it returns blocked: instead of silently looping.

Feel free to doubt the benchmark numbers, i know its from my side, but you can run it yourself and tell me what went wrong.

Quick note on "why not Playwright?"

Playwright MCP adds 20+ tools, dumps giant accessibility trees every turn, and launches with automation flags that get blocked on Reddit/Cloudflare right away.

Bladebro stays at 5 tools, returns deltas, runs with zero automation flags, and extracts real sites cleanly out of the box.

Same binary also works as a standalone CLI (bladebro nav, bladebro see content) or standard MCP server on Linux, macOS, and Windows.

Apache 2.0: https://github.com/dondai44423/bladebro

Try pi install npm:bladebro and let me know if anything breaks on your machine or what site extractors you'd want next.


r/PiCodingAgent • • 13h ago

Use-case 8 Agents Come Into A Bar, The Bartender Only Has 4 Tools

Thumbnail
rakshazi.me
3 Upvotes

The post traces seven AI coding agents and a chatbot from 2023 to 2026: Copilot autocomplete, Baibot chatbot, OpenAI Codex, Claude Code, OpenCode, Hermes Agent, OMP, and Pi. Each of them has its own pros and cons, and the author gives detailed reasoning on switching between them and how you can benefit from each tool. Spoiler: Pi is the final choice, with no intention to go back


r/PiCodingAgent • • 21h ago

Question Using Gemini Neon with a subscription?

3 Upvotes

Anyone have Hydrogen/Neon working on subscription pricing with Pi?

Just got a Copilot sub to test it out and really like Neon, but Copilot is giving sporadic errors with Gemini models:

Error: Stream ended without finish_reason

As far as I can tell it's nothing to do with my setup. Disabled all extension etc and still getting an error.


r/PiCodingAgent • • 1d ago

Question Best way to set up Claude Code as planner + a local Qwen model as worker on a 48GB Mac?

Thumbnail reddit.com
1 Upvotes

r/PiCodingAgent • • 1d ago

Plugin pi-subagentura v4.4.0 adds native WezTerm panes, Herdr Core terminals, and task splitting

2 Upvotes

I maintain pi-subagentura, a Pi extension for handing work to specialists you can talk to directly. For a quick check, a specialist can run inside Pi. For a longer investigation, give it a terminal of its own. You can keep working in the main session, then jump over and ask the specialist why a test failed while it still has the context.

This release adds native WezTerm panes and independent Herdr Core (hc) terminals. Regular Herdr is supported too, alongside tmux, Zellij, and Superlogical Rex. In Orca, Pi can delegate through Orca’s worker tools after verifying the session. In Agterm, you can ask it to launch or message an agent through agtermctl.

The new optional split mode divides up the task. For a code review, one specialist can check the implementation while another looks for missing tests. Pi collects their findings, and you can follow up with either one. You choose the prompts and models.

Try split mode for one session:

pi -e npm:pi-subagentura --orchestratorv2 --split

Repo: https://github.com/lmn451/pi-subagentura

If you try it, which terminal did you use, and how easy was it to jump into the right specialist’s session?


r/PiCodingAgent • • 1d ago

Resource I built Jevstice because I got tired of babysitting models in YOLO mode

0 Upvotes

What is it?

Jevstice is an addon for oh-my-pi that checks whether a coding agent understood your request and whether the work it hands back does what you asked. The agent submits its requirements, plan, and evidence from the run to Jev, a separate judge that can compare them with what you said in the session.

I built the first versions as an actual software blocker. If a check failed, the extension could stop the next tool call and make the model deal with the finding then and there. The current addon still runs those checks and tells you what failed or went unchecked, but it no longer stops the run on a verdict.

Why did I build it?

I've always liked playing with local models, and I have a soft spot for DeepSeek. Once I saw DeepSeek V4.1 Flash clear 300 tokens per second, the trade-off was obvious to me: it was cheap and fast enough that I wanted to use it for more of my work, but it wasn't smart enough that I could leave it alone and expect it to stay on task.

Give a cheap model a change in YOLO mode and it can start calling tools and writing code before it's worked out what the job even is. I kept coming back to say the same things: read the request again, write down what has to stay working, and check that you actually built it. I could put all of that in the prompt, but then I'd be asking the same model that skipped the instructions to remember not to skip the instructions. I wanted the extension to be able to stop a tool call in code and give a judge the actual request, decisions, and evidence from the session so it could tell the model what it had missed.

That judge is Judge Holden in my head, and I mean Holden as evil in the flesh. I want the model to suffer through explaining where it implemented the sentence it was hoping I'd forgotten.

How did it develop?

The first tool was a course check that ran every N iterations and asked whether the model was still doing what I'd asked. It could catch a model wandering off halfway through, but if the model misunderstood me on the first turn, it could follow the wrong plan to the letter. Rather than run the counter more often, I went back to the start and added requirements and plan review.

Say I ask for a new config format and tell the agent to keep old configs working. When it writes down the functional and non-functional requirements, I want it to capture both what it has to build and what it can't break. If the plan has three steps for the new parser and none for loading an old config, I'd rather find out before the agent spends an hour writing the parser.

I've been using the addon for a couple of months now. I still use the course check, except that now I can ask whether the change the agent is about to make belongs in the agreed plan. When it says it's done, I can ask for a developer review of the diff and a separate acceptance check against the requirements. Those answer different questions: the parser can be good code and every test can pass even though none of the tests ever loaded an old config.

I use the other checks when the task moves outside the code. If the agent is researching a dependency, Jev can check whether a source is relevant and whether the passage the agent quoted actually supports its claim. If I'm working on a draft, it can point to the passage that breaks a rule I gave it. I can also go back to the original brief when I need to see whether I asked for a change or the agent decided it was part of the job.

Demos · Install


r/PiCodingAgent • • 2d ago

Question google models might be worth using now, but is it possible to do that in pi via a subscription?

26 Upvotes

r/PiCodingAgent • • 1d ago

Plugin I hit design tool's paywall and MCP limit, so I built a local, free, open source alternative

0 Upvotes

I was trying out a design tool and ran into the paywall. Then I found that the MCP has a weekly limit of 100 requests. I wanted to use a design tool with my coding agent without counting requests, so I built my own. It's called Open Canvas.

Open Canvas is a local-first design editor that runs in your browser. It's free and open source (Apache 2.0). You don't need an account, and your files stay on your machine.

What it does today:

  • Artboards with editable text, shapes, and images

  • Layers and Properties panels, with pages to organize a file

  • Comments and a Review panel, so you can leave feedback on a layer or a canvas position

  • Export to SVG or PDF, and JSON download for an editable backup

  • A local MCP server, so your coding agent can read and edit your canvas. Run open-canvas mcp-config and paste the entry into your MCP client. You can pause agent access per workspace.

  • Installers for macOS, Linux, and Windows, with update checks built in

Install on macOS or Linux:

curl -fsSL https://open-canvas.xyz/install.sh | bash
open-canvas

On Windows, run this in PowerShell:

irm https://open-canvas.xyz/install.ps1 | iex
open-canvas

The project is at a very early stage, and there are real gaps. There's no cloud sync, live collaboration, auto layout, or vector path editing. It's designed for desktop browsers. The Windows installer has only been tested in CI so far.

I'm looking for help. If you want to contribute code, test it, report bugs, or suggest what the MCP side should be able to do, I'd really appreciate it. The setup steps are in CONTRIBUTING.md in the repo.

Repo: https://github.com/utpalsinghdev/open-canvas Website: https://open-canvas.xyz

If you try it, tell me what breaks or what's missing.


r/PiCodingAgent • • 1d ago

Use-case How I use my vibe coded app for real work

Thumbnail
youtu.be
0 Upvotes

I've been working as a civil engineer for about 10 years. Earlier this year, I majorly got into agents (Pi). Now I use cc, codex and pi all together in t3code.

Since then, I've been building this app piece by piece. I've had to learn to look at code but through a concoction of skills, small scoped changes, agent verification tools, and me constantly trying to break and do all the wrong things in the app, I have settled into a really good rhythm of making agents build the app while the app gets more pleasant to use.

I've been focusing on making demos for the actual civil engineering workflows like this one but I've been wanting to make videos or stream just a normal session with my agents working on the app. Would anyone here be interested in joining me in a stream while I just walk through stuff?

I'm no expert at dev work but I think I have a really strong system where my agents consistently produce good results. Would love to just hang out and vibe code with other vibe coders.

Any takers?


r/PiCodingAgent • • 2d ago

Use-case I built a Kanban board that automates Pi tasks with Git worktrees and a merge queue

3 Upvotes

I've been using Pi and other coding agents, and wanted a way to manage multiple coding tasks and automate the workflow around them.

So I built Canban, an open-source Kanban workflow tool for coding agents.

My workflow:

Describe a task on a Kanban card, move it into Develop, and Canban automatically dispatches agents in isolated Git worktrees. Completed changes go through a local merge queue.

You can customize your own workflow with a Github action-like syntax.

Design choices:

  • Agent-independent workflows - Inspired by GitHub Actions, workflows can run scripts before or after agent steps, use conditions, or skip agents entirely. Orchestration doesn't depend on an LLM, so smaller or local models can focus on coding rather than managing the workflow.

  • Native CLI agents - Instead of building another agent harness, Canban runs existing CLIs like Pi and Codex through Herdr-core. Agents can interact with Canban through a skill.

  • GitHub integration - Turn GitHub Issues and PRs into Kanban cards and automate them using the same workflows as local tasks. such as automatically reviewing PRs or processing issues.

Canban also supports remote Linux machines and keeps agent processes running across app restarts.

The demo shows Pi and Codex running inside Canban.

Website: https://canban.dev
GitHub: https://github.com/jjyr/canban

Feedback welcome!


r/PiCodingAgent • • 2d ago

Use-case multiplexer-sidebar: A Herdr-style sidebar and floating pane-preview dashboard for sessions and agents, works for tmux and Zellij, single Python script, no dependencies

Thumbnail
gallery
12 Upvotes

Hi everyone,

If you have ever used herdr, its sidebar is pretty iconic: it sits quietly on the side of your workspace and shows every project and every active coding agent in one clean list, so you can jump anywhere with a keystroke.

I built multiplexer-sidebar (also aliased as multiplexer-dashboard) to bring that Herdr-style sidebar directly to both tmux and Zellij (as well as herdr itself), while also letting it run as a floating dashboard with a live terminal preview.

Single Python script with no dependencies, and a classic TUI with zero lock-in

Looking at the screenshots above, you might expect a compiled Rust or Go binary. In reality, it is a single standalone Python script using only the Python 3.9+ standard library (not even curses).

  • Copy-paste and run anywhere: There is nothing to compile and install. You can just copy-paste or curl this single file onto your laptop or any remote SSH box and run it immediately.

  • Modern Ratatui / Bubble Tea feel: Even though it is one stdlib file, the custom renderer is built to feel like a modern TUI framework, with automatic dark and light theme detection, mouse clicks and scrolling, responsive layout resizing, and live color terminal previews.

I want to keep using our beloved TUI without lock-in: Recently herdr shifted its focus to its desktop and mobile apps, which don't share agents with the open-source herdr TUI and are likely to leave the TUI behind the way Arc was (stop maintenance eventually by the browser company). More importantly, moving to a dedicated server plus a desktop or mobile app creates lock-in at both ends: your remote machine has to run their server, and your local device has to run their app. A classic TUI has no lock-in—it works in any terminal emulator, over any plain SSH connection, from any device. Building on top of those time-stand multiplexers like tmux and Zellij keeps that pure terminal workflow alive for the long haul.

Both a Herdr-like sidebar and a live-preview dashboard

You can run the script in two ways, or use both together:

  • Sidebar mode (--sidebar / --compact): Great if you like the herdr work style—one session per project, with multiple tabs or windows inside each project. Keep it open in a narrow 30-column pane on the left to see all your sessions (use h and l to fold or expand their tabs/windows) and every active coding agent (Claude Code, Codex, OpenCode, Pi, Gemini, etc.) right below. On smaller screens, --compact shrinks it down to a 3-column strip (or just resize the pane below 24 columns and it switches automatically).

  • Dashboard mode: Bind a key to open it in a centered floating pane. As you move through your sessions, tabs, and agents, the right side shows a live preview of that terminal pane so you can glance at the output before pressing Enter to jump there.

One unified tool across tmux, Zellij, and plain shells

If you use tmux on some machines and Zellij on others, this single script gives you the exact same look, vim-style keybindings (j/k to move, h/l to fold tabs, / to filter, n/r/x to create, rename, or kill sessions), and experience in both.

You can even launch multiplexer-sidebar in a plain shell with no multiplexer attached—such as right after you SSH into a server. It detects every running session across installed multiplexers, gives you live pane previews, and attaches right into whichever one you pick.

Quick install

Since it is just one file, installation is two lines:

curl -L -o ~/.local/bin/multiplexer-sidebar \
  https://github.com/milanglacier/multiplexer-sidebar/releases/latest/download/multiplexer-sidebar
chmod +x ~/.local/bin/multiplexer-sidebar

Ready-to-paste keybinding and sidebar layout snippets for both tmux and Zellij are in the README: https://github.com/milanglacier/multiplexer-sidebar

Would love to hear what you think or any feedback if you give it a try!


r/PiCodingAgent • • 3d ago

Resource pi-sessions: a terminal UI to browse and keep track of your pi sessions

Post image
71 Upvotes

At work I use Claude Code, and I manage my sessions from the terminal with ccsessions https://github.com/miskiewiczm/ccsessions by miskiewiczm, a great TUI for browsing and managing Claude Code sessions and keeping track of old sessions across multiple projects.

I contribute to ccsessions, and since I use pi for my personal projects, I forked ccsessions and adapted it to pi. That fork is pi-sessions.

It does pretty much the same thing, i ported most of my contributions to ccsessions to it and a little bit more.

Feedback, issues and PRs are welcome


r/PiCodingAgent • • 3d ago

Question New to Pi, which model providers are practically the best for Pi as of now?

42 Upvotes

Basically, the core is in title.
I went through a few weeks of trying and researching Pi, as I impressed by its simplicity and extensibility at the same time.

But, long story short, I used OpenRouter during my experiments (and some other stuff as well) and I came to the point where I'm ready to switch to Pi charged with serious models.
And I got into known problem of subscription-based inference, most of providers are limiting or not allowing subscription usage from 3rd party harnesses (especially claude).
What I considered:
- Claude code, best models, terrible agent (my opinion), subscription nailed to calude code agent only, API pricing is a bad joke
- Github Copilot (I don't like it, have it on my main work, they don't have own models and just resell other's wrapped in their own inconvenience)
- OpenAI is a solid general purpose choice, but specifically for coding I would find something else
- API-based billing could be an option, but its too expensive for a heavy usage
- Radius, looks good, but model list is pretty conservative

So basically I look for your experience and findings in terms of affordable, stable and capable inference provider or something else that I probably overlooked to use Pi comprehensively

Thanks in advance


r/PiCodingAgent • • 2d ago

News Pencode agent launched successfuly

Thumbnail gallery
0 Upvotes

🚀 Finally, Pencode AI Agent is officially published on the Google Play Store!

Now you can create almost any project you want. But that's not even the best part!

🔥 Here’s what makes Pencode special:

- Termux Integration: Connect your own Termux environment and run Linux commands directly.

- AI Browser Control: Give your AI agent full access to control your preview browser.

- Live Web Preview: Run and interact with your web projects directly inside the app.

- GitHub Actions Integration: Build your projects directly through GitHub pipelines while your AI agent handles the workflow.

And here's the most interesting part...

The entire app is only 20 MB! 🤯

A powerful AI coding agent, packed into just 20 MB, right on your Android device.

This is just the beginning. A long journey starts here. ❤️

link: https://play.google.com/store/apps/details?id=com.aistudio.pencode.xzqky


r/PiCodingAgent • • 3d ago

Resource pi-persona 1.19: watch your subagents work

19 Upvotes

Hey all. Around two months ago I posted pi-persona here and a lot has changed since then.

and led with the wrong thing. That's still in there, but it isn't the main point, so here's a second try now that 1.19 is out.

The complaint that keeps coming up in the subagent threads here is the one I had too: the main agent doesn't know a worker went wrong until it's finished and the tokens are spent. Neither do you.

So this is built around being able to look. Workers run in the background. Press F9 and you get the list: what each one is doing right now, its model, its effort, tokens so far. Open one and you're reading its conversation as it happens, tool calls included. If it's heading the wrong way, press s, type a sentence, and it arrives as a new message in that worker's own context. If you don't need it any more, x stops that one and leaves the others alone. The supervisor isn't blocked during any of this, and reports come back to it on their own when they're ready. Nothing polls.

1.19 is mostly that part getting better:

Worker chats in F9 with expandable tool calls and reasoning, search, and /agents send <name> <message> for when you don't want to open the panel.

Every row that shows a model now shows the effort next to it.

F9, the model picker and the settings page share one window frame. They used to look like three different apps.

Things I'd want to know before installing it:

Workers share your repo. Parallel writers declare which paths they own, but that's coordination, not a sandbox. If you want isolation there's a git worktree mode that hands back a diff, and you can attach a check like npm test that runs before the diff is exported.

It has been coded with AI of course. not vibed with it. That's cause it's also my main job (sw engineer).

Also don't forget that the pi2pi communication is still there:

Needs Pi 1.5.2 and Node 22.19 or later.

The GIFs in the README are the real TUI, but the model replies are scripted so I could re-record them without spending tokens.

Install:

pi install npm:@aeondave/pi-persona

then inside Pi:

/persona seed

/persona dev

or just F8...

https://github.com/AeonDave/pi-persona

With this you can start a team with fable/mithos/astra/deepseek4.1 all together.

A question for people who do use subagents: when one goes wrong, how do you find out today? I'd like to know whether redirecting mid-run is something you'd use, or whether you'd rather kill it and re-prompt.


r/PiCodingAgent • • 3d ago

Use-case Pi Bot made with Pi Durable

Thumbnail forge-z.github.io
6 Upvotes

This is my attempt to create my own Instinct. Pi Bot isn't a coding harness; it's an assistant that can, for example, execute code on a cloud VM, as long as that VM has an API or MCP connection available through Composio or Executor.

For the gateway, I prefer Telegram because it supports topics, allowing me to keep each subject in its own separate thread and avoid mixing contexts.

Gateways: You can choose between Telegram and WhatsApp.

MCP aggregators: You can use Composio, Executor, Upsy, or your own self-hosted solution.

APIs and MCPs I like and use:

  • AgentMail: A dedicated email account for my agent.

  • Browser Use: Buying tickets and interacting with CRMs.

  • Exa and TinyFish: Web search and scraping.

  • Freestyle and Instabox: Cloud VMs with generous free tiers for solo projects.

  • GitHub: Well, it's GitHub.


r/PiCodingAgent • • 3d ago

Discussion Small Linting Checks Beat One Big Linting Check: Real-Time Feedback for Coding Agents

10 Upvotes

Small Linting Checks Beat One Big Linting Check: Real-Time Feedback for Coding Agents

Coding agents follow your rules far more reliably when a linter checks each file the moment they edit it, not once at the end of the task. Here is why, how to wire it into any major harness, and what 840 benchmark runs showed.

Rules the agent read and broke anyway

I had a CLAUDE.md / AGENTS.md full of rules like "never call Instant.now()" and "use apiClient, never raw fetch". The agent read them, nodded, and broke them anyway.

It usually happened somewhere around edit 40 of a session. So I only found out at the end, in the diff, or worse, in code review. Rewriting the rules more forcefully didn't help. Capital letters didn't help either.

Move the check to the moment of writing

A better prompt didn't fix it. Moving the check from the end of the task to the moment of writing did.

After every single file edit, a hook runs the linter on that one file. The agent sees the result on its next turn. If it wrote Instant.now(), it hears about it within seconds, fixes it while the line is still fresh, and moves on.

This is just a feedback loop. It's the same trick that made TDD click for humans, applied to agents:

Small checkBig check
WhenRight after each edit
ScopeOne file, one fast linter
CostUnder a second, silent when clean
Fixing a failureOne edit away

Why the late check fails

A late check doesn't just find errors later. It finds them in a form the agent handles badly.

At the end of a 40-edit session, the compiler fails, the test suite fails, and lint reports 30 issues across 14 files. Half of them are in code you wouldn't have written. The agent now has to work out which change caused which error, often several edits apart.

That archaeology dig is where agents start taking shortcuts:

  • adding eslint-disable or # noqa

  • deleting or skipping the failing test

  • "I'll handle it later" When the check runs right after the edit, none of this is tempting. The fix is one edit away, and doing it properly is cheaper than working around it.

It works in every major harness

You need two hook points: one that fires after each tool call (to lint the file just edited), and one that fires when the agent finishes its turn (for the slower full check). Every major harness has both now.

HarnessAfter each editEnd of turnWhere it lives
Claude CodePostToolUseStop.claude/settings.json
CodexPostToolUseStophooks.json or config.toml
opencodetool.execute.aftersession.idle eventa plugin in .opencode/plugin/
GitHub Copilot (CLI, cloud agent)postToolUseagentStop.github/hooks/*.json
Pitool_resultagent_endan extension in .pi/extensions/

The details differ: shell commands vs. TypeScript plugins, and how the hook's output reaches the model. The shape is the same everywhere. Filter for file-editing tools, run the linter on that one path, and return the failures so the agent reads them on its next step.

What we built: codemyrules

We packaged this as a small open-source hook setup, codemyrules (MIT). It does four things:

  1. Per-edit check. After each file the agent edits, it runs your fast linters on that file only.

  2. End-of-turn check. When the turn ends, it runs a slower full check on the files touched in that turn. You still get the big check, but as a safety net, not the first line of defense.

  3. Blocks only on new problems. It fails only on errors in lines the agent changed since HEAD. Old lint debt in the file doesn't derail the agent.

  4. Guards the escape hatches. It asks you before the agent can add a suppression comment or change the lint config.

What 1,280 runs showed

We tested this in agent-rules-bench: 1,280 headless agent runs, 1,532 sessions in total.

SetupModelsRunsProjects
Claude CodeClaude Sonnet 5.5, Claude Haiku 5.51,048Java, Python, TypeScript
Claude Code (exploratory)Claude Opus 5.5, Claude Fable 5.256TypeScript
Pi and Codex (exploratory)Qwen3.6 35B-A3B, run locally176TypeScript

The first four studies were exploratory. For the later ones, we pre-registered each analysis plan before we ran them.

The result: in our largest pre-registered study (two open-source projects), the agent broke a rule that was written as prose in the agent docs in 22% of runs (28 of 128). When we wrote the same rules as lint rules with the per-edit hook, the agent broke them in 13% of runs (17 of 128). Most of these breaks in the lint-rule runs look like false alarms from one checker, and we are still checking them by hand. The local model followed the same pattern more strongly: prose was broken in 73% of runs (47 of 64), lint rules in 30% (19 of 64). But in both setups, most of its code did not pass the type check.

Full data, prompts and analysis plans are in the repo.

Try it in your own repo

The principle doesn't depend on our tool or on any one harness:

  1. Find the rules you keep restating. Read through your CLAUDE.md or AGENTS.md. Most of what you repeat there are lint rules in disguise.

  2. Encode them as machine rules. A banned API, a required wrapper and an import boundary can all be custom lint rules in ESLint, Ruff, Checkstyle or similar.

  3. Wire a post-edit hook. Lint only the file just edited, keep it fast and quiet when clean, and make sure the agent sees the failures right away. Keep prose for what a linter can't check: intent, architecture, trade-offs. Let the machine handle the rest.

I'm curious how others handle this. Do you run any checks mid-session, or do you trust the agent until the end of the task and then deal with the fallout?

Sources


r/PiCodingAgent • • 2d ago

Discussion New OMP Tern - Rust terminal

0 Upvotes

Has anyone checked out the new omp Tern terminal?


r/PiCodingAgent • • 3d ago

Use-case I built a small macOS app for watching the Pi coding agent work, one git worktree per task. Looking for honest feedback

0 Upvotes

I've been using Pi as my coding agent and kept losing track of what it was doing across several terminal sessions. So I built Panoptes, a minimal desktop app that sits on top of Pi and just shows the work. It doesn't plan or orchestrate agents. It watches.

[screenshot: lanes + work log]

What it does today:

  • Lanes. Each task gets its own git worktree and branch, with one session per lane, so two agents never write to the same checkout. Clean lanes can be archived. Dirty ones can be committed, stashed or saved as a checkpoint.

  • Every Pi session in one list, including ones you started from the terminal. Sessions stay Pi's own files, so pi --continue still works.

  • Live work log. Replies, thinking and tool calls stream in. Enter steers the agent, Option+Enter queues a follow-up, Esc stops it.

  • Approvals and questions from Pi extensions show up above the composer and get answered in place.

  • Model, tokens, cost and timing for each turn and each session.

Stack: Tauri (Rust) + React. Each open session is its own pi --mode rpc process. It's MIT licensed, macOS only for now, and you build it yourself (pnpm app:install, no Apple dev account needed).

Repo: https://github.com/fbrg141/panoptes

What I'd really like to know:

  1. If you use a coding agent, how do you keep track of parallel tasks today?

  2. Does "one worktree per task" match how you work, or is it in the way?

  3. What's the first thing that breaks or confuses you?

Rough edges I already know about: no prebuilt download, macOS only, and per-turn checkpoints aren't built yet.


r/PiCodingAgent • • 3d ago

Question Agent drift

0 Upvotes

Is the agent drifting from original plan a result of the model or harness? Im using QFN gyro-M and pi-blackhole but with the observational memory component is turned off due to the workers going every turn bogging the process down because im on a potato. I Told the agent to start step 5, walked away and at some point it had drifted from the orginal plan.md... it was a mess. Ever since then after every compaction im afraid it will drift. So, now every so often I'll have it do a "drift check". Is there an extension or skill I can add to the harness to help prevent this?


r/PiCodingAgent • • 3d ago

Question Anyone using Codex Sub in Pi?

3 Upvotes

What is the context window you get with the sub? Is it still 250k? Would love to try 6.2 Astra but dont want it if the context window is nerfed.


r/PiCodingAgent • • 4d ago

Discussion Updates on oh-my-pi quietly siphoning user web data

274 Upvotes

Two months ago, I made this post about the issue:
https://www.reddit.com/r/PiCodingAgent/s/MoJvQiojW5

Where the maintainer of oh-my-pi quietly pushed to main (no associated pull requests) support for sending web requests generated by oh-my-pi to a 3rd party by default. This means, that without any changes, your web traffic is quietly being farmed. While obviously nothing is public about how it is used, you can assume it is being used for monetary reasons at a minimum, and it is most likely building a profile of yourself. Yes, these are assumptions, because no one is being forthcoming about it.

To my surprise, minutes ago, the actual owner of this 3rd party entity that has siphoning your data actually commented on the pull request. Mind you, this pull request has been open for the last two months with no response from the oh-my-pi maintainer (despite numerous people asking for a response).

The "Developer Relations Engineer at Parallel" said,

"...The oh-my-pi maintainers intentionally put Parallel first in the default search order and enabled it without credentials... I’d recommend closing this PR and keeping the current behavior."

I thought the community should know. If you are intentionally having your data collected, please disregard this message. This message is meant for those who were unaware of their data being collected. Since there is no disclaimer anywhere in the project, it is easy to be caught off guard by this. Hope this helps.

An Update: The "Developer Relations Engineer at Parallel" decided to remove their comment for some reason, so here it is screenshotted from my Github email notification:

Second Update (Next Day): This thread built enough momentum to get a PR merged! Great job everyone! This would have been a happier occasion if the response from the maintainer wasn't so void of accountability:

Apparently we are "manufacturing drama." Please be safe out there, and check the next projects you use.


r/PiCodingAgent • • 5d ago

Discussion The More I use Pi the more I realize how much we Over-engineer

Thumbnail
imgflip.com
224 Upvotes

MCP servers are goat and genuinely useful. But I haven't been wowed by any plugin or skill except ask-user-question


r/PiCodingAgent • • 4d ago

Question Will get you using your Google AI sub in Pi still get you banned?

6 Upvotes

I would rly like to use The new New Gemini models in my Pi setup, but Api is too expensive :( .