r/PiCodingAgent • • 7h ago

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

36 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 • • 2h ago

Plugin My coding agents run on my home server, so I built a btop-style monitor that groups processes by the app that started them

3 Upvotes

I do all my agent work on a home server. When you run multiple agents, top shows me a pile of `rustc`, `cc` and `bash` processes, and I can't tell which agent or app they belong to. I also want to know how close I am to my plan limit before I start another long run.

So I built sysra, a terminal system monitor in Rust for Linux and macOS.

It follows each process's parent chain back to the app that launched it, so the shell and compiler that Claude Code started show up under Claude Code. Brave gets one row instead of a dozen renderer processes. Press `/` to filter by app, process name or port, and Enter to look inside a row.

The agents panel shows tokens today and over the last 7 days for Claude Code, Codex, Pi, OpenCode and Hermes. For Claude Code and Codex it also shows the 5-hour and weekly limits with the time until reset. It only reads their local session files, and the live Claude limit request can be turned off.

There are eight built-in themes, press `t` to cycle them.

Install it with:

curl -fsSL https://raw.githubusercontent.com/utpalsinghdev/sysra/main/install.sh | sh

If it deserves a star, here the repo:

GitHub: https://github.com/utpalsinghdev/sysra

It's MIT and built around what I run on my own server, so it will group some apps wrong on yours. If it does, open an issue with the app name and how you launch it. Fork it, break it, send a PR.


r/PiCodingAgent • • 1h ago

Discussion How to have Pi agent run while laptop is asleep

2 Upvotes

Sorry, I feel like I'm missing something obvious but can't for the life of me figure this out.

My setup is i have a laptop and a remote AI workstation. Pi agent on the laptop then runs the LLMs served through that workstation running from lemonade AI server.

I know there are multiple ways to do this with tmux or even using ( & with nohup) I'm just like there has to be a way to do this natively right?

I just need to get it to keep working even when the laptop is asleep or closed


r/PiCodingAgent • • 8h ago

Question What are you using for linting and code formatting in Pi?

7 Upvotes

Hey everyone!

I'm need small help, what you guys are actually using for linting and syntax formatting in Pi.

Are you using any specific tools, extensions, or configurations to keep your code clean, consistent, and properly formatted?

Would love to hear some recommendations


r/PiCodingAgent • • 10h ago

Question is there any way other than trust to determine that certain less established api providers are not spying on you?

4 Upvotes

holy shit it really is impossible to get an attempt at an answer to a question on reddit that isn't the equivalent of whipping your dick out and jumping up and down spinning it in circles


r/PiCodingAgent • • 9h ago

News Added native Oh My Pi (OMP) support to Aetheris Microbrains: local pre-flight safety gate, DLP scrubbing, and auto-starting daemon

0 Upvotes

I just added first-class Oh My Pi (OMP) integration to Aetheris Microbrains, a local CPU-only pre-flight safety gate and tool-surface router for coding agents.

How it works with OMP: The extension (omp-aetheris-microbrains/index.js) has zero npm dependencies and no build step on the OMP side. It hooks into OMP's native tool_call, tool_result, session_start, and session_shutdown events and talks to a pure-stdlib Python daemon over localhost. You do not have to babysit a separate terminal either — if nothing is listening on 127.0.0.1:8765, the extension auto-starts the local daemon on first check with an ephemeral token passed via env and shuts it down cleanly on session_shutdown.

Quick setup:

git clone https://github.com/drtikov/microbrainsforagents cd microbrainsforagents pip install -e .

aetheris install omp --self-test aetheris install omp --workspace . omp

(Omit --workspace to install globally under ~/.omp/agent/extensions/aetheris-microbrains/index.js.)

Inside OMP you get:

  • Native ctx.ui.confirm() escalation in TUI and RPC modes when a command is uncertain (instead of blindly hard-blocking)
  • Synchronous tool_result DLP secret scrubbing before the LLM sees output
  • Layer 0 protection for .omp/, .omp/extensions/, .omp/settings.json, and omp.json(c) so a prompt-injected session cannot disable its own guardrails
  • Config via env vars or .omp/settings.json ("aetheris"), plus branch-aware stats persistence across /reload (stats only — tokens are never written to disk)
  • Two slash commands: /aetheris (daemon health + counters) and /aetheris-config (effective config with masked token + session stats)

