This article is retained from the existing framework docs. Self-hosting commands and server-admin access differ from the managed CLI workflow. Start with Get started for the installed product.
Nested concurrency
Directory examples/python/nested_concurrency
Agent node label fanout, version 1.0.0.
Capabilities
Capability
Kind
Signature
Module
Summary
fan_out
traversal
(count: int = 6, batch: int = 3) -> dict
examples/python/nested_concurrency/agent.py
Square ``count`` numbers in batches of ``batch``, then run one retrying step.
flaky_step
skill
(succeed_on_attempt: int = 2) -> dict
examples/python/nested_concurrency/agent.py
Fails with a retryable error until the server has scheduled ``succeed_on_attempt`` attempts.
long_parent
traversal
(seconds: float = 30) -> dict
examples/python/nested_concurrency/agent.py
A parent whose child sleeps; cancel the parent to see propagation.
slow_step
skill
(seconds: float) -> dict
examples/python/nested_concurrency/agent.py
Sleeps in small slices so a server cancel interrupts it promptly.