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

推荐订阅源

Blog — PlanetScale
Blog — PlanetScale
Vercel News
Vercel News
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
量子位
Y
Y Combinator Blog
IT之家
IT之家
博客园 - 聂微东
L
LangChain Blog
爱范儿
爱范儿
H
Help Net Security
GbyAI
GbyAI
F
Fortinet All Blogs
B
Blog
Microsoft Security Blog
Microsoft Security Blog
罗磊的独立博客
C
Check Point Blog
博客园 - 三生石上(FineUI控件)
小众软件
小众软件
D
DataBreaches.Net
Last Week in AI
Last Week in AI
WordPress大学
WordPress大学
B
Blog RSS Feed
酷 壳 – CoolShell
酷 壳 – CoolShell
宝玉的分享
宝玉的分享

LangChain Forum - Topics tagged python-help

Llama-server process has terminated: invalid argument --load-mode with Ollama client 0.32.6 and langchain-ollama 1.1.0 Langchain Certified Agent Engineer Exam - Exam link not received and no response Null-drift: A bare-metal O(1) Memory Store for continuous LangGraph agents Clarification needed: Assistant config vs context and graph initialization Proposal: a small local helper for readable run traces via PR Proxy Authentication Required 407 What is the right way to dynamically create and run a graph? Re-Implement claude code's dynamic workflow using langchian & deepagents How to define a correct state for multi-agent system Response Format Groq Model Pydantic I hope to get some recommendations for practical skills Interrupt does not work correctly in LangGraph The Qwen3.6b model in fireworks through initchatmodel reporting hugely inflated tokens For parallel execution in Node, should i use the functional API? Potential Enhancement: Django-Managed PostgresSaver Pre-interrupt() code re-runs on resume — anti-pattern, or is there a sanctioned way to detect resume? Interrupt parallel branch execution Best practices for self-hosting LangGraph Server OSS without LangGraph keys Dynamically Enabling/Disabling Graphs in a LangGraph Server at Runtime LangGraph thread copy can take 12+ minutes: recommended production pattern? Will DeltaChannel be the default for AgentState.messages, or expected to stay opt-in? Proposal: additional docs for implementing custom DB checkpointers or a guide on generic base checkpointer 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 Anyone confirms this issue that deepagent ui streaming is disturb by update in deepagent or bug issue Best Stack for Building AI Applications Seeking help regarding the connection between Websocket and tool calls
Feature Request: Native Support for A2A Protocol (Remote ...
@chandra447 · 2026-04-19 · via LangChain Forum - Topics tagged python-help

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