FastAPI template for AI agent apps with LangGraph
Top 36.9% on sourcepulse
This template provides a production-ready FastAPI and LangGraph foundation for building AI agent applications. It targets developers needing a scalable, observable, and maintainable backend for complex AI workflows, offering features like LLM observability, robust API design, and integrated monitoring.
How It Works
The template leverages FastAPI for high-performance asynchronous API endpoints and LangGraph for defining and executing multi-step AI agent workflows. It integrates Langfuse for LLM observability, allowing detailed tracing and analysis of agent interactions. Data persistence is handled by PostgreSQL, with ORM managing schema creation. The architecture includes Prometheus and Grafana for comprehensive monitoring of API performance, resource usage, and rate limiting statistics.
Quick Start & Requirements
uv sync
for dependencies..env.example
to .env.[env]
, configure POSTGRES_URL
.make dev
for local, make docker-build-env ENV=[env]
and make docker-run-env ENV=[env]
for Docker.http://localhost:8000/docs
.http://localhost:9090
, Grafana at http://localhost:3000
(admin/admin).Highlighted Details
.env
files.Maintenance & Community
No specific contributors, sponsorships, or community links (Discord/Slack) are mentioned in the README.
Licensing & Compatibility
The README does not specify a license. Compatibility for commercial use or closed-source linking is not detailed.
Limitations & Caveats
The template requires Python 3.13+, which is a recent version. The absence of a specified license raises questions about usage rights and commercial compatibility. No information is provided regarding community support or project maintenance activity.
1 month ago
Inactive