Expand description
AgentNode — delegates execution to a local or remote agent.
§Routing
agent_id_or_url | Routing |
|---|---|
Starts with http:// or https:// | Remote — calls the URL via A2A JSON-RPC 2.0 |
| Any other string | Local — spawns a persisted child through the host’s thread service |
§State keys read
_agent_input— the message text to send (falls back to the last user message instate.messages, or an empty string).
§State keys written
_agent_result_{node_id}— typed persisted child outcome._agent_thread_id_{node_id}— persisted child identity._agent_output_{node_id}— text returned by either a local or remote agent.
Structs§
- Agent
Node - A graph node that delegates to another agent through the run’s thread service (local IDs) or A2A (remote URLs).