Agent Orchestration Bug: Sub-agent Task Aborts Due to Missing Shell Tools

redhong · ghdev · 2026-08-22

A user reported that when dispatching shell commands to a DeepSeek-Flash sub-agent within an Opencode workflow, the tool execution aborts immediately with a write failed error, returning no stderr or actionable details. The root cause is hypothesized to be the sub-agent's sandbox lacking registered Shell/PowerShell tools, causing the runtime to terminate the execution instead of returning a clean error. This bug counts as a sub-agent failure, triggering fallback mechanisms and wasting API budget.

Original post →

More from coding & agent

coding & agent channel →