r/PiCodingAgent • • Sep 15 '26

Plugin Un Bien - iOS remote control for Pi

Thumbnail
docs.georgeharker.com
14 Upvotes

I’d like to announce Un Bien - a native iOS client for pi.

Un Bien supports:

  • self hosted architecture
  • full streamed and rendered markdown
  • rendering of images, code diffs and tool results
  • fork, branch, clone of sessions
  • plan rendering when combined with pi-plan, cribsheet or a conformant extension
  • user-input questions (and pi-ask integration)
  • subagent display and interaction when combined with @tintinweb/pi-subagents or @gotgenes/pi-subagents
  • optional device initiated chats - start new session from your phone, spawning a tmux or herdr hosted session on your machine

As a bonus it includes a cli tool to connect to other sessions on your relay from the cli

Links:

I developed this in pursuit of something that felt native interaction-wise and supported as many pi features as possible. I hope you find it useful!

Un Bien is started out as a tweaked version of remote-pi by Jacob Moura (MIT); see the README for attribution. I ended up diverging significantly on the back end implementation and the iOS app is a total rewrite.


r/PiCodingAgent • • Sep 15 '26

Use-case Super simple ralph loop.

9 Upvotes

Just for fun, I wrote this little Ralph loop. It's a chat between a product owner and a developer.

It's a lot of fun to watch!

I set it to only loop 10 times. Change "STEPS" to increase it. The chat can continue forever if you want it to. Watch your wallet! Only run in a container or VM.

#!/bin/bash
set -eu

STEPS=10
PRODUCT='a new product idea we will come up with'
PROMPT='Hello, I am the product owner and you are the developer.
But first let us brainstorm some ideas and features together for '"$PRODUCT"'.
We will save and edit them in `./ideas/` directory and commit them to git.
We will not write any code unless we have a product fully specified.'

PERSONA1="You are a product owner
who comes up with lots of feature ideas.
You ensure the developer creates a useful quality app.
"
PERSONA2="You are an expert developer,
who values code quality and wants to satisfy the product owner.
You ask a lot of clarifying questions about feature ideas."
SESSIONS=/tmp/sess

# Remove this line if you want it to pick up where it left off.
rm -f "${SESSIONS}?.jsonl"

response1="$PROMPT"
echo "Step 0. Product Owner> $PROMPT"

for i in $(seq 1 1 "$STEPS"); do
    echo "Step $i:"
    response2="$(pi -p -c --append-system-prompt "$PERSONA2" --session "${SESSIONS}2.jsonl" "$response1")"
    echo
    echo "Developer> $response2"
    response1="$(pi -p -c --append-system-prompt "$PERSONA1" --session "${SESSIONS}1.jsonl" "$response2")"
    echo
    echo "Product Owner> $response1"
done

last="Okay, we need to wrap it up.
Complete everything we said we were going to do."

echo "$last"
pi -p -c --append-system-prompt "$PERSONA2" --session "${SESSIONS}2.jsonl" "$response1 $last"

echo "Done."

A fancier version would work across two terminal windows and show the full TUIs. Maybe I'll do that and post an update later.


r/PiCodingAgent • • Sep 15 '26

Plugin Make tool calls display compactly: pi-tiny-tools

Thumbnail
github.com
6 Upvotes

Made this small extension to make tools compact on screen. This made it easier for me to focus on assistant messages.


r/PiCodingAgent • • Sep 15 '26

Plugin Built an interactive TUI model switcher for ⁠pi⁠ so I don't have to guess context limits & pricing. Would love some feedback!

33 Upvotes

Hey everyone, first time sharing a project here!

I've been using pi in my daily CLI workflow, but kept getting frustrated having to guess or memorize context windows and pricing tiers whenever I swapped models.

To solve that, I put together a lightweight plugin called pi-rich-model-selector. It replaces the default picker with an interactive TUI:
- Real-time fuzzy search across providers
- Side-by-side specs (context size, token limits, pricing)
- 100% keyboard-first flow

Here's the repo: pi-rich-model-selector

I’d love to hear your thoughts, feature ideas, or any edge cases I should handle. Thanks for checking it out!


r/PiCodingAgent • • Sep 15 '26

Question pi-antigravity error

2 Upvotes

is it safe to continue to use antigravity models via pi-antigravity even after seeing this message

