24namespace neograph::a2a {
38 std::shared_ptr<A2AClient> client,
39 std::string input_key =
"prompt",
40 std::string output_key =
"response");
46 asio::awaitable<neograph::graph::NodeOutput>
49 std::string
get_name()
const override {
return name_; }
53 std::shared_ptr<A2AClient> client_;
54 std::string input_key_;
55 std::string output_key_;
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::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.