{"library":"langserve","type":"library","category":null,"description":"LangServe is a Python library that simplifies the deployment of LangChain runnables and agents as REST APIs. It builds on FastAPI to provide a robust server with a built-in playground UI for testing. The library is under active development, with version 0.3.3 being the latest, and maintains rapid compatibility updates with its core dependencies like `langchain-core`.","language":"python","status":"active","version":"0.3.3","tags":["langchain","llm","api","fastapi","deployment","ai-agents"],"last_verified":"Sun May 24","install":[{"cmd":"pip install langserve","imports":["from langserve import add_routes","from fastapi import FastAPI","from langchain_openai import ChatOpenAI","from langchain_core.prompts import ChatPromptTemplate","from langchain_core.runnables import Runnable"]},{"cmd":"pip install \"langserve[server]\" \"langserve[client]\" langchain-openai","imports":[]}],"homepage":"https://langserve.langchain.com","github":"https://github.com/langchain-ai/langserve","docs":null,"changelog":null,"pypi":"https://pypi.org/project/langserve/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":8.5,"avg_import_s":2.97,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/langserve/compatibility"}}