Error: Antigravity API error (429, endpoint=https://cloudcode-pa.googleapis.com, project=aicode-consumers,

runtimeModel=gemini-3.8-flash-low, matched=none, available=unknown): Rate limited by Antigravity (429 ResourceExhausted). Next:

retrying automatically; if it persists, switch models.


r/PiCodingAgent • • Sep 15 '26

Use-case OpenMuse powered by Pi agent harness

Post image
3 Upvotes

Built an open-source version of the Muse agent app which can be used with any model provider, run privately with local models.

Please give it a try and reach out for any feedback ✌️

https://github.com/CelestoAI/celesto/tree/main/open-muse


r/PiCodingAgent • • Sep 15 '26

Plugin Un Bien - iOS remote client

Thumbnail docs.georgeharker.com
0 Upvotes

I’d like to announce Un Bien - a native iOS client for pi.

Un Bien supports:

  • self hosted architecture
  • full streamed and rendered markdown
  • rendering of images, code diffs and tool results
  • fork, branch, clone of sessions
  • plan rendering when combined with pi-plan, cribsheet or a conformant extension
  • user-input questions (and pi-ask integration)
  • subagent display and interaction when combined with @tintinweb/pi-subagents or @gotgenes/pi-subagents
  • optional device initiated chats - start new session from your phone, spawning a tmux or herdr hosted session on your machine

As a bonus it includes a cli tool to connect to other sessions on your relay from the cli

Links:

I developed this in pursuit of something that felt native interaction-wise and supported as many pi features as possible. I hope you find it useful!

Un Bien is started out as a tweaked version of remote-pi by Jacob Moura (MIT); see the README for attribution. I ended up diverging significantly on the back end implementation and the iOS app is a total rewrite.


r/PiCodingAgent • • Sep 15 '26

Resource Pie - native macOS client for Pi Coding Agent (ChatGPT style)

14 Upvotes

Started using Pi recently and gotta say I love it

I've mostly been using Codex and love their UI too, so I built Pie - a macOS client that heavily inspired Codex / ChatGPT style

Full source-code (MIT) and a macOS app is available at
https://github.com/hieunc229/pie

Feedback are welcome


r/PiCodingAgent • • Sep 15 '26

Resource pi-ui a month later: harder, better, faster, stronger

Thumbnail
gallery
56 Upvotes

since my last post, pi-ui went from v0.26 to v0.47.1 and reached 100 releases!

what's new:

  • dropped deno desktop and fully migrated to bun server
  • dropped a lot of deps
  • improved performance
  • reduced memory usage
  • smaller bundle size
  • automatic session titles, inline renaming
  • improved shell syntax highlight and formatting
  • forking sessions into another workspace
  • minimal mode
  • configurable fonts
  • create new workspaces
  • redesigned chat controls and pickers
  • improved mobile layouts
  • configurable keybinds
  • full config with a generated json schema

and a tonne of other improvements, it's much more polished now

try it out:

bunx @hyperpuncher/pi-ui

https://github.com/hyperpuncher/pi-ui

thx to everyone for all the feedback on the first post!

reddit flattened the demo animations, so here are the originals:

light-demo dark-demo


r/PiCodingAgent • • Sep 15 '26

Resource pi-resolve: file imports and dynamic context for Pi

Post image
2 Upvotes

Pi autocompletes file paths with @, but doesn’t include their contents.

I built pi-resolve to include those files directly. Write Check @src/parser.ts against @docs/style.md, and Pi gets both files without extra tool calls.

Sometimes the context you need isn’t a file. A code review needs the current diff. Debugging needs the latest test output. A new session might need a map of the project.

Shell references let you include that context too. A review skill could load your testing checklist with @docs/testing.md and the current changes with !`git diff`, then check whether the tests cover the changed behavior.

These references work in AGENTS.md, skills, and prompts, including prompt templates. Third-party extensions can use the same resolver through its API.

In AGENTS.md, you can keep instructions in separate source documents and generate fresh project context at session start. Here’s an example that loads two docs and generates an index of active guides:

Architecture: @docs/architecture.md
Coding conventions: @docs/conventions.md

Active guides:
!`find docs -type f -name '*.md' -exec env DOC={} yq -f extract 'select(.status == "active") | [strenv(DOC), .description] | @tsv' {} \;`

Pi receives the documents and an index containing paths and descriptions of guides marked active. This example requires yq.

Now your context can stay up to date without you rewriting it. You can give Pi the latest changes or a quick project overview, without filling the context with whole files.

