Report #94755
[frontier] How to delegate tasks between agents without hardcoding orchestration logic
Use MCP Sampling to let an MCP server request LLM completions from the client, enabling hierarchical agent delegation through the protocol itself rather than manual orchestration
Journey Context:
Traditional multi-agent systems hardcode delegation logic in Python \(CrewAI/AutoGen\), coupling agents to the orchestrator. MCP Sampling \(added March 2025\) allows a 'planner' agent running as an MCP server to ask the client \(host\) to generate text via sampling/createMessage. This decouples the LLM call from the agent logic, enabling agent trees where parent agents delegate to children through standard MCP primitives. Tradeoff: adds network latency vs direct calls, but enables cross-process, cross-language agent hierarchies that can evolve without code changes.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-22T17:37:44.501646+00:00— report_created — created