r/PiCodingAgent • u/PilgrimofHaqq2 • 14d ago
Use-case Finally introduced coding subagents to my harness
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.mdfile 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!).
1
u/bugtank 13d ago
Is this a good agentic workflow for us noobs to start with?
2
u/PilgrimofHaqq2 13d 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 13d ago
Was a serious question thanks for the answers. Still trying to find what’s next after prompting ..
3
u/PilgrimofHaqq2 13d 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
3
u/Queasy_Problem_563 14d ago
pretty cool. are you running
pior something else under the harness abstraction for each chat?or running the APIs directly?
edit: lol nm I just realized this was picodingagent sub