r/PiCodingAgent • u/arcanemachined • Aug 20 '26
Resource I made a Pi extension to modify your /tree history. Useful for giving your agents a little nudge in the right direction.
r/PiCodingAgent • u/arcanemachined • Aug 20 '26
r/PiCodingAgent • u/Nunu_Chus • Aug 19 '26
Hey there I have installed pi since I heard a lot about that bcz of its low token usage and minimal design but I installed some packages [7 packages] (MCP adapter, context7, plan mode, todo, pi-hypa, context-mode, ask user question since every harness has these Ig) then installed some skills. Now even a single hi takes about 6-7k+ tokens. I did a college java project and it burnt tokens a lot. It burnt me around 100k+ tokens on deepseek's v4 flash model to make a database connection, creating database and table and a simple student management system where you can add, remove, view students in java.
I wanted to make pi token efficient with best possible results. If you say that I have installed too many packages then tell me how to replicate those features like other harnesses with low token usage.
r/PiCodingAgent • u/Certain_Net_3408 • Aug 19 '26
I’ve been looking at Hermes Agent’s "/goal" approach: give the agent a persistent goal, let it continue across turns, have a lightweight judge decide whether it’s done, and stop when the goal is achieved or the turn budget is exhausted.
It got me thinking about Pi:
Could this be implemented as an extension rather than a core feature?
Something like:
"/loop 30m "Fix the tests and get CI green""
The extension would manage:
That feels quite aligned with Pi's philosophy: keep the core small, but make powerful agent behaviours possible through extensions.
Would a lightweight, time-bound autonomous loop be useful in Pi, or does this belong entirely outside the harness?
r/PiCodingAgent • u/AnlgDgtlInterface • Aug 19 '26
Im building out my pi stack and really loving the composability it offers.
I’ve ported 4 of my ai packages to pi and would love to share
https://pi.dev/packages/@geohar/pi-sharedserver
Is a utility which runs processes whilst pi is running and shares them between all pi instances. I use it to run remote-pi (it’s also used by two of my other plugins)
https://pi.dev/packages/@geohar/pi-mcp-combiner
Is my mcp aggregator and oauth proxy / permissions layer which allows managing and sharing mcp instances between pi sessions.
https://pi.dev/packages/@geohar/pi-svg-mcp
Helps author diagrams and provides visual feedback to vision capable llms as well as semantic editing whilst allowing you to see progress and give feedback on diagram progress. I’ve found it a lot more useful than letting the LLm edit svg by hand - in part because it provides a nice document model to the LLm.
https://pi.dev/packages/@geohar/pi-cribsheet
This one enables:
* semantic and symbolic code search
* semantic document / note search and import
* long lived plans with dependencies
* long lived designs with design decision dependencies
I’ve found it to be very useful in avoiding having to re-contextualize new sessions and for ensuring planned items don’t get dropped over multiple sessions. It also helps validate areas that need revisiting when a design decision is changed.
It’s markdown based with a chroma db sidecar for the embeddings. Storage is git transportable between machines. And will index docs you already have.
Feedback welcome.
r/PiCodingAgent • u/Upbeat_Pea8961 • Aug 19 '26
Hey folks 👋
We just open sourced TrueForge, our vendor-neutral agent harness for building general-purpose agents.
It handles the runtime pieces that get painful quickly : context management, tool/MCP execution, subagents, sandboxing, approvals, persistent state, and more.
We also benchmarked the harness itself. With the same Opus 4.8 model, TrueForge delivered a similar solve rate at ~30% lower cost than Claude Managed Agents. Switching to an open model pushed that to ~75% lower cost on the same benchmark.
Would love feedback from people building agents.
⭐ Star the repo: https://github.com/truefoundry/trueforge
📖 Read the launch article: https://x.com/truefoundry/status/2090081376330715176
r/PiCodingAgent • u/joematthewsdev • Aug 19 '26
Here's the latest in my 'Humble Pi' series of gists for getting pi + llama.cpp working with Qwen 3.8 27b on macOS/Linux with less than 24gb of vram.
I provided a 'one-shot todo app prompt' in the gist and it was able to handle that no problem. So far it has been a very capable model.
Please let me know what you think!
https://gist.github.com/joematthews/69e60b357470487618a0b14b0aabecb8
r/PiCodingAgent • u/DanielSReichenbach • Aug 19 '26
Hi folks,
I spent a ton of time making pi my own tailoring it for local llama.cpp server usage so much so, that I ran out of problems.
So my question for you folks is: do you rice / style your pi installations? If so, what's your favorite visual change?
Pictures much appreciated ☺️
r/PiCodingAgent • u/isus_copilul_minune • Aug 19 '26
Can you recommend me a simple yet configurable subagent extension? I'm currently testing `pi-subagents` but i find it slow and bloated. What are you guys using?
r/PiCodingAgent • u/Supral333 • Aug 19 '26
Hi, the ask is the title...
r/PiCodingAgent • u/Qintomb • Aug 19 '26
r/PiCodingAgent • u/L2ncE • Aug 19 '26
One of my favorite features in Claude Code was /btw. After switching to Pi, it wasn't natively supported, and the third-community plugins didn't quite match what I expected, so I built my own.
https://github.com/L2ncE/pi-btw

