Skip to main content

LangGraph A2A Server

A2A (Agent-to-Agent) Protocol server implementation for LangGraph agents.

Overview

This library provides a wrapper for LangGraph agents to be exposed via the A2A protocol, enabling seamless agent-to-agent communication and integration.

Installation

pip install langgraph-a2a-server

Or with uv:

uv add langgraph-a2a-server

Usage

from 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()

Features

  • Easy integration with existing LangGraph applications

Examples

simple_agent.py (no llm)

uv run --extra examples examples/simple_agent.py

langchain_agent.py (with llm)

uv run --extra examples examples/langchain_agent.py

tools_agent.py (with tools, no llm)

uv run --extra examples examples/tools_agent.py

License

MIT

Metadata

Release files for langgraph-a2a-server 0.1.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for langgraph-a2a-server 0.1.6
File Size Uploaded
langgraph_a2a_server-0.1.6.tar.gz 93.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for langgraph-a2a-server 0.1.6
File Interpreter ABI Platform
langgraph_a2a_server-0.1.6-py3-none-any.whl Python 3 none any Details

Total release size: 102.9 kB

Release files / langgraph_a2a_server-0.1.6.tar.gz

Download URL langgraph_a2a_server-0.1.6.tar.gz
Size 93.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d66c40036666e3b44df6025699f96a4ca05dbb4be4ddce2085391c3747b62d8b
BLAKE2b-256 checksum
How to use checksums
e9f286c30ccdaedc41c941b9c34562ec4cba07f14a7e31a7ffa80f1f3842d7e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.11

Release files / langgraph_a2a_server-0.1.6-py3-none-any.whl

Download URL langgraph_a2a_server-0.1.6-py3-none-any.whl
Size 9.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3accaa1ecc42049aabfe6b6c0cf4b3b292302861ddc2415ef70f2b7faea19146
BLAKE2b-256 checksum
How to use checksums
461e424cd8e1535d239262033429a78d6408ebd35c291740ee416a02a47231aa
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.11

Release history Release notifications | RSS feed

This release

0.1.6 This release

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page