fastapi-langgraph-agent-production-ready-template
View on GitHubA production-ready FastAPI template for building AI agent applications with LangGraph integration. This template provides a robust foundation for building scalable, secure, and maintainable AI agent services.
A Python starter template for production-oriented AI agent APIs using FastAPI and LangGraph. Includes checkpointing, tool calling, mem0 long-term memory with PostgreSQL/pgvector, LLM fallbacks, authentication, tracing, metrics, and evaluation utilities.
Use Cases
Build a stateful AI agent APIAdd tool calling and human-in-the-loop workflowsPersist conversation state and user memoryDeploy an authenticated, monitored LLM serviceEvaluate agent responses
Built With
- Language
- Python
- Frameworks
- LangGraph · LangChain · FastAPI · mem0 · Langfuse · Pydantic · SQLModel · Prometheus
Tags
AI agents · LangGraph · FastAPI · agent template · tool calling · long-term memory · checkpointing · observability · LLM evaluation · Docker