How it differs from similar extensions

Other extensions support file imports and shell expansion too. Here are the choices I made for pi-resolve:

  • Clear and configurable resolution status in Pi's UI.
  • One resolver across prompts, templates, skills, and system context, including SYSTEM.md and AGENTS.md.
  • A shared resolver API that other extensions can build on.
  • Separate file and command settings for each source. Commands are off by default in templates and skills.
  • Single-level resolution for security and simplicity. Imported files and command output can’t trigger further imports or commands.

Check it out on: https://github.com/mpazik/pi-resolve


r/PiCodingAgent • • Sep 15 '26

Question Best method to schedule prompts in Pi(cron jobs)

1 Upvotes

I checked this repo

https://github.com/ArtemisAI/pi-loop#readme

But seems it not having enough stars. Is there any other popular method to schedule jobs for pi?
For example, I want it to create a morning news feed at 7 am. I will have a custom system.md file and skills for this task. Now I just want to trigger pi with a simple prompt like “ prepare the summary for today” and send it to Pi at 7 am. Any best way to do this? It will be good if it is session based instead of a single cli based invocation of Pi.


r/PiCodingAgent • • Sep 15 '26

Plugin I made pi-crew so subagents get the context, not just the task

Post image
33 Upvotes

Hey folks, I've been working on pi-crew, a subagent extension for Pi.

My main focus is making sure subagents get the context they need. The main agent knows what you've discussed and decided, but a subagent won't unless that information makes it into the task.

With pi-crew, the main agent writes a structured task with separate fields for the goal, context, and instructions. The tool definitions, prompt guidelines, and skill work together to help it carry over the decisions and boundaries the subagent can't find in the repo.

It won't make every handoff perfect, but it's the part I've put the most thought into.

I also wanted subagents to be able to ask questions instead of guessing. In pi-crew, they can get an answer and pick up where they left off. If something needs fixing afterward, the main agent just tells the same subagent what to change. You don't have to spend extra tokens and time getting a new agent caught up on the same task.

It's all async. After handing off a task, the main agent can work on something else or keep talking with you while the subagents run. Results come back automatically, without polling.

I've also tried to keep it feeling like Pi. The six tools have short definitions, with the longer delegation guidance in a skill that gets loaded when needed. The main agent gets the report without all the subagent's file reads and tool output filling up its context.

A few other things it comes with

  • Six agents for investigation, planning, decision advice, code reviews, and implementation.
  • /pi-crew-plan and /pi-crew-review if you want a ready-made workflow.
  • Custom agents written in Markdown, with their own models, thinking levels, tools, and skills.
  • User and project pi-crew.json files to override settings without editing agent definitions.
  • A widget showing activity, working time, tokens, and cost. You can collapse the details or hide tool activity through config.
  • Expandable reports that let you open the full child session.
  • herdr support that shows the running subagent count in the sidebar.

The agents have separate conversations but share your repo. It's not a sandbox, so you still need to avoid handing overlapping edits to agents running in parallel.

pi install npm:@melihmucuk/pi-crew

Requires Pi 0.84.3+. Source on GitHub.

Are you using any subagent extensions with Pi? Curious which ones you've stuck with and whether you're happy with them.


r/PiCodingAgent • • Sep 15 '26

Question Token 🔥?

0 Upvotes

Hi all,

I observed that as I am using my anthropic or gas subscription for pi, it just burns tokens in a huge pace!! One simple code change took 25% of my 5h limit. What do I miss, or is it that bad by design?


r/PiCodingAgent • • Sep 15 '26

Question Agents.md files not working at all

0 Upvotes

I've been trying to get the agents.md files to actually be read using qwen.5 through ollama with pi and it just- DOESN'T! If I point it out it will do it but otherwise it just ignores whatever I write completely. Extensions, different locations in file explorer, I'm not good enough or experienced enough to claim I've tried EVERY solution but I've tried a HELL OF A LOT!

If anyone knows how to fix this or if it's a model problem please help before I implode.


r/PiCodingAgent • • Sep 14 '26

Resource I built pi-ahp to use pi in VS Code’s Agents window

Post image
39 Upvotes

I tried a bunch of pi GUIs, but none of them quite stuck, so I started building pi-ahp. It gradually became my daily driver.

The chat UX, terminal, file search, previews, and editor are all still VS Code; pi is just the agent underneath.

