Skip to main content

Module agent_tool

Module agent_tool 

Source
Expand description

Executor for AgentTool workflow nodes (Phase B — sync, streaming, and conversational modes).

Invokes a remote agent via A2A-style HTTP POST and returns the response as the node output.

  • Sync: POST {agent_uri}/tasks/send — single request/response
  • Streaming: POST {agent_uri}/tasks/sendSubscribe — NDJSON stream with budget guard
  • Conversational: POST {agent_uri}/tasks/send in a loop — multi-turn exchange

Structs§

AgentToolExecutor