惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Blog — PlanetScale
Blog — PlanetScale
博客园 - 司徒正美
Vercel News
Vercel News
F
Fortinet All Blogs
月光博客
月光博客
G
Google Developers Blog
博客园 - Franky
GbyAI
GbyAI
The Cloudflare Blog
I
InfoQ
雷峰网
雷峰网
WordPress大学
WordPress大学
罗磊的独立博客
大猫的无限游戏
大猫的无限游戏
T
The Blog of Author Tim Ferriss
Apple Machine Learning Research
Apple Machine Learning Research
博客园 - 聂微东
小众软件
小众软件
腾讯CDC
B
Blog
量子位
V
V2EX
S
SegmentFault 最新的问题
Google DeepMind News
Google DeepMind News

LangChain Forum - Latest posts

Prompt_cache_retention: '24h' supported in langchain agents and where to provide it, inside invoke or while creating client? Could RAG pipelines realistically cause deployment timeouts, is Render suitable for first-time RAG deployments? How do I use langchain_postgres' init_vectorstore_table correctly? Proposal: Graph-wide default error handler for StateGraph (fallback for nodes without error_handler) Support timedelta for CachePolicy.ttl, consistent with TimeoutPolicy Question about LangSmith Trace Search via API How to cancel a run correct !! Anyone confirms this issue that deepagent ui streaming is disturb by update in deepagent or bug issue Would pre-inference routing help long-context agent workflows? Best Stack for Building AI Applications Question about LangSmith Trace Search Seeking help regarding the connection between Websocket and tool calls Tool invocation error with empty error message when using `InjectedState` + `Command` return in async tool How to use @langchain/react FileSystem middleware Using ChatSnowflake with agents Built llmsessioncontract on AgentMiddleware: runtime enforcement of tool-call protocols — feedback wanted DeltaChannelHistory not found in langgraph-api:3.12 Improving citation accuracy and reducing hallucinations in custom Parent-Child RAG pipeline (Gemma3:4B + FAISS+BM25 + Cross-encoder reranker) Metadata filter not filtering for alerts Connecting the Slack integration fails with invalid_team_for_non_distributed_app Trouble understanding and editing experiment summary evaluators feedbacks SSL certificate error from httpx with LangGraph server WikipediaLoader endup in JSONDecodeError Human-in-the-loop approval dashboard for LangGraph agents — open source, free to deploy Should interrupt() be split into two primitives — one for human input, one for s2s data fetching? How are people handling data governance across agent handoffs in production? Feature Request: @task metadata Research: Friction Points in Agentic Commerce Transactions How should I provide an agent to a LangGraph server?
Feature Request: Native Support for A2A Protocol (Remote ...
@chandra447 · 2026-04-19 · via LangChain Forum - Latest posts

1

Motivation

LangGraph currently supports MCP adapters via langchain-mcp-adapters, which allow external tools to be integrated as @tools.

However, in many cases external systems are not just tools but full agents — capable of reasoning, maintaining state, and returning structured results.

The emerging Agent-to-Agent (A2A) protocol provides a standard for communication between such agents. Supporting A2A natively in LangGraph would allow users to seamlessly add remote agents as first-class nodes/sub-graphs.


Problem

  • Today, connecting to a remote agent requires custom handoff implementations (handoffs guide) or custom commands.

  • This is not ergonomic, and doesn’t fully capture the semantics of stateful remote agents.

  • Users should be able to declare remote agents just as easily as they do with tools.


Proposed Solution

Introduce a new concept of RemoteAgentNode (similar to ToolNode), backed by an A2A adapter/client.

Prototype Architecture

  • RemoteAgent: Represents a remote agent endpoint.

  • RemoteAgentNode: Wraps RemoteAgent for integration into LangGraph execution.

  • A2AClient: Handles transport and protocol translation.

Message Flow:
LangGraph (handoff)

RemoteAgentNode.run()

RemoteAgent.call()

A2AClient.send()

[A2A protocol transport: HTTP/WebSocket/gRPC/etc.]

Remote Agent

Response (state update)

RemoteAgentNode returns to LangGraph

To keep scope small, the first PR could implement:

  1. RemoteAgentNode with blocking handoff only

    • Synchronously send state → wait for full response → return to LangGraph.

    • No streaming, concurrency, or advanced orchestration.

  2. Minimal A2AClient abstraction

    • Just use HTTP transport with JSON payloads (later pluggable for WebSocket/gRPC).
  3. Simple Example Notebook

    • One remote agent integrated into a LangGraph, demonstrating a blocking handoff.

This keeps the first PR low-risk, reviewable, and easy to merge.
Future PRs can then add streaming, concurrent orchestration, memory federation, etc.


Extensions

  • Streaming support: Pass remote agent’s token/thought stream back into LangGraph channels.

  • Memory federation: Allow sharing of selected history/state with remote agents.

  • Parallel orchestration: Enable multiple remote agents to run concurrently as graph branches.

1 Like

3

My understanding is that A2A endpoint allows the agents to send/receive messages, it does not share the state. So the remote agent is not first-class nodes/sub-graphs as mentioned in the original feature request.

Can you comment if above understanding is correct?

Any there plans to implement the original feature request?

1 Like

Based on my understanding there is no support for converting an existing agent created using create_agent to a2a , other than need to use agent server.

What is the scenario if i have to mount to my existing fastapi , or want to deploy on aws lambda as a serverless.

I was looking for a similar implementation such as adk-python/src/google/adk/a2a/utils/agent_to_a2a.py at 7623ff1a27c412ff9b758bb76701e2daff570741 · google/adk-python · GitHub

Thank you