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

A2A (Agent-to-Agent) JSON-RPC client over Streamable HTTP. More...

#include <neograph/api.h>
#include <neograph/a2a/types.h>
#include <asio/awaitable.hpp>
#include <chrono>
#include <functional>
#include <string>
Include dependency graph for client.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  neograph::a2a::A2AClient
 A2A client — call a remote agent over JSON-RPC + HTTP. More...
 

Detailed Description

A2A (Agent-to-Agent) JSON-RPC client over Streamable HTTP.

Implements the JSON-RPC 2.0 binding of the A2A protocol — see https://a2a-protocol.org/latest/specification/. Methods supported in this version:

  • message/send (sync)
  • tasks/get
  • tasks/cancel
  • AgentCard discovery via GET /.well-known/agent-card.json

Streaming (message/stream, SSE-framed tasks/resubscribe) is not implemented in v1; the awaitable returns once the server reports a terminal TaskState.

Definition in file client.h.