LangServe
Deprecated LangChain REST deployment library
- Views8 views
- GitHub stars2.3K on GitHub
- Date addedAdded Jul 6, 2026
Overview
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
- Languages
Tags
Community
Reviews
Reviews
Comments