fastapi-genai-boilerplate
A clean and modular FastAPI boilerplate designed to kickstart your GenAI project.
templateboilerplatefastapillmgenerative-aiai-projectsgenai
FreeRepo
Overview
FastAPI-GenAI-Boilerplate is a production-ready starter template for building scalable FastAPI applications with built-in support for AI workflows, observability and DevOps practices. It includes FastAPI, Uvicorn, Gunicorn, Docker, Pydantic configuration, structured logging with Loguru, rate limiting, Redis caching, Prometheus metrics and pre-commit hooks for code quality, designed for teams building maintainable APIs with environment-aware settings and full request tracing.
Features
modular-architecturelangraph-workflowsmulti-agent-supportrequest-tracingstructured-loggingrate-limitingdocker-deploymentgunicorn-uvicornredis-cachingprometheus-metricsgrafana-dashboardslangfuse-integrationenvironment-aware-configx-request-id-headersbrute-force-protection
Feature Flags
userDashboardauthenticationecommerceloggingErrorTrackingjobsQueuecmsaiapiDocscachingrateLimitingloggingmonitoringdockercitracing
Recommended Use Cases
genai-applicationsllm-projectsai-workflow-orchestrationscalable-api-servicesproduction-ready-deployments
Frontend
None
Backend
fastapiuvicorngunicornpydanticlogurufastapi-limiteraiocachelangfuse
Auth Providers
None
Deployment Targets
dockergunicorn
Payment Providers
None
Quick Facts
โญ Stars
118
๐ด Forks
19
๐งพ License
mit
๐ Active
Unknown
Stack
Framework
fastapi
Language
python
Database
redis
Monitoring
prometheus, grafana, langfuse
Logging
loguru
CI
pre-commit
Data Layer
Databases
redis
UI Stack
Developer Experience
Docker
Yes
Tests
No
Quickstart
Yes
env.example
Yes
CI
pre-commit
Pricing
Classification
free
Selected
โ
Notes
Open source MIT licensed project