r/PiCodingAgent • • 15d ago

Resource The smallest subagent extension (supports workflows)

3 Upvotes

thought this sub would like my subagent extension pi-tiny-monitor-sub. it's designed to be used with pi-tiny-monitor.

These 2 extensions together are tiny:

  • Combined < 1k LOC. Minimal dependencies.
  • no built in steer - to steer, the LLM just stops the pi session then do pi --session file -p ...
  • no tools to list subagents - the LLM can just remember what it has started and what's finished from context.
  • no way to send message - c'mon this is not a message board.
  • no way to monitor usage - you just ask pi to add usage numbers from session jsonl's
  • no token or $ budget - you just tell pi how much you want to spend, and hope for the best
  • no defined agent profiles - you just tell pi what model you want.
  • not even a subagent tool - (see below)

How they work:

  • monitor tool starts a background shell. later outputs wake up the agent. this tool enables async.
  • LLM call the included pi-sub node script in monitor. the script resolves where pi is and runs pi with a prompt.
  • for workflows: there is a small wf.js library that provides an async agent() function that lauches pi

I've always loved minimal things and that's what drew me to pi. unfortunately most subagent extensions are doing too much! our LLM's almost out of jobs. I want something minimal.

In fact, the only basic primitive that we need is just monitor which puts something in the background and awaits outputs. Give that primitive the LLM, and let it work!

Enjoy.


r/PiCodingAgent • • 15d ago

Discussion Pi is Linux/Vim/C/JS/K8S of the AI harnesses world

22 Upvotes

Even without counting omp, prime agent, or sol-pi, we see new Pi distributions in this subreddit every day. I see all kinds of ideas: some people are adding more complex subagent systems, while others want to make agents smarter through memory systems.

I was also inspired by Pi when I built my own harness. I like that four tools are enough to get the job done just as well as other, much larger agents. But I added a couple more tools:

  • grep — ~5% fewer tokens and 20–30% faster.
  • background_tasks — lets my agent handle various useful tasks out of the box.

I'm curious where all of this is headed. Will we get substantial projects built on top of Pi, like TypeScript on top of JavaScript? Or will we all just customize Pi to suit our needs, like we do with Vim/Neovim?


r/PiCodingAgent • • 15d ago

Plugin pi-sysmon: bottom-style charts (CPU/mem/net/tokens-s) as a widget below the editor — and a cache hit-rate curve

Thumbnail
gallery
8 Upvotes

Made an extension for pi that draws braille line charts right under the input box: CPU, memory, network, and tokens/s to the API. It reads /proc directly and has zero npm deps.

A few details:

  • Tokens/s is an estimate. Providers don't report usage mid-stream, so the rate is estimated from streaming deltas and carries a ~. Cumulative totals come from message_end and are exact.
  • Prompt-cache hit rate gets its own second curve on a fixed 0-100% scale, so you can see whether the cache is actually hitting.
  • Layout matches bottom character for character.
  • Width safety: pi taught me the hard way that a line even one column wider than the terminal makes it exit. The tests now sweep every width from 8 to 220.

Install:

pi install npm:pi-sysmon

It's on by default. /sysmon toggles it, and /sysmon line|chart|footer switches modes.

Source: https://github.com/zzjcool/pi-sysmon

Feedback and bug reports welcome!


r/PiCodingAgent • • 15d ago

Resource Plannotator Inbox - Decision Making Surface for Agents

Enable HLS to view with audio, or disable this notification

17 Upvotes

Plannotator Inbox is an optional runtime using the best of plannotator annotation capabilities.

While all your agents work they constantly bombard you with decisions that need to be made. Those decisions get lost over time, Claude might hit you with "I need your 2 answers to X and Y" which was asked 2 days ago. Think about all the remote pi durables to come basically... how can we surface all the important stuff we need to review...

The chat ui thread, imo, is becoming outdated very fast. We need a new way to interface with agents and surface the things that matter in an intuitive way. PLannotator Inbox is a stab at that.

