NeoGraph 0.10.0
A C++17 Graph Agent Engine Library — LangGraph for C++
Loading...
Searching...
No Matches
neograph::a2a::A2ACallerNode Class Reference

Node that forwards an input string to a remote A2A agent. More...

#include <a2a_caller_node.h>

Inheritance diagram for neograph::a2a::A2ACallerNode:
[legend]
Collaboration diagram for neograph::a2a::A2ACallerNode:
[legend]

Public Member Functions

std::string get_name () const override
 Get the node's unique name within the graph.
 
asio::awaitable< neograph::graph::NodeOutputrun (neograph::graph::NodeInput in) override
 v0.4 PR 9a: unified run — reads input_key from state, forwards to the remote A2A agent, writes the response (and task_id / context_id continuation handles) back.
 

Detailed Description

Node that forwards an input string to a remote A2A agent.

Reads from input_key (default "prompt"), writes the agent's first text response into output_key (default "response"). Task / context ids are appended to the state under "<output_key>_task_id" and "<output_key>_context_id" so a follow-up node can continue the conversation.

Definition at line 35 of file a2a_caller_node.h.

Member Function Documentation

◆ get_name()

std::string neograph::a2a::A2ACallerNode::get_name ( ) const
inlineoverridevirtual

Get the node's unique name within the graph.

Returns
Node name string.

Implements neograph::graph::GraphNode.

Definition at line 49 of file a2a_caller_node.h.

◆ run()

asio::awaitable< neograph::graph::NodeOutput > neograph::a2a::A2ACallerNode::run ( neograph::graph::NodeInput  in)
overridevirtual

v0.4 PR 9a: unified run — reads input_key from state, forwards to the remote A2A agent, writes the response (and task_id / context_id continuation handles) back.

Cancel propagates through the underlying A2AClient transport.

Implements neograph::graph::GraphNode.


The documentation for this class was generated from the following file: