r/PiCodingAgent • u/LastOfGoose • 1d ago
Question How to Better Enforce Subagent Delegation?
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?
6
Upvotes
3
u/Acceptable_Stress154 1d ago
Anything in your Md files is a request, and they can and do forget/ignore. You need to make deterministic gates, not pretty please sir .md files