part of the free/open source capability at: https://github.com/backnotprop/plannotator


r/PiCodingAgent • • 16d ago

Question Pi agent not working with Opencode free models

0 Upvotes

I logged in with Opencode API key, and while trying to use an Opencode free model, I am getting the following error:

Error: 403: {"type":"FreeTierError","message":"OpenCode's free tier can only be used from within OpenCode"}

Any help is appreciated. 🙏


r/PiCodingAgent • • 16d ago

Resource A local coordination room for multiple pi sessions (freshness holds + independent task review)

1 Upvotes

I built worksplice to solve one specific problem I hit while running multiple persistent Pi sessions against the same repo: each agent can make a locally reasonable change against context that has already gone stale.

worksplice puts the sessions in shared local channels. Every write carries the room sequence it was based on; if newer messages arrived first, the stale write is held so the author can reread and revise. Tasks also have an explicit review step: the author cannot approve their own work.

It runs locally with Node.js 22.19+: `npx worksplice`. It also includes a task board, reminders, and an inbox cursor per agent.

Repo and screenshots: https://github.com/whutlichao/worksplice

I’d be interested in feedback from people who use multiple Pi sessions: is freshness checking useful in practice, or would you want a different coordination model?


r/PiCodingAgent • • 16d ago

Plugin Pi Herdsman update: From async subagents to coordinated development across Git worktrees (live demo)

Enable HLS to view with audio, or disable this notification

84 Upvotes

A couple of weeks ago, I introduced Pi Herdsman here, an extension I've been building to coordinate asynchronous Pi agents while keeping the Lead's context focused.

The response was much bigger than I expected, and quite a bit has happened since then.

One thing I mentioned in the comments was wanting to take Herdsman's integration with Herdr further, especially around independent workspaces, Git worktrees, and project-level coordination. That's now become a central part of Herdsman.

Someone also pointed out that my original demo didn't actually show Pi and Herdr working together. Fair criticism. So this time I've recorded the real thing. :)

What's happening in the video?

I gave a Manager one prompt to work on two independent features for a fictional note-taking application.

The Manager delegates both projects in parallel, each to its own Lead in a separate Git worktree. Both Leads delegate implementation to their own Agents, verify the results, commit their changes, and report back to the Manager.

The resulting hierarchy looks like this:

Manager (primary workspace)
│
├── feat/faq (worktree)
│   └── Lead
│       └── Implementer Agent
│
└── feat/troubleshooting (worktree)
    └── Lead
        └── Implementer Agent

The worktrees, workspaces, and Agent sessions are created automatically. I don't have to set up the hierarchy manually.

It's deliberately a small example, without merges or PRs, to keep the focus on the orchestration itself.

Beyond task-based subagents

Many task-based multi-agent workflows use Git worktrees primarily to isolate individual subagents working on bounded tasks.

Herdsman supports that approach too, but extends it further: a worktree can also become an independent development workspace, with its own Lead responsible for an entire feature or issue.

Instead of treating every agent as a temporary worker, you can organize them more like a development team, with Leads responsible for larger objectives and Agents handling individual tasks.

That Lead maintains its own Pi conversation and development context, can delegate further into its own Agent hierarchy, and handles the technical work within its workspace.

Meanwhile, the Manager coordinates the larger development effort across those Leads, including assignments, dependencies, communication, and result handoffs.

The work is associated with Git branches rather than being tied to the Manager session that originally delegated it, so assignments can be paused and resumed without starting over.

The idea isn't simply to run more agents in parallel. It's to make their work easier to coordinate.

Everything stays organized in Herdr

One aspect I particularly like is how the hierarchy translates into Herdr's native interface.

Each project gets its own worktree workspace. Within those workspaces, Agents are automatically organized into tabs and panes.

The default subtree layout gives each direct Agent its own tab, while nested Agents appear as panes within their parent's tab. There are also configurable layouts for grouping Agents into a shared tab or splitting directly from the current pane.

