langchain-ai/langserve
A library for deploying LangChain runnables and chains as REST APIs.

Not currently ranked — collecting fresh signals.
star history
LangServe integrates with FastAPI to expose LangChain runnables and chains as REST endpoints. It automatically infers input/output schemas from LangChain objects and enforces validation via Pydantic. The library provides /invoke, /batch, /stream, and /stream_log endpoints for calling LLM-powered chains, with support for concurrent requests. A JavaScript client is available in the LangChain.js ecosystem.
Frequently asked
- What is langchain-ai/langserve?
- A library for deploying LangChain runnables and chains as REST APIs.
- Is langserve open source?
- Yes — langchain-ai/langserve is an open-source project tracked on heatdrop.
- What language is langserve written in?
- langchain-ai/langserve is primarily written in JavaScript.
- How popular is langserve?
- langchain-ai/langserve has 2.3k stars on GitHub.
- Where can I find langserve?
- langchain-ai/langserve is on GitHub at https://github.com/langchain-ai/langserve.