The part that makes this work is Microsoft's open Agent Host Protocol (AHP). It separates the agent host from the client UI: pi-ahp embeds pi in-process and exposes its sessions, filesystem, and PTYs over AHP, while VS Code provides the familiar UI.

pi itself remains the backend, so your existing models, credentials, settings, and session history continue to work. It also means pi-ahp isn't tied to VS Code — other AHP clients can connect to the same host.

GitHub: https://github.com/Qusic/pi-ahp

npm i -g pi-ahp


r/PiCodingAgent • • Sep 14 '26

Question Can Pi themes set a global TUI background, or only component colors?

0 Upvotes

I’m testing Pi inside Ghostty + Herdr and created a custom `terminal-green` theme.

The theme works for some parts of the UI: user input, code blocks, links, borders, etc. But the normal assistant response text and the general pane background still seem to use the terminal/Herdr defaults.

In comparison, OpenCode appears to paint its full panel background inside the same Herdr workspace.

Question: does Pi’s theme system currently support a global TUI background / assistant message background, or are themes limited to component-level colors? If not supported today, is the expected path a renderer patch / feature request?

Context:

  • Ghostty background/foreground can make the full pane green/black, but only at terminal-window level.
  • Pi theme JSON has tokens like `userMessageBg`, `toolPendingBg`, `selectedBg`, `text`, etc.
  • I didn’t find an `appBg`, `background`, or `assistantMessageBg` token.

r/PiCodingAgent • • Sep 14 '26

Use-case My pi config and extensions

8 Upvotes

Сonfigured it to my liking. Threw in some handy extensions. Some patched from others and some built myself.
Feel free to praise or shame it.

https://github.com/Miskamyasa/pi-agent-config


r/PiCodingAgent • • Sep 14 '26

Question Do you bother with promptSnippet in tools definiton when description cover all the relevant info?

0 Upvotes

Often times I realize what I put in promptSnippet is basically a truncated version of what goes in description, and looking at a session export, both texts are sent to the LLM, so it looks redundant.


r/PiCodingAgent • • Sep 14 '26

News CrofAI "cheapest inference provider in the world" gets exposed as an OpenRouter wrapper, routing requests to smaller, cheaper models at up to 20x markup. CrofAI responds in hours by announcing the shutdown of their service

54 Upvotes

UPDATE

UPDATE: around 4:30 AM UTC of Sept 15, the owner published a now-deleted blog post (archive image) writing under the fake pretense that it's his "team" authoring it, stating all of CrofAI founder's claims "were written under a lot of stress, and they described the situation as worse it was", and that a new team is taking over, with the service being resumed in 2 weeks. At the same time, the CrofAI twitter account was also supposedly "taken over" by the team, starting each twitter reply with "Hey, Nathan here", stating the founder is stepping back and a "team" is taking over everything. This fake pretense act only lasted a few hours, and scared either by the public not buying the Nth fake story of the pathological liar that CrofAI is, or by the public's replies reminding him that what he committed is numerous counts of wire fraud, he has now deleted all his online presence: nahcrof.com and crof.ai return 404, Twitter page is deleted, /r/CrofAI sub is now private.

If you have not gotten a full refund by now, you should be filing a chargeback with your bank. Otherwise consider the money lost.

Original post:


Cautionary tale about chasing cheap tokens.

Only posting it here cause this sub was full of people praising this inference "provider".

exposé: https://kendell.dev/blog/crofaifalse/

reaction by nahcrof, announcing the shutdown of the service: https://x.com/nahcrof/status/2099552389434900643

NahCrofAI is (was) an inference provider which had all the latest models at the cheapest price, often significantly below the lowest alternative on OpenRouter. The owner claimed that they are running custom inference kernels that allows them to offer tokens for dirt cheap, and other providers are suffering from "skill issues".

In reality:

  • "CrofAI is an OpenRouter wrapper that silently routes to cheaper or weaker models than what you request"
  • For example, expensive models like kimi-k3 are sold at $2/$10 in/out, but instead routed to GLM 5.3 Flash via OpenRouter, representing a 13.3x multiple on input, and 20x multiple on output
  • CrofAI's "own model family" greg-2-ultra routes to GLM 5.2, greg-1-mini routes to Qwen 3.5 9B. greg-2-super, greg-1, greg-1-super routes to Kimi K2.7 Code. All of these at a significant markup compared to the actual model being served. CrofAI admits this.
  • The person investigating details the 5 different attempts by CrofAI at fixing their models being served via OpenRouter after given a heads-up. In all 5 attempts, the only change CrofAI made was attempts to hide the fingerprints of OpenRouter, while still serving models through them
  • Other inconsistencies don't add up either: CrofAI claims to run Kimi K3 on RTX Pro 6000s rented via Vast. That model requires ~802GiB even at the lobotomy level quantization of Q2_K. The largest RTX PRO 6000 machine on Vast has only 8 of them, totaling 765GiB