Stars appreciated ⭐️👏🏻
r/PiCodingAgent • u/JC1DA • Aug 19 '26
this ext opens a web server directly in pi session and stream your TUI with some basic functions to a remote viewer in the same TRUSTED network so you can check and steer your agent anywhere.
r/PiCodingAgent • u/agentwyz • Aug 19 '26
Pi's coding-agent extensions are TypeScript modules with an in-process API:
registerTool, registerCommand, lifecycle hooks, and some TUI UI, then
hot-reload. Same language as the host.
If the host is Go (single binary), how would you get close to that?
Options I'm weighing: embed Lua/Starlark/JS, Wasm plugins, a sidecar
extension host over RPC, or accept that hooks+MCP is the ceiling.
If you've built plugin systems for Go CLIs/agents/editors: what would you
actually ship, and what would you refuse to build?
r/PiCodingAgent • u/Constant_Kitchen5737 • Aug 19 '26
Is anyone using this setup and what has your rate limit been like for software development?
openai hyped up their GPT 5.6 luna having longer usage, is this true using Pi?
I was using Pi + DeepSeek v4 flash API plan, then decided to switch to openAI API plan and got rate limited after a few seconds.
So wondering if the same happens if you use Pi with one of their sub plans?
r/PiCodingAgent • u/coding9 • Aug 18 '26
Just send "hello" and see what the sent token count is.
Mine was 7.5k and then I optimized by removing a few tools registered that I didn't need from an extension.
Now my initial prompt is 3.5k. That's with background task monitor support, issue tracker tool, otherwise I keep my setup super minimal.
I have no active skills, just a ton of prompt files and a small workspace level agents.md
r/PiCodingAgent • u/DCGreatDane • Aug 18 '26
I’m using pi but would like to have it for the plan like Claude or opencode but it is constantly In a loop. Is it because I’m using qwen3.8-27b-mlx? Any recommendations or suggestions?
r/PiCodingAgent • u/Ok_Cartographer5609 • Aug 18 '26
I have used Pi, Oh my Pi, Opencode, Antigravity, and Claude, but Pi is so so good.
It is simple, smart, keeps its thinking grounded, hallucinates less, is extremely good at following instructions and is aware of the environment.
By awareness, I mean it knows what needs to be edited or changed.
r/PiCodingAgent • u/ideamaker321 • Aug 18 '26
npm packages
- pi-lean-ctx — star of show. context economy: 13-token re-reads, indexed search. big win.
- u/ff-labs/pi-fff — frecency search complements lean-ctx. fast first lookups.
- pi-caveman — ~75% output cut. fun + real savings.
- pi-subagents — workhorse. single + scripted multi-agent. backbone.
- u/juicesharp/rpiv-web-tools — solid web layer. still need /web-tools key setup.
- u/juanbenjumea/pi-dynamic-footer — live observability (TPS, context gauge, cost). better than powerline for metrics.
- u/almegal/pi-file-browser — visual browse beats ls for structure.
- u/narumitw/pi-goal — single-objective autonomy. pairs with subagents.
- pi-autoresearch — experiment loop. pairs with karpathy skill well.
- pi-session-recall — memory across sessions. low risk, read-only.
- u/micka33/pi-karpathy-skill — always-on behavioral guardrails. cheap insurance.
local extensions
- handoff.ts — best one. lossless session handoff beats compaction.
- plan-mode — read-only analysis mode. real safety value.
- notify.ts — done-notification. practical.
- summarize.ts — markdown summarize. handy.
- model-status.ts — demo-grade. dynamic footer now shows model anyway. candidate to delete.
- todo.ts — demo todo tool. likely redundant w/ built-in todo. candidate to delete.
- snake.ts / space-invaders.ts — toys. zero cost. keep for joy.
r/PiCodingAgent • u/Neosinic • Aug 18 '26
r/PiCodingAgent • u/Anh-DT • Aug 18 '26
Looking for feedback from Pi users on both the integration and the models you actually want access to.
A few questions:
Particularly interested in demand for models such as DeepSeek, GLM, Kimi, Qwen, MiniMax, and other strong coding models.
Also interested in first impressions of Openference:
If anyone tries the Pi provider package, feedback on setup, compatibility, model metadata, reasoning support, streaming, or anything that feels broken would be useful.
Openference now has a provider package for Pi Coding Agent:
https://pi.dev/packages/@openference/pi-provider?name=openference

