LangServe
FreeLangServe helps developers deploy LangChain runnables and chains as a REST API. 
About LangServe
LangServe is an open-source Python library by LangChain that enables developers to deploy LangChain runnables and chains as a REST API. Built on FastAPI and Pydantic, it automatically infers input/output schemas, provides Swagger documentation, and supports efficient invoke, batch, and streaming endpoints. It also includes a client SDK for remote runnable-like calls, a playground for testing, optional LangSmith tracing, and is designed for simple, non-graph-based deployments. Note: LangServe was deprecated on November 18, 2024; the LangGraph Platform is recommended for new projects, though community bug fixes continue to be accepted.
Key Features
Pros & Cons
- Simple setup with FastAPI and automatic schema generation
- Supports streaming, batching, and concurrent requests out of the box
- Client SDK enables seamless remote calls as if runnable were local
- Built-in playground for testing and debugging
- Optional tracing integration with LangSmith
- Deprecated as of Nov 18, 2024; superseded by LangGraph Platform
- Not suitable for deploying LangGraph-based applications
- Versions 0.2.0-0.2.x have OpenAPI doc issues with Pydantic V2 (fixed in 0.3.0+)
- Client callbacks for server-originating events not supported
- Security vulnerability in version range 0.0.13-0.0.15 (resolved in 0.0.16)