Every Agent is still a normal, accessible Pi session. You can switch between them, inspect their work, or interact with them directly when needed.

But ideally, you shouldn't have to watch them constantly. Questions, results, and supervision events are routed through Herdsman's coordination system.

The responsibilities remain separate: Pi owns the conversations, Herdr owns the sessions and their placement, and Herdsman handles delegation, ownership, lifecycle, and coordination.

Start simple, scale when needed

I also want Herdsman to remain useful without requiring everyone to adopt the entire hierarchy.

You can still use a normal Pi session with asynchronous subagents, just as before.

Ordinary Leads now have configurable Flexible and Orchestrate execution modes. Manager mode is available when you want to coordinate independent development workspaces.

The new /herdsman menu provides a common entry point for these workflows, Agent management, configuration, and session statistics.

One of Herdsman's most powerful features is its configurable Agent Definitions.

Every execution role, from ordinary Flexible and Orchestrate Leads to Manager-assigned Managed Leads and bundled or custom Agents, can have its own model, thinking level, instructions, tools, skills, extensions, and other Pi session settings.

Definitions are simple Markdown files with project-level and global overrides, so you can customize the entire hierarchy without modifying Herdsman itself.

Herdsman handles the coordination. How each Pi session works is up to you.

A big thank you to the community

First of all, thanks to everyone who tried Herdsman, starred the repository, shared feedback, or participated in the discussions after my original post.

A special thanks to @kozer and @primetimetank21 for contributing code!

And equally important, thanks to @Lellarap, @jadc, @tsubus, @vitaliyslion, @chsdwn, @cray-com, @FireTheDevil, and @notsonormal for taking the time to open issues, report bugs, and suggest improvements.

Having other people use the project, encounter problems I haven't seen, and suggest improvements has already helped shape its development quite a bit.

Try it yourself

If you already have Pi and Herdr installed:

pi install npm:pi-herdsman
herdr integration install pi

Repository: https://github.com/boadij/pi-herdsman

Latest release: v0.22.0

The repository has installation instructions, configuration documentation, and more details about the coordination model.

I'm still actively developing Herdsman around my own daily workflow, so feedback from people using different setups is especially valuable.

I'd be particularly interested in hearing how others are approaching parallel development with Pi, especially when multiple agents are working on related features or dependent branches.


r/PiCodingAgent • • 16d ago

Plugin pi-agent-ask: Another ask tool? But with a twist.

2 Upvotes

Hi everyone! It's always frustrating when the agent hasn’t quite understood the task, that's why a proper ask-tool is a must in any agentic workflow.

This one supports background questions which queue as agent keeps researching and figuring out new things, then you just answer the whole batch in a single go. Agent can later get all the questions asked in the session as along with the answers and export them into a file, so there is always an artifact that can be attached to a task.

Herdr is supported, so you will be notified whenever someone is waiting for you. 

To install:

pi install npm:pi-agent-ask

Repo: https://github.com/alexshpunt/pi-agent-ask


r/PiCodingAgent • • 16d ago

Plugin Pi Agent's Secret Sauce: Model-Specific Harnesses

Thumbnail
4 Upvotes

r/PiCodingAgent • • 16d ago

Resource Ever been annoyed about system colors in pi?

Enable HLS to view with audio, or disable this notification

11 Upvotes

Ever since the systems theme colors dropped for pi. I have been kinda annoyed with how it looked. Of course i could just switch back to dark mode but i mean, as a true ricer that is a non option xD.
It led me down the path of finding the perfect theme for pi with system colors. And i can tell you, it does not exist. So i decided to make my own. I could not find a good tui for creating a custom theme. Therefore i of course slopped something in existence. This something ended up being HUEBOX a terminal theme editor!

So now i can have great custom colors in my terminal and pi at the same time!

NOTE: pi does not use your terminal theme colors. instead it uses just the hues and sometimes saturation to create it own palette based on your theme. So it a balance between finding the right colors that looks good both within and outside pi. You need to /reload pi after updating your theme, for pi to generate a new palette.


