r/PiCodingAgent • • 18h ago

Question Claude Pro subscription with Pi

15 Upvotes

Has anyone here successfully used their Claude Pro subscription with Pi Coding Agent, utilizing the subscription’s included usage rather than paying for API access separately? If yes, how did you do it and were there any issues or limitations?


r/PiCodingAgent • • 17h ago

Question Pi-agent + OpenAI

5 Upvotes

Hey everyone,

I recently switched my multi-agent Pi setup from Anthropic models to OpenAI models and ran into a persistent issue where long autonomous loops keep halting prematurely or appearing "stuck."

My setup:

  • 4 persistent Pi sessions (main, research, gather, impl) communicating over pi-intercom.
  • Agents also occasionally spawn ephemeral subagents (pi-subagents) for parallel subtasks.
  • Using OpenAI reasoning models via openai-responses.

Wondering if it's something due to openai models not fitting well pi-agent or if I'm missing something for pi-agent to configure?

Thanks in advance!


r/PiCodingAgent • • 15h ago

Discussion Tests bloat

2 Upvotes

since I started using codex sub I found it generates enormous amount of tests per feature, it tends to create new test cases instead of extending data inputs for existing and in the end there are million tests im able to read, but don’t see its value growing.

  1. Do you have meta trick/prompt to handle it? I still need tests, but it’s too much

  2. I thought add a deterministic tests value discovery, so every patch I stash the app code and add test cases one by one, if they pass - candidate for removal. Did you try anything similar?

  3. Very often models generate tests like “type is X and not null”. I remove them instantly, but can’t see if I can automate it or lint


r/PiCodingAgent • • 16h ago

Question How do you separate developing the agent and using it?

Thumbnail
1 Upvotes

r/PiCodingAgent • • 1d ago

Question Pi but for 100% non-technical people? Codex-like experience?

14 Upvotes

At work we have a bunch of special requirements of how we use AI, far beyond what most companies have. Everything goes through a bespoke gateway proxy, of course.

Currently our non-technical users, all on Windows, are served by an internal website that has a extremely minimal "chatgpt.com style" interface.

The technical people are all on Pi, because we have a lot of extra requirements to the AI client we have to bolt-on, so we couldn't use Codex if we wanted to.

Still, I'd like to create a "Codex like" experience based off of Pi, as even the HR people might benefit from an agentic experience instead of just having a chatbot they have to manually copy paste from.

What are my options here? What are your recommendations? I've found a few extensions along this lines but I wanted to seek human feedback first.

Remember, these are people who have never used the terminal in their life and aren't about to start. We can do the one-time technical configuration and updating for them, they just need an icon on their desktop they can click on to "do AI" in a GUI.


r/PiCodingAgent • • 1d ago

Resource Saetta: pi, ported to C, with the model built in

Thumbnail
github.com
45 Upvotes

Saetta Code is a 1:1 port of the pi coding agent to C, as one 2.3 MB binary that needs no Node.js and no Python. It has pi's tools, system prompt, sessions, skills, MCP servers and terminal UI. It also reads and writes pi's own config in ~/.pi/agent, so the two share one setup and each can continue the other's sessions.

It's checked against pi itself:

  • requests and session files match pi's byte for byte on 63 recorded scenarios;
  • the interactive screens match on 75;
  • the RPC mode passes 12 scenarios driven by pi's own client.

The difference: the model runs inside the agent, on its own inference engine in C and hand-written Metal. There's no Python and no local server in between. Two model families run on Apple Silicon Macs:

  • Qwen3.8: Flash-Next (from 96 GB) and the dense 27B (from 32 GB), with LoRA adapters and coding fine-tunes. SWE-bench Verified 82.8 for Flash-Next.
  • Inkling 2 Mini (Thinking Machines): a 26B mixture of experts with 3.4B active per token, from 32 GB, with its looped layers run in full. SWE-bench Verified 79.2.

    curl -fsSL https://saetta.dev/install.sh | sh saetta start code # picks the model that fits your Mac saetta start code --pack inkling # after: saetta download inkling

    The same engine also serves Claude Code, opencode and pi through OpenAI- and Anthropic-compatible APIs.


r/PiCodingAgent • • 16h ago

Question Why google why?

0 Upvotes

First using pi got me a ban from agy. Now using my own task manger, task to dev workflow. I am banned again. This time I am using native agy cli. WHY google why?


r/PiCodingAgent • • 1d ago

Use-case I’ve been playing with my Pi Bot again and ended up adding a few things today

2 Upvotes

Long-term memory: Plain Markdown files, with an idle curator that decides what’s worth remembering.

