``index`` is the call's deterministic call-path key as a string (e.g. ``"0"``, ``"1.0"``) — stable across runs, suitable as an agent id suffix.
(
self,
spec: AgentSpec,
*,
abort: AbortController,
index: str,
)
| 61 | """The subagent-spawning seam the workflow ``agent()`` primitive calls.""" |
| 62 | |
| 63 | async def run( |
| 64 | self, |
| 65 | spec: AgentSpec, |
| 66 | *, |
| 67 | abort: AbortController, |
| 68 | index: str, |
| 69 | ) -> AgentOutcome: |
| 70 | """``index`` is the call's deterministic call-path key as a string |
| 71 | (e.g. ``"0"``, ``"1.0"``) — stable across runs, suitable as an |
| 72 | agent id suffix.""" |
| 73 | ... |
no outgoing calls