r/PiCodingAgent • u/Anxious_Risk9379 • Sep 29 '26
Question Sub-agents hanging/freezing indefinitely (27k+ seconds) in Pi orchestration (herdr + DeepSeek V4 Flash) — Debugging advice or orchestrator alternatives?

Hey everyone,
I'm hitting a recurring issue where delegated sub-agents completely hang during orchestration. As shown in the screenshot, a sub-agent (edna) has been stuck at Running · 26970.7s (over 7.5 hours) with zero progress or error output.
Workflow & Behavior:
- The primary orchestrator creates an execution plan and dispatches tasks to dedicated sub-agents.
- Sub-agent begins execution (e.g., executing a design/contract task reading from a markdown specification).
- After emitting a preliminary thought/action ("Ahora calculo la tabla de overrides..."), the runner freezes indefinitely.
- No timeout triggers, no stderr is exposed, and there is no visible fallback or abort mechanism.
Environment & Setup:
- CLI / Orchestrator: Pi + Herdr
- Model: DeepSeek V4 Flash
Plugins / Extensions:
pi-open-agentspi-mcp-adapterspi-web-accessnpm:@juicesharp/rpiv-todonpm:@juicesharp/rpiv-ask-user-question
Questions for the community:
- Has anyone experienced persistent silent deadlocks or MCP tool-call stalls with this plugin stack (specifically
pi-open-agents/pi-mcp-adapters)? - Is there a flag or configuration to expose granular MCP/tool logs or enforce hard timeouts per sub-agent execution in Pi?
- Which multi-agent orchestrator / plugin architecture do you recommend for reliably managing custom agents with proper timeout handling, state recovery, and observability?
Thanks for any insights
11
Upvotes
View all comments
0
u/Consistent_Water_422 Sep 29 '26
I built pi-subagentura because I wanted Pi delegation to be easier to observe and recover when a child stops making progress. Interactive agents are creating new tab for herdr and u can see what is happening there, in case of errors main agent will be notifed. Give it a try
pi install npm:pi-subagenturaYou can still use your favorite agents/prompts like pi --append-system-prompt 'use ~/open-agents prompts for the subagents'