25namespace neograph::a2a {
45 std::shared_ptr<A2AClient> client,
46 std::string input_key =
"prompt",
47 std::string output_key =
"response",
57 asio::awaitable<neograph::graph::NodeOutput>
60 std::string
get_name()
const override {
return name_; }
64 std::shared_ptr<A2AClient> client_;
65 std::string input_key_;
66 std::string output_key_;
67 MessageIdFactory message_id_factory_;
A2A (Agent-to-Agent) JSON-RPC client over Streamable HTTP.
NEOGRAPH_API export/import macro for shared-library builds.
Node that forwards an input string to a remote A2A agent.
asio::awaitable< neograph::graph::NodeOutput > run(neograph::graph::NodeInput in) override
v0.4 PR 9a: unified run — reads input_key from state, forwards to the remote A2A agent,...
std::function< std::string()> MessageIdFactory
Returns one message ID per outbound A2A call.
std::string get_name() const override
Get the node's unique name within the graph.
Abstract base class for all graph nodes.
Graph node implementations: base class and built-in node types.