I have just recently started using subagents more in my programming workflow, if only to try it for a bit and see if it's something I prefer.
I have found that no matter how much explicit guidance I give my agents in the global AGENTS.md or APPEND_SYSTEM.md that after the first large delegated activity, they go back to doing everything themselves in the primary context.
Does anyone have any idea how to really enforce / encourage the behavior I'm looking for?
I'm moving from OpenCode to Pi to get a cleaner, more minimal workflow.
I gave OMP a try first. While it’s packed with great features, it feels a bit too heavy and strays from the minimal philosophy that drew me to Pi. At the same time, OMP bundles some great built-in tools (LSP diagnostics, anchored file edits, subagents) that I’d love to have as modular add-ons in vanilla Pi.
Is there a list mapping out-of-the-box OMP features to equivalent Pi extensions/packages?
If not, what packages do you recommend for keeping Pi lean while covering essentials like safer edits, LSP integration, and subagent workflows?
I have been running llama server in my Windows PC and Pi agent harness inside WSL 2 in same machine. No issues so far, but of course I understand that I can accidentally do stupid stuff by deleting files on wrong path etc. with it. Not a very realistic issue, but still a possibility.
One thing what I started to think that if I would just create one virtual machine or container in my Proxmox host which is separated machine and then I would just install Pi there and use it over my Windows PC what would be running only llama server, is there any potential security issues what I should think about related to my Windows PC?
I was thinking that if I then just allow my Pi instance to connect only to main PC on that port and disable internet for it so I can be sure it will be always private instance, but is there some things what still could be problematic for security point of view what I just don't know yet?
And sure, security on those boxes are not THAT critical but just annoying if I have written some diaries or copies my calendar there for example. Yea, I don't want those to be publicly available but if that happens then it happens (eg. not that dangerous). Just common basic security.
Do any of you use Pi this way and is there anything to remember?
Hi all. We're Divergenz, an interaction design studio in Zurich. Sharing a design experiment that I think sits close to things this community cares about.
Piary treats a conversation with a coding agent as an editable, executable document instead of a chat log. The person and the agent write on the same page. Prompts, replies, notes, tool calls and live reactive cells share one Markdown file. You can rewrite a wrong assumption instead of correcting it in a follow-up, delete a detour, or edit an earlier prompt and run it again in place.
Built on Observable's notebook-kit for the reactive cells, iA Writer's plain-text document model as the design reference, and pi as the agent harness.
I switch between Claude, Codex and OpenCode through Pi depending on the task. The problem: every provider hides your usage somewhere in its own dashboard, so you never actually know how much you have left you find out when a request fails mid-task.
So I built pi-usage-live a Pi extension that keeps your usage on screen permanently. It's not a command you run, it's a card that sits in the corner while you work. It follows your active model. Switch from Claude to Codex and the card switches with you, so it always shows the allowance that applies to your next request.
- /usage all expands it to every provider you have credentials for, each with its own windows and reset countdowns.
- It costs nothing where the provider allows it. If a provider reports usage in the headers of requests you were already making, that's how it reads it. Only the rest get polled.
- Claude keeps updating even when you're working somewhere else. Anthropic exposes both a header path and a usage endpoint, so the card uses both your Claude number doesn't go dark the moment you switch providers.
- It tells "high" from "blocked". Where the provider reports its own severity, that beats a generic threshold, so a window that's actually stopping you doesn't look like one that's just filling up.
- Old readings say so. Anything older than 15 minutes is labelled with its age, so a cached number is never passed off as live.
It supports Claude, ChatGPT Codex, OpenCode Zen, OpenRouter, DeepSeek, Kimi, MiniMax, Moonshot and Z.AI.
Your credentials come from Pi itself and are only ever sent to that provider's own origin. If you've pointed a provider at a custom or proxied URL, it reports unavailable instead of forwarding your key somewhere else.
It has no runtime dependencies, and it renders in whatever theme you're already using.
This is the repo if you're interested... Give a star :)
I love Pi, and it's proven to be an awesome combo with Qwen 3.8 27B. There is one thing I noticed however when looking at Qwen reasoning: on a regular basis, I see things like "the user has asked again for the same question" or "the user has now asked three times for the same request" - as if I had sent a steering request that was a duplicate of the original ask. But I'm never doing that, and actually almost never use steering requests. This doesn't seem to have impacted the output and perhaps it's not important, but I was wondering if anyone else had noticed the same? Thanks!
TL;DR: Anybody automating a full development Pi workflow with programmatic non-AI solutions?
Up until now, I've attempted to partially automate the entire software development lifecyle with Pi, aka a "Software Factory". I am using a subagents extension, but it feels a bit too loose, opaque and difficult to steer, so I want to use something more deterministic and directly controllable.
I'm evaluating a workflow DAG GUI builder that orchestrates the entire process. I am using one that also has a CLI and REST API, so I can write my own scripts for even more programmatic control.
(I do not want to look like I'm promoting so I'm reluctant to say what I'm using, but it's lightweight and similar to n8n or airflow.)
Or instead, I could just write my own orchestrator, like this in bash:
#!/bin/bash
set -eu
# Software Factory.
# This is a just an untested workflow example, not something I'd actually use.
# A TS script with the Pi SDK would be better.
GOAL="$*"
pi -p /write-spec "$GOAL" | tee spec.md
vim spec.md # review and edit
pi -p /write-tickets-for-spec @spec.md ./tickets/
vim ./tickets/*.md
for ticket in tickets/*.md; do
pi -p /write-plan "@${ticket}" | tee /tmp/plan.md
pi -p /execute-plan @/tmp/plan.md
pi -p --continue /quick-code-review-and-fix
done
pi -p $REVIEW_MODEL /code-review
Anybody doing using a workflow DAG editor UI?
Anybody writing their software factory with actual code, like my example?
I found some AI agent DAG projects on github. Anybody using something like that?
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.
This question is mostly for people who use Paseo on daily basis with Pi, and maybe other Desktop/Web UIs for Pi, but I'm currently focused on Paseo.
I'm interested in understanding what extensions do you use with Pi if your main entry point is Paseo given that not all extensions play that well with a frontend like Paseo.
For instance, I was personally using pi-memory before Paseo, but the way exit summaries work is not very compatible with how Paseo works. Are you using any other long-term memory extension that plays better with Paseo? Which one?
What other extensions were you using before Paseo that you had to replace/remove when moving to Paseo? And more importantly, what extensions are you relying on daily that work without issues with Paseo?
The ones I'm currently using:
@gotgenes/pi-anthropic-auth
pi-mcp-adapter
pi-memory (going to disable this one)
pi-observational-memory (thinking of replacing with pi-blackhole)
pi-web-access
Curious to hear what you've been using and that works well with Paseo.
I went down the rabbit hole with this one, once again. In context, and in brief, I have been searching for a way to filter available tools(skills and stateless mcps), to access a much larger number of useful resources, while also choosing the right one at the right time. I researched about twenty semantic routers and almost all were discontinued or did not fit my simple requirement of running directly, without CLI and instructions in AGENTS.md. Eventually, I landed on vllm semantic router. It's powerful, but tricky to get it right.
What I want
OMP → vLLM-SR → OpenAI / Anthropic / Google (Preserve the ergonomic model choice of omp)
What I have
OMP → vLLM-SR → OMP auth gateway → OpenAI / Anthropic / Google (Must duplicate model names in vllm-sr and disable Codex Code Mode plus Image Generation plus other featuers, basically every non-OpenAI compatible endpoint.)
Goal:
OMP sends its normal request, including its available tools.
vLLM-SR reduces that tool list before the model sees it.
OMP still owns MCP servers, tool execution, OAuth, provider credentials, and provider-specific behavior.
Ideally, provider changes stay in OMP rather than being duplicated inside vLLM-SR.
Why this is difficult
The clean ideal:
“OMP owns all models/providers/endpoints; vLLM-SR only filters tools”
I cannot find a direct, documented way to implement vLLM-SR.
The closest supported version is:
vLLM-SR has minimal aliases and model IDs;
every alias points to one OMP auth-gateway backend;
OMP auth gateway keeps real provider credentials/endpoints;
OMP executes tools.
That still means some model identity/configuration is duplicated in vLLM-SR.
I've worked on Pi Desktop for a while but haven't posted about it much, so here's a proper intro.
It's a desktop app for the Pi coding agent, and it also works with oh-my-pi (OMP). I use Pi every day and wanted more than a terminal window, so I built this.
What it does:
Streaming chat that shows thinking blocks and tool calls. File reads show as highlighted code, and edits show as diffs.
Multiple workspaces. Each session runs its own agent process, so a task keeps going when you switch to a different one.
A file tree, a code editor, preview panes for code, images, and PDFs, and a terminal.
Four permission modes, from read-only to trusted. You can also add allow/deny rules, for example "never touch *.env".
A package browser that connects to pi.dev/packages.
Themes. There are 7 built-in, you can make your own in the app, and there's a small community gallery.
An optional mode where Pi, Claude, and Codex agree on a plan before Pi builds it.
It's had a few releases so far, and more people have picked it up than I expected. Thanks to everyone who has downloaded it, starred it, or filed an issue. It's still alpha, so feedback and bug reports help a lot.
I’ve been working on Pitago, a terminal user interface that wraps the Pi AI coding agent.
The important thing about Pitago is that it does not replace or reimplement Pi’s core. It acts as a TUI layer on top of Pi, allowing you to keep using Pi’s existing agent logic, tools, providers, models, sessions, and workflows while interacting with it through a more structured terminal interface.
The goal is to make AI-assisted coding sessions easier to follow and more comfortable than working with a plain terminal stream, without losing the functionality that already makes Pi useful.
Pitago currently provides:
A real-time chat interface
Model and provider selection
Session management
Tool-call and tool-output visibility
Git status information
Support for multiple models and providers
A terminal-first workflow built with Go and Bubble Tea
A TUI layer that preserves Pi’s underlying core and behavior
In other words, Pitago is meant to be a different interface for Pi, not a separate AI coding agent.
I wanted to keep the workflow close to the command line while adding more structure for longer coding sessions. The idea is that users can benefit from a more visual and organized interface while still relying on Pi for the actual agent functionality.
The project is still evolving, so I’m especially interested in feedback on:
Terminal UI and interaction design
Session and context management
How tool calls and tool output should be displayed
Which Pi features should be exposed more directly in the TUI
What features are missing from your AI coding workflow
Whether a TUI wrapper makes Pi more useful compared with using it directly from the shell
Feedback, bug reports, and ideas are very welcome. If you try it, I’d also love to hear how you normally use Pi or other AI coding agents, and what makes longer coding sessions difficult to follow.
I'm currently the lead engineer for a small but growing team. I've been building a fairly complex platform that blends expertise from various niche domains.
Without saying too much, I have been working across:
weather event modelling
real-time data ingestion
embedded development
image processing
geospatial analysis
distributed computing
and systems architecture
This has been an amazing proving ground for agentic capability.
I've been using CC on a subscription for the past year. I have a very mature and disciplined ecosystem of skills, hooks, compaction lifecycle, and disk cleanup techniques. Honestly, I've loved it, but the costs have just been too much.
So, two nights ago, I finally decided to explore other options. Since I've been hearing a lot about OMP, I decided to give it a try.
And guys, OH MY GOD. The difference is striking.
OMP is an absolute dream to work with. I'm not suggesting CC is bad, but the scale and complexity of my recent work really exposed it's limitations. For nitty-gritty engineering and design work, I honestly can't even put them in the same category.
My first pass at configuration and model selection gave me something that was faster, cheaper, and produced far better results.
To the devs: God damn, nice job.
To the community: Hoping for advice, tricks, tips, and harness opts/configs that might be fun to play with. I am also wondering what people use for the model config: roles, models, etc. Is there a known meta?
TL;DR
Platform engineer of a large multi-disciplinary project. Switched from CC to OMP, and OMP blew me away. The hype is real.
I switch between Claude Code, Codex, OpenCode and a couple other coding agents depending on the task. The problem: every tool stores sessions in its own format, in its own folder, and once you close the terminal the context is basically gone unless you remember exactly where you left off.
So I built pi-session-hub — a Pi extension that indexes every agent session on your machine into a single browsable list. You open it with alt+r, search across all of them, and either:
- Load the context into your current chat (Enter) — recent turns come in verbatim, older ones condense, tool output compresses. It has a hard budget so it doesn't blow up your tokens.
- Read the full transcript for free (v) — read-only viewer, zero tokens.
It supports Pi, Claude Code, Codex, OpenCode, Crush and JCode. Everything stays local — no network calls, no uploads, no transcripts leaving the machine.
It uses a local SQLite FTS5 index so search is fast, and the indexing is incremental (2 seconds for ~430 sessions on first run, near-instant after). This is the repo if youre interested... Give a star :) Repo: https://github.com/Gateton/pi-session-hub
Modern coding models can do a lot without a large harness. For a small change, or in a codebase I know well, a single agent with a good prompt is often enough.
That does not mean every task needs a harness. In those cases, it can cost more tokens, make the work more complicated, and even send it in a less useful direction.
But without a feedback loop that can inspect and correct an LLM's work, a task can drift easily. That is more likely in a domain I do not know well.
A smart model and a reliable feedback loop are different things.
That is when a harness becomes useful. It does not make a model correct. It writes down the process:
Boundaries: what to check first, and where to stop
Partitioning: what work should be separate
Verification: which results need evidence
Output: what the final answer must not leave out
Long tasks have a context problem too. Early assumptions, failed attempts, and irrelevant tool output accumulate in one session. A larger context window does not automatically make the relevant information easier to see.
That is one reason I use subagents. Each can take a focused job with fresh, bounded context. But splitting work is not a solution by itself: vague boundaries create repeated work, handoffs lose important information, and someone still has to put the results back together.
Where to split the work, what to verify, and which results to combine are still decisions I need to make.
So I built pi-workflow.
The idea is simple. When I know a recurring process, I write it as a JSON spec. A research workflow might be plan → research → verify → synthesize; a review workflow might be triage → parallel review → challenge → report.
The flow is not a hidden prompt. I can read it, edit it, and recombine it for a project. Known inputs, result merging, validation, and rendering can stay deterministic; agents can do the research and judgment.
I cannot always know the exact shape of a process before I begin. When I do, I can define that shape and repeat it. When I do not, I need a process that can plan, split, and synthesize the work as it unfolds.
In either case, the process should not become a hidden orchestration layer I cannot touch. I should be able to read it, change it, and rebuild it when I need to.
pi-workflow is not a way to use more agents. It is one way to give work that is hard to manage in a single context the amount of structure I want.
Pi stays minimal. I choose the process on top of it. That is what I wanted from pi-workflow.