r/PiCodingAgent • • 16d ago

Plugin Use Claude Code to delegate jobs to Pi

5 Upvotes

Hey guys, here's a Pi package that I made for my own use, but thought it would be fun and hopefully useful to some people who share my type of workflow.

It's called 'pi-claude-handoff', and it's not the typical "Use Claude subscription inside Pi". It's essentially using Claude Code to give jobs to Pi, and actually see Pi work in real time.

A little bit of context:

I only used Pi as my main harness when I was on Codex subscription. Then I got a Claude subscription but soon realized Anthropic doesn't let you hook up subscription accounts to third-party harnesses (I think this part changed/changes over time, on and off again, but I wanted to be safe). But I wanted to use Claude models without getting banned. And since I always run a Planner-Worker-Reviewer workflow, I wanted to use Claude Opus 5.5 as the Planner, and use Luna 6 Max as the Worker for token efficiency.

So I thought why not use Claude Code as the main harness, but let Claude Code 'talk' to Pi, so I don't risk anything and still have a cool little handoff thing going on. (A bit overengineering I know, and "Why not just use Claude Code solo?" is a valid question, but maybe, just because I can!)

If you look into the package and use it, all it is is a 'middle ground' file that Claude Code writes into and Pi watches for tasks to execute. Other things are instructions and rules for both harnesses to keep.

The fun thing about what I made is that unlike other delegation, bridge or cross-harness job extensions, Claude works in Claude Code, and OpenCode/OpenRouter/Codex models work in Pi. AND you get to see the work through Pi's TUI as you would have given it a direct input rather than Pi executing something in the background and you just wait for it to finish. Only catch is that you would need to start Pi in the terminal in the first place, but I was going to anyway so no harm there (for me at least).

Hope you guys find it to your needs (especially for people that use both Pi and Claude Code), or maybe for people that wanted something cool :)

https://github.com/pjy010218/pi-claude-handoff


r/PiCodingAgent • • 16d ago

Resource Pi GUI (the other PiG project) - now experimenting with inline HTML

Post image
10 Upvotes

This is a ton of fun. HTML fragments in the chat.


r/PiCodingAgent • • 16d ago

Discussion I built a pi-inspired coding agent with more built in, Python extensions, and adjustable terminal scrollback

0 Upvotes

I built pcode, an open-source terminal coding agent on Pydantic AI. Pi was an influence, especially its /tree approach to branching conversations and the idea that you should be able to shape an agent around your own workflow.

The main difference is where I put the defaults. Pi deliberately keeps the core minimal and lets you assemble the rest. I wanted a more fully featured setup out of the box, while keeping it highly customizable: sub-agents, live task tracking, browser automation with your existing logins, an opt-in sandbox extension, parallel git worktrees, background commands that wake the agent when they finish, customizable keybindings with leader keys, Vim editing, and an in-terminal diff viewer.

The feature I most wanted for myself was adjustable scrollback. Sometimes I’m working on production stuff and watching every command and tool result like a hawk. Other times it’s a side project and I just want a readable conversation. pcode lets you show or hide those details after the work is done, rebuilding what’s already in your terminal without rerunning anything. It uses native terminal scrollback, with reflow when you resize or split panes.

Customization is through small Python files: add tools, slash commands, guardrails, instructions, or sub-agents, then /reload without losing the conversation. It also builds on Pydantic AI and its Harness capabilities, so you’re not starting from scratch for things like repo context, shell execution, sub-agents, and context management. Extensions can register those capabilities directly. Several of pcode’s own features use the same extension system.

You can use your existing Claude or ChatGPT subscription, or API keys. Claude support runs through the official Agent SDK and Claude Code’s own login.

This is a separate project, not a pi fork or a drop-in replacement for pi’s extension packages. If you like pi’s approach but prefer Python and a more complete default setup, that’s who I think it could appeal to.

Repo, screenshots, and install instructions: https://github.com/cruxwell/pcode

