A2A (Agent-to-Agent) Protocol server implementation for LangGraph agents.
This library provides a wrapper for LangGraph agents to be exposed via the A2A protocol, enabling seamless agent-to-agent communication and integration.
pip install langgraph-a2a-serverOr with uv:
uv add langgraph-a2a-serverfrom langgraph_a2a_server import A2AServer
from your_langgraph_app import your_graph
# Create an A2A server with your LangGraph agent
server = A2AServer(
graph=your_graph,
name="My LangGraph Agent",
description="An intelligent agent built with LangGraph",
host="127.0.0.1",
port=9000,
)
# Start the server
server.serve()- Easy integration with existing LangGraph applications
uv run --extra examples examples/simple_agent.pyuv run --extra examples examples/langchain_agent.pyuv run --extra examples examples/tools_agent.pyMIT