langgraph-runtime-inmem
Inmem implementation for the LangGraph API server.
What it is and what it does
langgraph-runtime-inmem is the in-memory backend for LangGraph's runtime API, allowing you to execute graph-based workflows directly in process without requiring a separate persistence layer. It sits within the LangGraph ecosystem alongside dependencies like langgraph, langgraph-checkpoint, starlette, and structlog, providing a lightweight option for running stateful workflows.
The package is designed as a drop-in runtime implementation for the LangGraph API server contract. It handles graph execution, state management, and scheduling (via croniter for timed tasks) entirely in memory, making it suitable for scenarios where you want to prototype, test, or run workflows without external infrastructure. The in-memory design trades persistence and horizontal scaling for simplicity and low operational overhead.
Use it for:
- Prototyping and testing LangGraph workflows locally before deploying to a persistent runtime
- Running short-lived or development-stage AI agent workflows that don't require state recovery
- Building single-process applications that orchestrate LangGraph-based tasks with built-in scheduling
- Integrating LangGraph execution into existing Starlette-based web services for real-time agent interactions
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides an in-memory runtime implementation for the LangGraph API server, enabling graph-based workflow execution without external persistence.
Yes, if you are building with LangGraph and need a lightweight, low-friction runtime for development, testing, or single-process deployments. The active maintenance and low install friction are positive signals. However, clarify the Elastic-2.0 license terms for your use case first, and confirm that in-memory execution meets your durability and scaling requirements before using in production.
Install
langgraph-runtime-inmem on PyPI
pip
pip install langgraph-runtime-inmemuv
uv add langgraph-runtime-inmempoetry
poetry add langgraph-runtime-inmemInstalling langgraph-runtime-inmem
Before you install
Low install friction with a pure Python wheel. Active maintenance as of 1 day ago. Requires Python 3.11 or later.
License in practice
License treatment is unclear; Elastic-2.0 may carry restrictions or obligations not immediately apparent from standard SPDX classification. Review the license terms before adopting in production.
Quickstart
pip install langgraph-runtime-inmem
from langgraph_runtime_inmem import InMemoryRuntime
runtime = InMemoryRuntime()
Requires Python 3.11 or later.
Verify before relying
- Whether Elastic-2.0 license permits commercial or proprietary use without additional licensing
- Whether the in-memory runtime is suitable for production workloads or intended for development/testing only
- Performance characteristics and memory scaling limits for large or long-running graphs
Package facts
| License | Elastic-2.0 (unclear) |
| Python support | supports the current Python release (>=3.11.0) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 7 — blockbuster, croniter, langgraph-checkpoint, langgraph, sse-starlette, starlette, structlog |
| Maintenance | actively maintained — 1 days since the last release |
| First released | |
| Downloads | 2,955,561/month — #2,807 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: langgraph_runtime_inmem-0.32.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-apiRuns a local development server for LangGraph…
unclear · top 5,000 on PyPI
langgraphLangGraph is a low-level orchestration…
permissive · top 1,000 on PyPI
langgraph-checkpointProvides the base interface and serialization…
permissive · top 1,000 on PyPI
langgraph-cliCommand-line interface for creating,…
permissive · top 5,000 on PyPI
langgraph-checkpoint-awsProvides AWS-based persistence backends for…
permissive · top 15,000 on PyPI
langgraph-sdkPython SDK for building and deploying agentic…
permissive · top 1,000 on PyPI
aegra-apiAegra API is a self-hosted Agent Protocol…
permissive · top 15,000 on PyPI
ag-ui-langgraphBridges LangGraph agent workflows to the AG-UI…
permissive · top 15,000 on PyPI
langgraph-supervisorBuilds hierarchical multi-agent systems where a…
permissive · top 15,000 on PyPI
graphragGraphRAG extracts structured knowledge graphs…
permissive · top 15,000 on PyPI