CrofAI responded to the exposé by announcing the shutting down of their service; after their failure to provide their own inference, they promise to provide one last thing: a refund to those asking.


r/PiCodingAgent • • Sep 14 '26

Plugin Heimdall: An Open-Source CPU Only Local Memory System

9 Upvotes

r/PiCodingAgent • • Sep 14 '26

Question Should Pi have a human-facing execution summary beyond Git diff?

1 Upvotes

As coding agents get faster, I'm starting to think Git diff is no longer enough for human review.

An agent may also run shell commands, install dependencies, start processes, access the network, spawn subagents, retry failed approaches, or make temporary changes that disappear from the final diff.

But reading the full session/tool history doesn't scale either.

A possible approach is:

Pi session/runtime data → deterministic activity summary → optional model summarization → human review

For example:

  • files/state changed
  • important shell/tool actions
  • external effects
  • subagents used
  • verification actually performed
  • failed/abandoned attempts
  • remaining uncertainty

The factual layer should come from Pi's recorded session/tool data, not from asking the model "what did you do?" The model can help compress and explain it.

Then the user sees a short summary by default, with drill-down into the exact diff, command, tool result, or transcript when needed.

Basically:

observe broadly, present narrowly.

I think harnesses increasingly need to be designed not only for the agent, but also for the human supervising it.

Today we put a lot of effort into giving agents better tools, context, permissions and orchestration. But as agent throughput grows, the human-facing side becomes just as important: helping people understand what happened, what mattered, and where they should intervene.

Humans may increasingly review consequences, exceptions, and evidence rather than every line of generated code.

Does this direction make sense to other Pi users? Are there already extensions exploring something similar?


r/PiCodingAgent • • Sep 14 '26

Use-case Your agents each remember your project separately. Mine don't anymore.

0 Upvotes

I keep switching between Claude Code, Cursor and Codex depending on the task. Every switch meant explaining the same project again — same decisions, same gotchas, same "no, we tried that already."

So I gave them one shared memory. Decide something in one, the rest know it.

It lives on my machine. No account, no subscription, nothing leaving my laptop. It syncs to my desktop over git, so it's just a repo I own — I can read it, diff it, delete it.

Free and open source. Curious whether anyone else has this problem or if I'm the only one tool-hopping this much.

https://github.com/kdbhalala/agi-memory


r/PiCodingAgent • • Sep 14 '26

Question Edit tool failsafe

2 Upvotes

99% of the times Pi using the default edit tool works great. However, I know we've all had those rare instances where it messes up the escape chars and keeps making mistakes until it tries using sed or Python (and then one has to scold it to stick to the tool until it gets it right).

I'm curious if anyone can confidently say that they have the optimal solution (or not so confidently say what they like best so far) to this problem and why? Is it:

  1. Another line to AGENTS.md?
  2. A custom skill?
  3. An override to the tool itself?
  4. A plugin based trigger on an event?

There are tradeoffs with each approach, and I'm curious what others do for this. I'm already knee deep in so many ambitious plugin-building rabbit holes that I haven't made up my mind on how to best avoid running into this problem for good.


r/PiCodingAgent • • Sep 14 '26

Discussion Byteplus coding subscription sucks

1 Upvotes

I was using pi with deepseek api keys for a while. I saw a bunch of ads and though byteplus was good deal. Man it’s horrible, setup was a pain. And then the api is slow, and the limit hit in less than 30min on a small session that was building a basic web app. I ran a decent load for over 5-10 hours with a deepseek api key.

Utter disappointment.

Curious if there are any good options out there, I am a bit cost conscious. And I don’t mind doing a lot of architectural/ planning work and using the agent as my code monkey.


r/PiCodingAgent • • Sep 14 '26

Question Opencode Go Pricewatcher

0 Upvotes

Does anyone know of a pi extension that watches price changes or peak hours for opencode go sub?