langserve
Decision gist · record as of 2026-08-14
No—not for new projects. The repository is archived and abandoned; maintainers explicitly recommend LangGraph Platform instead. Existing LangServe deployments may continue to receive bug fixes, but the lack of active maintenance, unclear licensing, and explicit deprecation guidance make this unsuitable for new development.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.9 or later; integration with a web framework is necessary for server operation.
- Low install friction with a pure-Python wheel and four stable runtime dependencies.
- However, the repository is archived and maintenance is abandoned—bug fixes may be accepted from the community, but no new features will be added.
License · maintenance · safety
LangServe (unclear) — License treatment is unclear; the raw license identifier is 'LangServe' with no SPDX mapping. Verify licensing terms before use in proprietary or restricted contexts.
last release 2025-10-17 (301 days) · last repo commit 2026-05-05 · 2,330 stars · archived
0 known vulnerabilities (OSV.dev, 2026-08-14) · 527,184 downloads/mo, #6,170 on PyPI
Alternatives
Verify before relying
pip install langserve
from langserve import add_routes
import httpx
import pydantic
add_routes(app, my_runnable)- Whether the web framework integration (mentioned in description) is bundled or must be installed separately.
- Current stability and security posture given the archived repository and abandoned maintenance status.
- Whether the LangGraph Platform migration path is straightforward for existing LangServe deployments.
What it is and what it does
LangServe is a library for exposing LangChain runnables and chains as REST APIs. It uses pydantic for automatic input/output schema inference and validation. The library provides `/invoke`, `/batch`, and `/stream` endpoints for efficient concurrent request handling, plus a `/stream_log` endpoint for intermediate step visibility and a web playground for testing.
The package is designed for simple runnables and well-known LangChain primitives. It includes a Python client SDK to call deployed runnables as if they were local objects, optional tracing integration with LangSmith, and automatic API documentation. However, the repository is now archived and no longer accepting new features—the maintainers recommend LangGraph Platform for new projects.
Use it for
- Deploy a LangChain LLM chain as a REST API with automatic schema validation and documentation.
- Expose a retrieval-augmented generation pipeline as streaming endpoints for concurrent requests.
- Build a conversational agent with message history and expose it via HTTP for web clients.
- Stream intermediate reasoning steps from a chain or agent to a frontend or monitoring system.
- Call a deployed LangChain runnable from a Python client using httpx or orjson serialization.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
No—not for new projects.
The repository is archived and abandoned; maintainers explicitly recommend LangGraph Platform instead. Existing LangServe deployments may continue to receive bug fixes, but the lack of active maintenance, unclear licensing, and explicit deprecation guidance make this unsuitable for new development.
Install
langserve on PyPI
Before you install
Low install friction with a pure-Python wheel and four stable runtime dependencies. However, the repository is archived and maintenance is abandoned—bug fixes may be accepted from the community, but no new features will be added.
Requires Python 3.9 or later; integration with a web framework is necessary for server operation.
License in practice
License treatment is unclear; the raw license identifier is 'LangServe' with no SPDX mapping. Verify licensing terms before use in proprietary or restricted contexts.
Quickstart
pip install langserve
from langserve import add_routes
import httpx
import pydantic
add_routes(app, my_runnable)
Verify before relying
- Whether the web framework integration (mentioned in description) is bundled or must be installed separately.
- Current stability and security posture given the archived repository and abandoned maintenance status.
- Whether the LangGraph Platform migration path is straightforward for existing LangServe deployments.
Package facts
| License | LangServe unclear |
| Python support | Supports the current Python release <4.0,>=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packageshttpxlangchain-coreorjsonpydantic |
| Maintenance | Abandoned 301 days since the last release |
| Last repo commit | repository archived |
| First released | |
| Downloads | 527,184 / month, #6,170 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | License :: Other/Proprietary LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.9 |
Evidence: langserve-0.3.3-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 › “langchain rest api deployment”
- langserveLangServe deploys LangChain runnables and chains as REST APIs with…
- langflowLangflow is a visual platform for building, testing, and deploying AI…
- langflow-baseLangflow-base is a Python package that provides the core backend and…
Give your agent the search over MCP, or paste the wish link into any chat.
More WWW/HTTP packages
urllib3 is an HTTP client library that provides thread-safe connection pooling, SSL/TLS verification, multipart file uploads, request retries, compression support, and proxy handling for Python applications.
Requests is a Python HTTP library that simplifies sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, and response parsing.
h11 is a pure-Python HTTP/1.1 protocol implementation that handles parsing and serializing HTTP messages without any built-in I/O, letting you integrate it with any network layer you choose.
HTTPX is a fully featured HTTP client library for Python that provides both sync and async APIs, with support for HTTP/1.1 and HTTP/2, plus an integrated command-line client.
Install it if you are building new projects or modernizing existing ones that rely on HTTP.
A minimal low-level HTTP client library that sends HTTP requests with thread-safe and task-safe connection pooling, supporting HTTP/1.1, HTTP/2, proxies, and both sync and async interfaces.
aiohttp is an async HTTP client and server framework built on asyncio, supporting both WebSockets and middleware-based routing for building concurrent web applications.
Install it if you need async HTTP client or server capabilities in asyncio-based applications.
See also langchain · langchain-core · langchain-cli · uipath-langchain · langchain-classic · langchain-openai · langgraph · langchain-community · langchain-groq · langchain-cohere