NeoGraph 0.16.0
A C++20 Graph Agent Engine Library — LangGraph for C++
Loading...
Searching...
No Matches
harness_backend.h File Reference

Downstream A2A capability adapter for Harness workers. More...

#include <neograph/api.h>
#include <neograph/mcp/harness.h>
#include <chrono>
#include <map>
#include <memory>
#include <string>
Include dependency graph for harness_backend.h:

Go to the source code of this file.

Functions

NEOGRAPH_API mcp::HarnessCapabilityExecutor neograph::a2a::make_harness_capability_executor (std::map< std::string, std::shared_ptr< A2AClient > > agents, std::chrono::seconds call_timeout=std::chrono::seconds(30))
 Resolve tool executor.agent against preconfigured A2A clients.
 

Detailed Description

Downstream A2A capability adapter for Harness workers.

Definition in file harness_backend.h.

Function Documentation

◆ make_harness_capability_executor()

NEOGRAPH_API mcp::HarnessCapabilityExecutor neograph::a2a::make_harness_capability_executor ( std::map< std::string, std::shared_ptr< A2AClient > >  agents,
std::chrono::seconds  call_timeout = std::chrono::seconds(30) 
)

Resolve tool executor.agent against preconfigured A2A clients.

A call ends when the job's cancel token is cancelled, and, unless call_timeout is zero, when the agent has not answered within call_timeout: the connection is closed and the executor throws. The default is the 30 s that these calls had while the client's default bounded every exchange. A client's own set_timeout applies as well, whichever ends the call first.

References neograph::a2a::make_harness_capability_executor().

Referenced by neograph::a2a::make_harness_capability_executor().