Langcorn

•
940
•

Serves LangChain LLM applications and agents as robust FastAPI-powered API endpoints.

Langcorn is an API server designed to streamline the deployment of LangChain models and pipelines. By integrating with the high-performance FastAPI framework, it allows developers to quickly expose their LLM-powered applications and agents as scalable RESTful APIs. It supports easy deployment of single or multiple chains, provides built-in authentication, and offers flexibility for custom API keys, request-specific LLM parameter overrides, and comprehensive memory handling for conversational AI.

主要功能

01927 GitHub stars
02Well-documented RESTful API endpoints with automatic Swagger UI
03Built-in authentication functionality
04High-performance FastAPI framework for serving requests
05Easy deployment of LangChain models and pipelines
06Supports custom LLM parameters and conversational memory handling

使用案例

01Exposing LangChain LLM applications and agents as RESTful APIs
02Deploying multiple LangChain chains or agents from a single FastAPI server
03Adding secure API authentication to LangChain-powered services