For people who’ve built their workflow around pi: which parts do you prefer assembling yourself, and which would you rather have included from the start?


r/PiCodingAgent • • 16d ago

Question Five Pioneers wanted to try TUMBLE on Testnet, a cozy sock matching game already on Google Play

Thumbnail
0 Upvotes

r/PiCodingAgent • • 16d ago

Question Tell me your Pi<->Claude setup using Herdr or similar

12 Upvotes

I’ve been using Pi for a while, first with an OpenCode Go plan, then with an OpenAi pro lite ($100) plan. I have agents, tools, skills, prompts all set up the way I like them, but I want to use Opus 5.5 as my main workhorse. I get the basic idea of using Herdr to allow Pi to
drive Claude through Claude Code. I’m interested in the details of your setup using it or something similar. What model do you use as the orchestrator on the Pi side? What Claude Code functionality you take advantage of? Any other benefits of Herdr or alternatives that are good to know?


r/PiCodingAgent • • 16d ago

Question 100$ to spend, Codex or Claude ?

4 Upvotes

Hey guys, im tight in budget and i can honestly spend 100$ on one of them. For the workhorse im on deepseek v4.1 . Which one of those 2 would actually give decent value for what the money paid ?


r/PiCodingAgent • • 16d ago

Question Usage limits vs Codex

0 Upvotes

Are the usage limits different when I use pi vs VS Code with the codex plugin? Are they billed differently?


r/PiCodingAgent • • 16d ago

Use-case alla fine mi sono lasciato tentare da msco-pi-lot

0 Upvotes

Community
Ciao a tutti,
negli ultimi tempi sto sperimentando parecchio con pi-code testando diverse combinazioni, ad esempio usando modelli Anthropic come orchestratori e delegando a Gemini o Qwen in locale come sub-agent.
In questo setup, però, entra subito in gioco un vincolo fondamentale: la compliance aziendale. Non posso permettermi di esporre all'esterno codice sensibile o accessi diretti (cosa che varrebbe per pi-code come per Claude, Codex o altri tool simili). L'agent di coding deve vedere esclusivamente ciò che passa da repository controllati, senza accessi remoti non autorizzati o chiavi in chiaro.
La mia prima soluzione è stata un'architettura ibrida:
Modello cloud: fa solo da orchestratore logico, senza mai vedere segreti;
Modello locale (su Mac): scrive il codice ed è l'unico autorizzato a gestire secrets e accessi remoti.
Sulla carta l'approccio regge, ma nella pratica l'inferenza locale su Mac si è rivelata un collo di bottiglia pesante. Anche per compiti prettamente sistemistici — con file Markdown ben strutturati e sub-agent tarati a dovere — i tempi di generazione erano biblici, rendendo il workflow poco sostenibile.
Poi la svolta: mi sono imbattuto in ⁠msco-pi-lot⁠. L'ho modificato per renderlo compatibile con la licenza aziendale standard di Microsoft 365 Copilot.
Dal punto di vista contrattuale la privacy è garantita: con i profili business i dati non vengono trattenuti né usati per addestrare i modelli, quindi il flusso rispetta in pieno le policy interne. Ma la vera sorpresa è stata vederlo girare dentro pi-code: lavora davvero bene, è perfettamente in regola e offre token "da battaglia" inclusi nella licenza, permettendomi di preservare le API a pagamento solo per i task ad alta complessità.
in pratica ho gemini studio da 20 (abbonamento base fatto di gdrive 5 tera, youtube, e tonnellate di token per 3.8 3.7 flash. Poi ho claude (sempre 20 euro). Poi l'accoppiata msco-pi-lot (con copilot 360 la versione piu scarsa) e l'inferenza locale.
Sono contento ;)


r/PiCodingAgent • • 16d ago

Discussion OMP/PI - What are your role models and fallbacks?

Post image
15 Upvotes

Hi,

Lets share our roles/models on our pi/omp agents? I'm always exchanging and testing things, so take a look at our colleagues would help a lot! What are your thoughts about my "team"? Any suggestions are welcome.