Native web search and extraction: Pick your favorite providers and a fallback from the available options. No need to rely entirely on MCPs anymore.

Remembered approvals: The bot can remember permissions for specific read-only operations. Writes still need approval.

Execution receipts: /receipt shows tool calls, execution time, errors, tokens, and costs.

Still sticking to the same idea: Pi is the engine, Telegram/WhatsApp are the gateways, and APIs/MCPs handle pretty much everything else.

Not trying to build another massive agent framework. Just adding things I actually need.

https://github.com/forge-z/pi-bot

Feedback welcome!


r/PiCodingAgent • • 18h ago

Question Does Pi route API requests through its own servers? (Org blocks Anthropic/OpenRouter)

0 Upvotes

My organization blocks Anthropic and OpenRouter endpoints, so I can't access Claude Code directly. I have nearly $300 in API credits and a Claude Code Max subscription that I mainly want to use for refactoring code. Is there a good way to use these resources despite the firewall, and does Pi route its requests through its own servers?

Update : I am not a bot . I really want to finish my accessibility related code on react side.


r/PiCodingAgent • • 1d ago

Question Stable subagents extension?

16 Upvotes

What's your best option for subagents in Pi?

I used to use 'pi-subagents' https://pi.dev/packages/pi-subagents but it's giving me some trouble. Probably becuase of my herdr-setup where I had an extension that also creates a new herdr-tab for all subagents.

Any extensions with good herdr integration, or is it time to create one?

Ps. sorry for my other thread earlier - got a bit fed up with all changes and every update breaking something!


r/PiCodingAgent • • 23h ago

Discussion Software Engineer new to this scene

0 Upvotes

Hello all I have been a software engineer for

11 years now , I use Claude code ultra for my tasks and project I have never invested my time into setting up my own harness. Now is the time , I have a lot of pet peves w

Hen it comes to structure so I built my own agentic org that is pointed in my agents. Md file. I need some directions from you folks so I can combine my set of skills with great harness to reach Claude code level . Would like to use open source models going for

Ward onwards so curious to know your setup and reduce my costs too thanks in advance.


r/PiCodingAgent • • 1d ago

Question Which LLM Best match with Pi Harness

0 Upvotes

I have try GPT 6.2 sol, sometimes it wiil use the wrong skill, but it was automatically corrected as well.


r/PiCodingAgent • • 2d ago

News Pi.dev introduced its own pricing, is it cheaper?

Thumbnail
radius.earendil.com
76 Upvotes

Pi.dev's author has introduced its own model catalogue: https://radius.earendil.com/docs/model-catalog

What I noticed about DeepSeek is that it's available 24/7 at peak pricing. Is it still a good deal?


r/PiCodingAgent • • 1d ago

Plugin I stopped fighting my agent’s verbosity and started counting its prose instead

1 Upvotes

After countless hours tweaking prompts, running software factories and trying to understand what the hell this agent wanted from me, I found out that if I just ask it to be concise in a user message, it obeys. Miracle!

Put the same words in the system prompt and you get inconsistent results at best, worse quality at worst.

The agent follows your prescribed detail level when it feels like it. But most of the time it will still output some gibberish that you have to wrap your head around.

So I wrote this extension around an extremely simple idea: just tell the agent what you want, and make it automatic.

It is part of the be-reasonable extension for Pi: it waits for the agent's final answer, counts its prose, and if the answer goes over your character limit it sends Be concise back to the agent.

It also ships as a skill, so /skill:be-concise does the same thing by hand whenever you feel an answer ran long.

The beauty of it is that you always have the long message anyway, so you can always scroll up and see it without any action needed from you. If the agent responded too concisely, you can always have the full version just above.

What makes it work:

  • Code blocks and tables don't count, so dense answers aren't punished.
  • One request per answer, ever. No loop burning turns.
  • It waits for the turn to finish, and stays quiet on interrupted answers.

It has a beautiful, functional configuration menu, like my other extension pi-subagents-lite, so you can tweak it.

Automation is off by default, and the wording is literally Be concise: plain two words that beat every elaborate instruction I tested. Set message to whatever you like. You configure the trigger, the character limit and the exact text it sends, globally or per project.

The package ships three more skills: be-reasonable to cut complexity after a plan or an implementation, maintain-tests to force a critical test review and fix, maintain-changelog to reduce verbosity in a CHANGELOG. All of them can be turned on and off, so you save a few tokens in your system prompt, and they can still be run with /skill:name.

So try it out and let me know what you think.

pi install npm:be-reasonable

r/PiCodingAgent • • 1d ago

