langgraph-api
What it is and what it does
LangGraph API is a local development server that lets you build and test LangGraph agents with a tight feedback loop. It provides an in-memory data store (persisted to local disk on restart) and a browser-based UI for inspecting agent state, runs, and threads. The server supports hot-reload, so code changes trigger automatic restarts without losing your session context.
The package is designed for rapid iteration during development and testing—not production deployment. It depends on a large LLM-agent stack (langchain-core, langchain-protocol, langgraph, starlette, uvicorn, and observability tools like OpenTelemetry). You start it via the langgraph-cli tool with the inmem extra, point it at a langgraph.json config file, and interact with your agent through the UI or programmatically. Debugging support includes remote debugger attachment for IDE breakpoint stepping.
Use it for:
- Iterate on agent logic during development with instant feedback and automatic server reload on code changes.
- Inspect agent state, thread history, and run traces through the browser UI to debug agent behavior.
- Test multi-turn conversations and agent decision-making without setting up a production database.
- Attach an IDE debugger to step through agent code line-by-line during execution.
- Prototype and validate LangGraph workflows before deploying to production infrastructure.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Runs a local development server for LangGraph agents with an in-memory data store, hot-reload support, and a browser-based UI for testing and debugging agent behavior.
Yes, if you are developing LangGraph agents and want a lightweight local testing environment with UI inspection and hot-reload. The low install friction and active maintenance make it a natural fit for the development phase. However, verify that the Elastic License 2.0 terms align with your deployment plans, and note that this is explicitly not for production use—production deployments require separate deployment options.
Install
langgraph-api on PyPI
pip
pip install langgraph-apiuv
uv add langgraph-apipoetry
poetry add langgraph-apiInstalling langgraph-api
Before you install
Low friction: pure Python wheel with no compiled dependencies. Active maintenance (released 2026-08-13, 1 day old). Requires Python 3.11+. Depends on 34 runtime packages including langchain-core, langgraph, starlette, and uvicorn—a substantial but standard LLM-agent stack.
License in practice
Licensed under Elastic License 2.0 (license_treatment: unclear). Elastic 2.0 is a source-available license with commercial restrictions; verify compatibility with your use case before deploying in production or closed-source contexts.
Quickstart
pip install -U 'langgraph-cli[inmem]'
langgraph dev --config ./langgraph.json
# Server launches with browser UI; state persists in memory during session
Requires Python 3.11 or later. Intended for development/testing only; production deployments require separate deployment options backed by production-grade databases.
Verify before relying
- Whether Elastic License 2.0 restrictions apply to your intended use (commercial, closed-source, or SaaS deployment).
- Performance characteristics and concurrent request limits under typical development workloads.
- Data persistence behavior across server restarts and whether local disk persistence is suitable for your testing workflow.
Package facts
| License | Elastic-2.0 (unclear) |
| Python support | supports the current Python release (>=3.11) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 34 — cloudpickle, cryptography, grpcio-health-checking, grpcio-tools, grpcio, httptools, httpx, jsonschema-rs, langchain-core, langchain-protocol, langgraph-checkpoint, langgraph-runtime-inmem, langgraph-sdk, langgraph, langsmith, opentelemetry-api, opentelemetry-exporter-otlp-proto-http, opentelemetry-exporter-prometheus, opentelemetry-sdk, orjson, prometheus-client, protobuf, pyjwt, sse-starlette, starlette, structlog, tenacity, truststore, uuid-utils, uvicorn |
| Maintenance | actively maintained — 1 days since the last release |
| First released | |
| Downloads | 9,811,182/month — #1,499 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: langgraph_api-0.12.4-py3-none-any.whl
Tags
More Application Frameworks packages
FastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
textualTextual is a Python framework for building…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
mcpBuild and connect to Model Context Protocol…
permissive · top 1,000 on PyPI
WerkzeugWerkzeug is a WSGI utility library providing…
permissive · top 1,000 on PyPI
langgraph-cliCommand-line interface for creating,…
permissive · top 5,000 on PyPI
langgraph-runtime-inmemProvides an in-memory runtime implementation…
unclear · top 5,000 on PyPI
langgraph-sdkPython SDK for building and deploying agentic…
permissive · top 1,000 on PyPI
langmemLangMem provides memory management tools for…
permissive · top 15,000 on PyPI
aegra-apiAegra API is a self-hosted Agent Protocol…
permissive · top 15,000 on PyPI
uipath-langchainBuilds and deploys LangGraph agents to UiPath…
unclear · top 5,000 on PyPI
langgraph-prebuiltProvides high-level APIs for building and…
permissive · top 1,000 on PyPI
langgraphLangGraph is a low-level orchestration…
permissive · top 1,000 on PyPI
langgraph-supervisorBuilds hierarchical multi-agent systems where a…
permissive · top 15,000 on PyPI
ag-ui-langgraphBridges LangGraph agent workflows to the AG-UI…
permissive · top 15,000 on PyPI