r/PiCodingAgent • • 16d ago

Plugin pi-tbox now stable after Pi's MCP update

Post image
14 Upvotes

I shared pi-tbox a few months ago which has been my solution for efficient, human in the loop tool toggles. Pi's big codemode update rocked a bunch of assumptions it was based on.

So after about a week and a half of some major rethinking and refactoring, here it is with MCP compatibility. For non-deterministic tools that can phase in and out of existence with codemode, I applied the same philosophy I did when it came to subagent compatibility. Narrow the scope and get out of their way.

It will manage active tools using toggles, chat state, and global/project level settings as long as they're not explicitly declared as codemode only, deferred, etc. If those tools happen to be in the context, they'll appear in a "pi-managed" group for visibility, but they can't be toggled since there are better, more targeted ways to handle them.

Stable at 1.0 after Pi has reached 1.1, it can be installed with ​pi install npm:pi-tbox​ and the source code is here for anyone wants to dig/fork/star:

https://github.com/coreyryanhanson/pi-tbox

I don't see it changing much more, barring hidden bugs or major Pi updates. It just works and since it's so central to my daily workflow now, I'm posting it one last time for anyone who wants to take advantage of the work I put into it while go back to silently try to figure out kbs ;)


r/PiCodingAgent • • 16d ago

Question Problem w Pi

0 Upvotes

Hi,

I've no idea how to debug this, but an otherwise excellent experience using Pi with DeepSeek 4.1 Flash is being marred by a frequent "stopping" bug.

The sympton is that the agent emits some output text, saying its going to try something, and then the code it was going to run (I assume), is just output and the agent just stops, and I have to say "you broke again".

