ag-ui-langgraph
Implementation of the AG-UI protocol for LangGraph.
Decision gist · record as of 2026-08-14
Yes, if you are building a web-based agent UI on top of LangGraph and want to adopt the AG-UI protocol standard. The package eliminates boilerplate for endpoint creation and event streaming. Install with confidence: MIT license, active maintenance, no known vulnerabilities, and low dependency friction. Not necessary if you are not using LangGraph or the AG-UI protocol.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later (supports up to <3.15); a LangGraph workflow graph object must be provided.
- Low install friction with a pure-wheel distribution.
- Marked active with a recent release cycle (56 days since last update).
License · maintenance · safety
MIT (permissive) — MIT license permits commercial and private use with minimal restrictions, making it suitable for most projects.
last release 2026-06-19 (56 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 801,337 downloads/mo, #5,022 on PyPI
Alternatives
Verify before relying
from ag_ui_langgraph import add_langgraph_fastapi_endpoint
add_langgraph_fastapi_endpoint(app, graph, "/agent")- Whether the package handles concurrent agent requests or has scaling limitations
- What AG-UI protocol versions are supported and whether breaking changes are documented
- Whether message translation between AG-UI and LangChain formats covers all message types
- Whether the endpoint creation requires a specific web framework or is framework-agnostic
What it is and what it does
ag-ui-langgraph is a protocol adapter that connects LangGraph agent workflows to the AG-UI (Agent User Interface) protocol standard. It provides an integration layer that automatically exposes LangGraph graphs as HTTP endpoints, handling the translation between LangChain's message format and the AG-UI event model. The package handles comprehensive event streaming—including agent thinking, tool invocations, and state updates—so frontend applications can display live agent execution without building custom endpoint logic.
The package sits between your LangGraph workflow and a web client, managing protocol conversion and event delivery. It depends on langchain, langgraph, pydantic, and ag-ui protocol libraries. Installation is straightforward (pure wheel, low friction), and the API is minimal: pass your graph and a path to add_langgraph_fastapi_endpoint() and the endpoint is ready. It's designed for teams building agent UI applications that need a standard protocol bridge rather than custom streaming logic.
Use it for
- Expose LangGraph agent workflows as HTTP endpoints without manual endpoint scaffolding.
- Stream agent thinking, tool calls, and state updates to a frontend using the AG-UI event protocol.
- Convert between LangChain message formats and AG-UI protocol automatically during request/response cycles.
- Build agent UI applications that display real-time agent execution events and state changes.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you are building a web-based agent UI on top of LangGraph and want to adopt the AG-UI protocol standard.
The package eliminates boilerplate for endpoint creation and event streaming. Install with confidence: MIT license, active maintenance, no known vulnerabilities, and low dependency friction. Not necessary if you are not using LangGraph or the AG-UI protocol.
Install
ag-ui-langgraph on PyPI
Before you install
Low install friction with a pure-wheel distribution. Marked active with a recent release cycle (56 days since last update). Depends on established packages: langchain, langgraph, pydantic, and ag-ui protocol libraries.
Requires Python 3.10 or later (supports up to <3.15); a LangGraph workflow graph object must be provided.
License in practice
MIT license permits commercial and private use with minimal restrictions, making it suitable for most projects.
Quickstart
from ag_ui_langgraph import add_langgraph_fastapi_endpoint
add_langgraph_fastapi_endpoint(app, graph, "/agent")
Verify before relying
- Whether the package handles concurrent agent requests or has scaling limitations
- What AG-UI protocol versions are supported and whether breaking changes are documented
- Whether message translation between AG-UI and LangChain formats covers all message types
- Whether the endpoint creation requires a specific web framework or is framework-agnostic
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release <3.15,>=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 6 packagesag-ui-a2ui-toolkitag-ui-protocollangchain-corelangchainlanggraphpydantic |
| Maintenance | Actively maintained 56 days since the last release |
| First released | |
| Downloads | 801,337 / month, #5,022 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: ag_ui_langgraph-0.0.42-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “langgraph http endpoint”
- ag-ui-langgraphBridges LangGraph agent workflows to the AG-UI protocol,…
- langgraph-cliCommand-line interface for creating, developing, building, and…
- langchain-mcp-adaptersConverts Anthropic Model Context Protocol (MCP) tools into…
Give your agent the search over MCP, or paste the wish link into any chat.
More Application Frameworks packages
FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.
Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.
Textual is a Python framework for building cross-platform user interfaces that run in the terminal or web browser using a modern, component-based API.
Install it if you're developing CLI tools, dashboards, or interactive terminal applications.
Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.
Install it if you are building CLIs in Python.
Build and connect to Model Context Protocol servers that expose tools, resources, and prompts to LLM applications over stdio, HTTP, or SSE transports.
Install it if you need to build or connect to servers.
Werkzeug is a WSGI utility library providing request/response objects, URL routing, an interactive debugger, HTTP utilities, and a development server for building web applications.
See also ag_ui_adk · ag-ui-protocol · langchain-protocol · agent-framework-ag-ui · aegra-api · langgraph-swarm · langgraph · langgraph-supervisor · langgraph-sdk · ag-ui-a2ui-toolkit