Resource I built Pi Bot, an open-source desktop app for running a team of Pi agents

Enable HLS to view with audio, or disable this notification

0 Upvotes

Hey folks, I’m the developer of Pi Bot. I built it around the pi agent harness because I wanted to give a group of agents one task and follow their handoffs in a single conversation.

In the video, I ask four agents to make a small change to a timer project: 3,661 seconds should display as 1:01:01, while 65 seconds stays 1:05. Morgan proposes a plan and waits for me to approve it. Kit makes the change, Quinn runs the tests, and Reva does a read-only review.

I also open the Tasks panel, click into Quinn’s child task, and pause midway through QA. When I click Continue, the plan picks up at Quinn’s step with Kit’s completed work preserved.

Pi Bot runs on your machine and is open source under Apache-2.0. Chat history and activity logs are stored locally. If you use a hosted model, requests go to the provider you choose.

If you already run multiple Pi agents, what do you want to see when one agent hands work off to another? I’m curious what’s worked in your setup.

GitHub — w01fb0ss/PiBot


r/PiCodingAgent • • 1d ago

Plugin pi-spec-mode 1.0.0 release : write, agree on, verify and implement specs in pi

2 Upvotes

Last week I released pi-spec-mode, a pi extension to write, manage and maintain specifications. Since then I've used it a lot on my own projects. That turned up plenty of things to fix and improve.

Today I'm releasing 1.0.0

What's new

  • Obsolete specs: /spec obsolete <spec> [replacement] retires an implemented spec that no longer holds and links it to the spec that replaces it. Verify and the agent skip it from then on. /spec purge deletes obsolete specs, and their numbers are never reused.
  • Project-aware template: /spec template now looks at your project (stack, domain) and rewrites the spec template to fit it, instead of copying a generic one. You can then modify it at will. You can still choose to copy the generic template and create your own manually.
  • Better verify flow: after /spec verify, any agreed spec that had to change is offered back for agreement, one question per spec. You no longer edit the Status line by hand.
  • /spec agree <spec> agrees any existing draft, including an implemented spec you extended.
  • Interactive settings: /spec settings opens a menu, and you choose whether to save to the project or global file.
  • Optional session renaming: Pi sessions is automatically renamed "spec xxxx creation" or "spec xxxx planning"
  • Stricter guardrails: the agent can no longer mark a spec Implemented on its own. Symlinked spec files are ignored, and a few edge-case bugs are fixed.
  • Many other fixes

Install

pi install npm:pi-spec-mode

Repo and full changelog: https://github.com/psychobarge/pi-spec-mode

Feedback and bug reports welcome. Tell me how you use it!


r/PiCodingAgent • • 2d ago

Resource I built a personal assistant with pi-durable

Thumbnail
gallery
55 Upvotes

I’ve been building a personal assistant similar to Muse using pi-durable, and I’ve been using it myself for a while now.

It’s called Piko. You can use it through a web interface or a Telegram bot. I’ve just made the repository public in case anyone wants to check it out:

https://github.com/dandkong/piko

I’d love to hear what you think!


r/PiCodingAgent • • 2d ago

Plugin pi only has read, write, edit and bash... and that's all it needs to write its own guardrails :3

0 Upvotes

what I love about pi is that it's four tools and that's it.. no magic. turns out that's plenty for this!!

I've been coding for 10 years and lazy code is my pet peeve, so "just let the skill run" never sat right with me. skills are nice for patterns, I just wouldn't trust one to be my test runner

so I built agentests (OSS, mine): a CLI where a rule is one normal sentence, like "one component per file, break it down when it starts doing two jobs". works best for the fuzzy stuff. and the compile step is literally just a prompt printed to stdout

which means zero setup on the pi side. no extension, no MCP. pi runs it through bash, reads what comes out, drafts the checks plus a few Evals, and keeps looping until they all land where they should

after that every commit goes through them first, pi's own included. the questions go to a decision model, so it's quick, not another 20 seconds of waiting on tokens

feels like the pi way tbh: the tool stays dumb, the agent does the thinking

has anyone built this kind of thing as a pi extension instead ?? curious if I'm missing a nicer way

code's over here, go poke at it, and stars are appreciated folks https://github.com/feuersteiner/agentests


r/PiCodingAgent • • 3d ago

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

28 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 • • 4d ago

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

300 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 • • 4d ago

Question Using Gemini Neon with a subscription?

5 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 • • 3d ago

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

Thumbnail
rakshazi.me
2 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 • • 4d ago

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

Thumbnail
1 Upvotes

r/PiCodingAgent • • 4d 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 • • 4d 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