Local OMP benchmark results (explicitly separating HTTP daemon vs in-process):

Latency:

  • Warmed HTTP daemon (--host omp): 1.41-4.25ms p50 / 3.16-6.93ms p95 across tool types (bash-safe: 2.15ms p50 / 3.16ms p95, write-file: 2.24ms p50 / 4.45ms p95, read-file: 1.85ms p50 / 4.16ms p95, bash-escalate: 4.25ms p50 / 6.93ms p95)
  • In-process Python API (all types): 0.2-0.4ms p50 / 0.5-0.8ms p95

Security (22 attack vectors):

  • 100% total interception (22/22): 16/22 (72.7%) hard-blocked, 6/22 (27.3%) escalated to user confirmation, 0% missed
  • Catches rm -rf, dd, curl | sh, hardcoded keys, base64 obfuscation, /proc/environ leaks, .omp/ and git-hook tampering, SSH key exfil, and Unicode prompt tricks

Benign operations (12 cases):

  • 0% false denies (0/12): 10/12 (83.3%) auto-allowed, 2/12 (16.7%) escalated for confirmation (npm test and git add .)

Post-tool DLP and injection checks:

  • Redacts Stripe keys, AWS keys, GitHub PATs, PEM private keys, Base64-wrapped Stripe keys, and real DB URIs
  • Intentionally ignores placeholder DB passwords (like pass, changeme, example) to avoid noisy false positives
  • Flags spoofed instruction delimiters and prompt-injection payloads ()

Modeled 20-step OMP session economics (local simulation, not live API invoices):

  • Hazards executed: 0/8 (vs 8/8 without gate)
  • Wasted recovery turns: 0 (vs 24-40)
  • Tool schema tokens (25 tools): 60,000 down to 9,600 with Top-4 session-sticky narrowing (56-81% cache-adjusted net savings)
  • Total gate overhead: ~60ms across the 20-step session

Fail-closed is on by default if the daemon is unreachable; set AETHERIS_HOOK_SHADOW=1 for observe-only mode or AETHERIS_FAIL_CLOSED=0 to allow on error.

Repo: https://github.com/drtikov/microbrainsforagents OMP extension bundle: https://github.com/drtikov/microbrainsforagents/tree/main/omp-aetheris-microbrains

Disclaimer: I am the author of Aetheris Microbrains. Built it for my own coding agent workflows and adapted it for Pi and Oh My Pi. Happy to hear what breaks or what OMP-specific tools (like the Python kernel or LSP hooks) you would want guarded next.


r/PiCodingAgent • • 12h ago

Question OpenCode flags for openAI usage limits but I got plenty left for the week & Codex works fine

Thumbnail reddit.com
0 Upvotes

Hi, I have tested this on Pi and I get the exact same issue. Trying to reach more people.


r/PiCodingAgent • • 11h ago

News Built a local, zero-dep Pi extension for pre-flight safety & tool-surface narrowing (Aetheris Microbrains, <2ms p95 on CPU)

0 Upvotes

I have been working on Aetheris Microbrains and just added native Pi Coding Agent support as a zero-dependency Level 3 extension.

It is a deterministic, CPU-only pre-flight gate (sub-2ms p95 locally) that hooks directly into Pi's tool_call and tool_result lifecycle events. It catches dangerous shell commands, AST/code hazards, protected-path edits, and secret leaks before they execute or hit the LLM.

Why I built it for Pi specifically:

Pi's extension API is a great fit because tool_call gives us native ctx.ui.confirm() escalation in TUI and RPC modes (instead of blindly hard-blocking ambiguous commands), and tool_result lets us scrub secrets synchronously before the model sees tool output.

30-second setup:

git clone https://github.com/drtikov/microbrainsforagents

cd microbrainsforagents

pip install -e .

aetheris install pi --workspace .

aetheris-daemon --http --host pi --port 8765

Then launch pi (or run /reload). Inside Pi you get two commands:

- /aetheris (quick daemon health check + session counters)

- /aetheris-config (effective config with masked token + session stats)

