NeoGraph 0.10.0
A C++17 Graph Agent Engine Library — LangGraph for C++
Loading...
Searching...
No Matches
a2a_caller_node.h File Reference

GraphNode that delegates work to a remote A2A agent. More...

#include <neograph/api.h>
#include <neograph/a2a/client.h>
#include <neograph/graph/node.h>
#include <memory>
#include <string>
Include dependency graph for a2a_caller_node.h:

Go to the source code of this file.

Classes

class  neograph::a2a::A2ACallerNode
 Node that forwards an input string to a remote A2A agent. More...
 

Detailed Description

GraphNode that delegates work to a remote A2A agent.

Mirrors the role MCPCallerNode plays for tool servers. On execute(), the node:

  1. Reads prompt (or a configured key) from the GraphState.
  2. Calls message/send on the configured A2AClient.
  3. Writes the agent's response back into the configured output key.

Send fan-out works transparently: many A2ACallerNode instances sharing one A2AClient produce concurrent HTTP requests via the async executor. Each call is independent — no shared state in the client.

Definition in file a2a_caller_node.h.