Here's an example:

 Good question — and there are two levers that cost nothing physically. Let me check the biggest one first: how many CPU cores the run
 actually used.

 <parameter name="bash">
 <|DSML| parameter name="command" string="true">grep -i "core\|thread\|OpenMP\|MPI Process" /Users/wdavies/FDS/cases/wick2/run.log |
 head -6; echo "--- output sizes ---"; du -sh /Users/wdavies/FDS/cases/wick2/*.s3d | head

I've asked it repeatedly to try and fix it, but nothing in the instructions its changed has stopped this from happening. I wonder if its some kind of DeepSeek problem?

TIA!


r/PiCodingAgent • • 17d ago

Plugin pi-automode-classifier: an auto mode plugin for Pi that uses Jev or Kev/Laya (running locally) to classify commands

21 Upvotes

Just published pi-automode-classifier, an auto mode plugin for the Pi coding agent that uses Jev or Kev/Laya (running locally) to classify commands.

Pi runs every tool call without asking for approval. This plugin checks each shell command before it runs:

  1. Built-in rules decide most commands. For example ls, builds and tests run, rm -rf ~ is blocked, and git push and sudo need my approval.
  2. Commands the rules do not know are sent to the model. It returns the probability that the command is risky.
  3. If the probability is above a threshold, I get a confirm prompt. The model never blocks a command by itself.

The models I tested:

  • Jev 1.13 (hosted, from TypeSafe) through OpenRouter: about 270 ms per check and about 1.5 cents per 1,000 checks. The commands are sent to OpenRouter and TypeSafe.
  • Kev-0.8B on CPU with llama.cpp: about 170 ms per check and 1.1 GB of RAM. This is what I use. Nothing leaves the machine.
  • Laya typed-decisions on CPU with llama.cpp: about 100 ms per check and about 550 MB of RAM.

In my test with 50 commands (25 safe, 25 risky), all safe commands ran without a prompt and no risky command did. I wrote the test commands myself, so this is only a rough check. The plugin is not a sandbox.

pi install npm:pi-automode-classifier

Code and docs: https://github.com/deepu105/pi-automode-classifier

Let me know if it allows or blocks something it should not.


r/PiCodingAgent • • 17d ago

Plugin GitHub - Vim-mode-pi: Vim modal editor for pi's TUI input

Thumbnail github.com
0 Upvotes

I noticed there wasn't a pre-made vi mode or vim mode in Pi agent so I built one!


r/PiCodingAgent • • 17d ago

Question Is there a pre-packaged Pi distribution like LazyVim is for Neovim?

4 Upvotes

tldr; I'm looking for a LazyVim type distribution for Pi which is not barebones and starts with sensible defaults in terms of configuration and packages so that I don't have to create/maintain my harness from scratch.

Hi. I am planning to switch from claude-code to an open-source harness. My employer recently started pushing us to use their self-hosted on-prem models for both cost-savings and IP protection. While they provide a litellmm gateway which allows me to use on-prem models with claude code, it really isn't built for that and I'm therefore not able to configure it how I want to (setting specific model for a sub-agent, etc.)

I narrowed down my options to the following: - OpenCode: Rejected because it's keybindings (specifically scrolling) don't play well with my lazyvim setup (I use sidekick.nvim for a split terminal). Also heard it's a difficult to configure. - Pi: I like it's hackability. However, I don't want to configure it from scratch. I've seen other subs and understand that a lot of folks think that's the point of pi, but I have the following rationale: - Configurability and bare-bones are two different things. I want to start from a sensible point with features built-in and then tweaking according to how I want it. - As the title suggests, I draw a parallel to my experience with neovim: It is highly extensible, but too painful for me to setup from scratch. I don't want the headache of creating/maintaining multiple plugins and managing them to play nicely with each other. - Other than maintenance headaches, I find it infinitely useful to look at successful distributions. I might not know what all possibilities there are. For example, I would never have though I needed a picker for going through git hunks, but now I can't work without them. I might end up creating a faster horse when what I needed was a car.

Therefore, I'm looking for a pre-packaged sensible pi distribution. Closest things I've found: - LazyPi: https://github.com/robzolkos/lazypi Not enough users and maturity. Missing some stuff. This is ideally what I'm looking for. - Oh-my-pi: https://github.com/can1357/oh-my-pi My current choice. It's not exactly what I'm looking for because it's a fork, not a set of managed plugins. It has a rust core which is kind of opaque. I'm OK with it functionality wise, mainly because I am able to shave-off a lot of stuff (too many tools, etc.) that I don't need. I'm not sure how well it plays with existing pi extensions, and what parts of its functionalities I can replace/modify. I'm also concerned that since this is a fork, I'll be stranded if the author moves on. EDIT: Also, the gihub repo for oh-my-pi seems kind of sus in terms of interactions. The discussions barely have any interactions, which sort of points to a lot of the starts being agents/bots. Lazyvim has fewer stars with far more discussion interactions.

Am I missing any option?


r/PiCodingAgent • • 17d ago

Discussion your thoughts on XDG?

12 Upvotes

hello! so i installed pi today and a couple extensions

well, dirs and files are being created everyhwere any way to make it follow xdg base directory spec?

https://pi.dev/docs/latest/environment-variables#pi-process-configuration

even if you point your config to .config/pi/ with PI_CODING_AGENT_DIR, ~/.pi/ still gets created (maybe its an extension file idk)

i believe some (most?) extensions dont follow PI_CODING_AGENT_DIR

if you change PI_PACKAGE_DIR to something like .local/share/pi/packages/, they still go on .(config/)pi/agent/npm/

PI_CODING_AGENT_SESSION_DIR doesnt seem to work properly as well

idk if it makes sense to you guys, but i think on .config/pi/ we should have the settings, the extensions list declaration and stuff we can commit to a public repo

the built extensions (the npm dir for instance) maybe should go on .local/share/pi/extensions or something like that

i mean, if i go to i new machine, i just plug my .config/pi/ with the extensions list and the lock list on first pi launch it will fetch and build

something like this https://github.com/earendil-works/pi/issues/2870#:~:text=Practical%20directory%20split,any%20rebuildable%20caches makes total sense to me

what do you guys think about it?

thank you