Skip to main content
llm.info

LangServe

Open Source
Library

Deprecated LangChain REST deployment library

About

DISCONTINUED. LangServe helps developers deploy LangChain runnables and chains as REST APIs. Integrated with FastAPI and pydantic for data validation. Automatically infers input/output schemas from LangChain objects, enforced on every API call with rich error messages. Features API docs with JSONSchema and Swagger, efficient /invoke, /batch, /stream endpoints, and playground page at /playground/ with streaming output and intermediate steps. Essentially wraps LangChain chains/agents and turns them into FastAPI endpoints. Hosted LangServe available as part of LangSmith SaaS, directly interfacing with GitHub-hosted code and deploying to containers. LangChain deprecated LangServe on November 18, 2024 and recommends LangGraph Platform for new projects; the repository is archived and accepts no new feature contributions.

Compatibility

Supported Languages

python

Details

Category
Library
License
LangServe License (bespoke source-available licence; not an OSI licence)