r/PiCodingAgent • • 12d ago

Use-case Finally introduced coding subagents to my harness

Post image

I was running several primary agents in parallel in my harness and the notifications were burying me. Every agent stopped to ask me something: "X or Y?", "tests pass, commit?", "found a side issue, fix now or later?" I'd answer half of those the same way every time. I had become the bottleneck on decisions that didn't need me. my AGENTS.md cover many conventions/rules/standards but its still wasn't enough to cover so many of these questions.

So I restructured my workflow like a team:

  • Me: the manager
  • One chat per project: the team lead
  • The other agents: team members, each working in its own "lane"

How lanes work

  • A lane is a git worktree plus a chat working inside it. Each one gets its own branch and folder, so agents don't trample each other's files.
  • The lead asks to open a lane with a title, a plan, and the files it expects to touch. Nothing starts until I approve it on a Lanes board. Before I approve, the harness checks for overlap with files other open lanes are touching, my plan usage, machine load, and whether a spec exists for the work.
  • When a team member stops (it's done, blocked, or has a question), it rings the lead, not me. The lead works through its inbox and replies.
  • The lead can only answer from written rules: a lead.md file in the project plus the project's docs, and it has to cite the rule it used. If no rule covers the question, or it's a taste/preference call, it escalates to me.
  • Escalations land on the board and on my phone as numbered questions, each with a recommended answer. I can answer straight away or ask the lead a follow-up first.
  • The lead can also send me FYI notes that don't need an answer.

I still have full control

Every lane is a normal chat. I can open any of them, read the whole transcript, and type into it directly if I want to step in. The harness never merges a branch, deletes a branch, or removes a worktree on its own.

My notifications are now mostly things that actually need me. It's still early, and I keep refining what goes into lead.md, since that file decides how much the lead can handle without me.

So far I have noticed I am getting alot more done with less headaches (literally!).

27 Upvotes

10 comments sorted by

3

u/Queasy_Problem_563 12d ago

pretty cool. are you running pi or something else under the harness abstraction for each chat?

or running the APIs directly?

edit: lol nm I just realized this was picodingagent sub

1

u/PilgrimofHaqq2 12d ago

Yes my base is Pi and then I ended up going off on my own but most of it is still Pi.

1

u/bugtank 11d ago

Is this a good agentic workflow for us noobs to start with?

2

u/PilgrimofHaqq2 11d ago

Not sure if jk but if serious, definitely not. I slowly built to this stage. I pushed away subagents until I actually needed to solve a problem that required them.

Start basic and slowly build as your project and work becomes more complex.

1

u/bugtank 11d ago

Was a serious question thanks for the answers. Still trying to find what’s next after prompting ..

3

u/PilgrimofHaqq2 11d ago

My approach is always "Is there a faster, better way to do that" after I finish something. It started with prompting then saving prompts then those saved prompts eventually became skills, everytime I would prompt the agent I would always try to talk things through first so then created a plan mode, then after plan mode I got into creating durable docs to do long horozon work (multi-session work) so figured out a roadmap/specs docs setup that I built into the plan mode so part of plan mode is creating specs, plans, standards, etc.

From there you can go into deep research, review agents, etc. etc. And finally I ended up with "lanes" that are parallel subagents working in seperate worktrees.

1

u/neerps 8d ago

How it works on the harness side? Looks like you used modified herdr to run your system.

1

u/neerps 6d ago

Hm, or maybe it's modified bb?

1

u/BiditMangal 11d ago

Are you the Nuvio dev? 🫣

2

u/PilgrimofHaqq2 11d ago

No just a guy maintaining a fork. Lol