Zero Node dependencies and zero build step — it is a single ESM file loaded directly by Pi, configurable via env vars or .pi/settings.json ("aetheris").

What the 4-layer gate does:

- Layer 0: Protects sensitive & control-plane paths (.pi/, .git/, .ssh/, .env*)

- Layer 1: Polyglot AST + shell inspection (catches eval/exec, obfuscated base64 execution, secret leaks, rm -rf, curl | sh, breaking changes)

- Layer 2: Deterministic Top-4 MoE tool routing + conformal abstention (narrows 32 tools down to 4 with session-sticky caching)

- Layer 3: Escalates uncertain actions to you via ctx.ui.confirm() in TUI/RPC (fail-closed in non-interactive runs)

Local CPU benchmarks (reproducible scripts in examples/, no live API calls):

- 25-step agent loop: 64,800 down to 12,312 schema tokens (81% reduction, ~52k tokens saved/loop), 0 missed hazards, 0 false positives, 0.95ms p95

- Agent security & anti-evasion suite: 22/22 attacks caught (100% TPR), 0/12 benign false positives (0% FPR), 0.38ms p50 / 2.1ms p95

- SWE-bench Lite (300 real gold diffs): 297/300 allowed/escalated (3/300 denied on eval/exec patterns, 0 AST syntax false positives), 36.7% schema saved, 1.76ms p50 / 4.5ms p95

- Frozen 120-task prompt-cache advisor: 100% Recall@4, 0 dropped tools, 56.7% cache-adjusted net token savings (session-sticky)

- Counterfactual safety gate: blocks obfuscated base64 + exec payloads and breaking signature regressions

Modeled token economics (local estimate, not live invoices): ~52k prefill tokens saved per 25-step loop (~ \$0.079/loop at \$1.50/M input, or ~ \$118/month at 50 loops/day), plus ~2.1 Wh avoided per loop, all running locally on CPU so your code never leaves your machine for the gate.

Quick FAQ:

- Does it replace my LLM? No, it is a pre-filter. Your LLM still does all reasoning; Microbrains narrows the tool surface, scrubs secrets, and blocks dangerous actions locally.

- What if the daemon is down? Fail-closed by default. Set AETHERIS_FAIL_CLOSED=0 to allow, or AETHERIS_HOOK_SHADOW=1 for observe-only shadow mode.

- Does it work with any provider/model? Yes, it is model-agnostic (Anthropic, OpenAI, Google, local models via Pi).

Repo: https://github.com/drtikov/microbrainsforagents

Pi extension folder: pi-aetheris-microbrains/

Reproducible benchmarks: examples/05_reproducible_25step_benchmark.py, examples/07_swebench_lite_gate_benchmark.py, examples/08_frozen_advisor_benchmark.py, examples/10_agent_security_benchmark.py

Disclaimer: I am the author of Microbrains. Built it because I wanted fast, deterministic local guardrails for my own coding agent workflows and figured other Pi users might find it useful. Try it out and let me know what breaks — happy to help debug any edge cases.


r/PiCodingAgent • • 1d ago

Question Claude Pro subscription with Pi

25 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 • • 13h ago

Discussion Some painful issues with extensions on android

Thumbnail
github.com
0 Upvotes

I have built this agent called SATURN for android that can do pretty much anything but i am having problem with the extension supports most of these works but some just dont

Is there anything something like translation layer i can use ?

I am not complaining i just need your thoughts on this so android cam have the best local agent.


r/PiCodingAgent • • 1d ago

Question Pi-agent + OpenAI

6 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 • • 1d ago

Discussion Tests bloat

1 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 • • 1d ago

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

Thumbnail reddit.com
0 Upvotes

r/PiCodingAgent • • 2d ago

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

13 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 • • 2d ago

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

Thumbnail
github.com
48 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 • • 1d 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 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 • • 2d ago

Question Stable subagents extension?

18 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 • • 2d 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 • • 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 • • 1d 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 • • 3d ago

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

Thumbnail
radius.earendil.com
77 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 • • 2d 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 on 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 • • 2d ago

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

3 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 Pi Bot, an open-source desktop app for running a team of Pi agents

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