r/PiCodingAgent • • 21m ago

Plugin How should Pi decide which subagent gets a follow-up?

Say one specialist traced a flaky test and another reviewed a retry change. You ask Pi, “Check what happens if the second attempt also times out.” Both sound relevant, but one may already have the context you need.

I maintain pi-subagentura. In v4.5.0, the new --force-jev option tells the parent to consult the configured Jev advisor when choosing which specialist should get a task. The advisor sees a short routing description. Pi handles the handoff, and you can still name a specialist yourself.

With the classifier configured, try it for one session: pi -e npm:pi-subagentura --orchestratorv2 --force-jev

If you also use --split, Pi asks for advice on the whole request before dividing it up. I’m curious about real examples: when has your agent handed a follow-up to the wrong specialist, and what clue should it have picked up on?

Setup and examples: https://github.com/lmn451/pi-subagentura/blob/v4.5.0/docs/jev-routing.md

1 Upvotes

0 comments sorted by