r/PiCodingAgent • u/encodedhuman • Aug 18 '26
I have been using Pi regularly and ended up building a few small extensions for things I wanted in my own workflow.
Mind Queue : Save a thought without interrupting the session.
https://github.com/sanif/pi-mind-queue
Turnstamp : Shows when an agent response finished and how long it took
https://github.com/sanif/pi-turnstamp
Chat Summary : Keeps a short rolling conversation summary
https://github.com/sanif/pi-chat-summary
Chat Suggest : Suggests a useful next message in the prompt editor
https://github.com/sanif/pi-chat-suggest
Chat Summary and Chat Suggest were inspired by features I liked in Claude Code. The others came from small annoyances I kept running into.
They’ve been useful for me, so I cleaned them up and published them. Feel free to try them or share feedback.
r/PiCodingAgent • u/Perfect_spot • Aug 18 '26

Hi, I’ve been working on a GUI client for Pi using GPUI. It’s still at an early stage, but it has reached the point where I’m dogfooding it, and I wanted to get some early feedback.
My first question is: what extra capabilities would make you consider using a GUI client instead of the terminal? I’m trying to assess that question more broadly rather than just building around my own workflow.
Some capabilities currently live on the Rust side. Would adding a companion Pi extension be a reasonable way to expose those as native tools? I’m also curious which kinds of extension support you’d most want in the GUI layer.
Currently, I only have dedicated support for nicobailon/pi-subagents. I can switch to a subagent’s session, read its transcript, and control it from the GUI.
r/PiCodingAgent • u/Ok_Veterinarian_6364 • Aug 18 '26
I love Pi, period.
Problem: after the recent DS pricing changes and fall of opencode -> i have to sub GPT plus -> sooner or later, im afraid that OpenAI will follow Anthropic to block other than Codex for sub plans.
This left the title question: Does opensource harness like Pi safe for the future? Enjoying sub plan with more generous tokens from providers, or we have to rely on local llms? or we have to accept higher API pay-as-you-go pricing?
thanks!
r/PiCodingAgent • u/bala221240 • Aug 18 '26
Pi speaks. And you must listen. If you don't, you will continue to look for answers and find none. Have a look at it:
Fair Assessment of Why Pi Works
I'll give you the honest answer, not the flattering one. Pi's quality isn't magic. It's a specific set of design choices that other harnesses systematically
get wrong.
The Trump Card: Constraint
Pi's actual advantage is what it doesn't do.
1. No orchestration layer
Other harnesses ship planners, reviewers, fixers, multi-agent routers, and "auto-decomposition" engines. Pi ships a tool loop and a strong system prompt. The
model itself does the reasoning. Adding a planner on top of a reasoning model doesn't make reasoning better — it makes it slower and more brittle. Pi treats
the model as capable and gets out of the way.
2. Prompt-level discipline instead of framework-level discipline
Pi's quality comes from constraints written in AGENTS.md and the Karpathy guidelines: "surgical changes, simplicity first, verify before completing, no
abstractions beyond what was asked." Other harnesses try to enforce discipline with TypeScript configs, plugin systems, validators, and lint rules. Discipline
that lives in the prompt transfers with the model. Discipline that lives in the framework only works when you stay inside the framework.
3. Skills are opt-in, not ambient
Pi loads skills when they match the task. Most other harnesses either preload everything (noise tax) or require explicit invocation ceremony (friction tax).
Neither is right. Pi's approach — load on match — is the only one that scales.
4. One harness, one mental model
You learned Pi. You know how read, edit, bash, and write behave. You know how skills resolve. You know the agent's failure modes. That mental model is an
asset. Chasing a new harness resets it.
Why Other Harnesses Look Complicated
Most of them are solving problems that don't exist for a single user with a strong model:
- Multi-agent orchestration: useful at scale, theatre at personal use
- Plan-then-execute workflows: useful when the model is weak, redundant when it isn't
- Extensive plugin systems: useful for platforms, overkill for one developer
- Daily updates: most of those updates are bug fixes for complexity that shouldn't have been added
The daily-update cadence is a smell, not a feature. A stable interface that does the right thing beats an unstable interface that does five new things.
Why Forum Hype Should Not Sway You
The Pareto frontier hasn't moved in two years. The core of agent harness design — tool use, file editing, command execution, web access — is settled. New tools
you see on X/Reddit are mostly:
1. Repackaging existing affordances with a new brand
2. Adding a planner/reviewer because the demo looked cool in a tweet
3. Solving the author's specific pain point, not yours
Selection bias is brutal on social media. People who post "I switched to X and it's amazing!" are in the honeymoon phase. You don't see the post three months
later saying "actually, X has these annoying issues." You've seen Pi across two years. You have signal; Twitter has anecdotes.
The complexity tax is real. Every new feature is a new failure mode. A harness with 50 features has 50 places to break. A harness with 5 solid features has 5.
How to Make the Experience Better
Five concrete things, all under your control:
1. Tighten AGENTS.md over time. Your file already encodes Ollama protection, local-inference rules, council conventions. Keep pruning — every rule should pay
for itself across many sessions.
2. Invest in skills, not tools. A skill like is leverage: one trigger covers an entire workflow. New tools give you new affordances; new skills
give you new workflows.
3. Verify before celebrating. "It should work" is the most expensive phrase in agent work. Pi's verify-this skill exists for this reason. Use it.
4. Resist the "while I'm at it" instinct. Your AGENTS.md already names this: do nothing is a valid answer. Restraint compounds. Scope creep destroys.
5. Document your own patterns. When you find a workflow that works , capture it. Your future self will thank you.
Honest Limitations
Pi isn't perfect. Things it's genuinely weaker at:
- Long-horizon multi-session state — no built-in memory layer; you carry it via files
- Parallel agent coordination — cmax skill helps, but it's not first-class
- Visual diff review — no native UI for inspecting agent changes across runs
- Telemetry — if you want usage metrics, you build them yourself
For these, a heavier harness might earn its complexity. But for the 95% case — read a file, edit a file, run a command, ship a result — Pi is the right shape.
The Real Answer
Pi isn't good because it's sophisticated. It's good because it's honest about what an agent harness should be: a thin, well-shaped interface between you and a
capable model. The moment a harness starts trying to be smarter than the model, it loses.
Two years of use is the right answer. Trust your evidence over their announcements.
r/PiCodingAgent • u/Glad-Win1983 • Aug 18 '26
Does anyone know of a plugin or solution to monitor pi sessions from your phone?