Blog
Strands Agents SDK Multi-Agent — Nest Swarm and Graph Together
Embed a Swarm as a node in a Graph to combine autonomous collaboration with structured workflows. Verify nested execution results and multi-agent Hooks for node monitoring.
Content tagged with "graph"
Embed a Swarm as a node in a Graph to combine autonomous collaboration with structured workflows. Verify nested execution results and multi-agent Hooks for node monitoring.
Build deterministic workflows with Strands Agents SDK's Graph pattern. Define sequential, parallel, conditional, and feedback loop workflows with GraphBuilder, verified with real execution results.
Strands Agents SDK Graph with cycles (feedback loops) fails build() auto-detection with ValueError. Use set_entry_point to specify the starting node explicitly.
Strands Agents SDK Graph's result.execution_time returns 0ms. Per-node execution_time is correct, so calculate the total yourself.