FastAPI Boilerplates

FastAPI templates are the busiest Python shelf here, and they differ mostly in how much production scaffolding they assume: migrations, background workers, Docker Compose, and whether authentication arrives wired or as a to-do.

What is in this list

15 entries carry a FastAPI tag in this directory — 15 open-source and 0 paid. They are grouped here by the technology they are built on; the same kits also appear under what they are built for:

Every one of the 15 kits below is also Python — this page is the FastAPI slice of Python boilerplates, not a separate shelf. If you have not settled on a framework yet, start there.

Order is open-source first, then alphabetical. Nothing on this page is ranked, scored or paid for — see how this directory is built.

Starter-kit to build constrained agents with Nextjs, FastAPI and Langchain. AgentKit was created to help teams get started faster with agent-based applications and to provide a practical foundation for experimentation and delivery. 1 948 stars · MIT licence · last commit 2026-03-18.

fastapifull-stackgenaigenai-chatbot

Cookiecutter fastapi is a framework for jumpstarting production-ready fastapi projects quickly. You'll be prompted for some values. Provide them, then a fastapi project will be created for you. 164 stars · MIT licence · last commit 2026-08-08.

asgicelerycookiecutterfastapi

fastapi deeply integrates with supabase,auth,curd postgresql,file upload ,etc , all in one,inspired by full stack fastapi postgresql. 351 stars · MIT licence · last commit 2026-08-03.

fastapifastapi-adminfastapi-crudfastapi-template

Enterprise-level backend architecture solution with fastapi、sqlalchemy,、celery、pydantic、grafana、docker. The MVC architecture is common in Python Web as a general design pattern, but the three-tier architecture is more. 2 506 stars · MIT licence · last commit 2026-08-04.

celeryfastapifastapi-templatefba

FastAPI boilerplate for real world production. When executing queries concurrently through asyncio.gather(), you must use the sessionfactory context manager rather than the globally used session. 1 491 stars · last commit 2026-05-08.

apiasyncioboilerplatefastapi

Adds integration of the Chameleon template language to FastAPI. #pypackage. Adds integration of the Chameleon template language to FastAPI. If you are interested in Jinja instead, see the sister project: github.com/AGeekInside/fastapi-jinja. 226 stars · MIT licence · last commit 2026-07-22.

chameleonfastapifastapi-templatepython

Practical Clean Architecture backend example built with FastAPI. No stateful globals (DI), low coupling (DIP), tactical DDD, CQRS, proper UoW usage. REST API, per-route error handling, session-based auth, contextual RBAC. Bundled with extensive docs and modern tooling. 581 stars · MIT licence · last commit 2026-06-30.

alembicapiarchitectureclean-architecture

A UI Based FastAPI Project Generation tool. make up # Builds and runs your project along with additional services. 171 stars · MIT licence · last commit 2026-01-24.

asynchronousboilerplatecookiecutterfastapi

FastAPI project Template generator to make your life easier. Simple FastAPI project template with Docker, Alembic, PostgreSQL, Poetry and pre-commit to kickstart your new projects. 354 stars · MIT licence · last commit 2026-08-03.

asyncpgbackend-servicecookiecuttercookiecutter-template

A 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 production-ready template for building AI agent backends with FastAPI and LangGraph. Handles the hard parts — stateful conversations, long-term memory, tool calling, observability, rate limiting, auth — so you can focus on your agent. 2 570 stars · MIT licence · last commit 2026-06-17.

agentagentic-aidockerfastapi

Developer productivity tool for making high-quality FastAPI production-ready APIs. It is designed to make programming FastAPI applications easier by making assumptions about what every developer needs to get started. 804 stars · MIT licence · last commit 2026-05-11.

fastapifastapi-boilerplatefastapi-templatehelm

A FastAPI based low code starter/boilerplate: SQLAlchemy 2.0 (async), Postgres, React-Admin, pytest and cypress. A FastAPI based starter that relies heavily on existing plugins/frameworks. Integrates with OpenAPI Generator for a Typescript client, FastAPI Users for authentication, async-first with SQLAlchemy 2.0. 523 stars · MIT licence · last commit 2025-10-29.

cookiecuttercookiecutter-fastapicookiecutter-templatedocker

The official FastAPI project generator by its creator — FastAPI + SQLModel + Pydantic backend, React/TypeScript frontend with an auto-generated API client, JWT auth, Docker Compose, CI/CD with GitHub Actions, and Traefik deployment.

fastapipythonreactpostgres

Full-stack AI app generator — FastAPI + Next.js with AI Agents, RAG, streaming, auth, and 20+ integrations out of the box. This template is part of a broader open-source ecosystem for production AI agents. 1 699 stars · MIT licence · last commit 2026-08-07.

agent-frameworkai-agent-templateai-agentscrewai

minimal-fastapi-postgres-template based on official template but rewritten. Check out online example: https://minimal-fastapi-postgres-template.rafsaf.pl, it's 100% code used in template (docker image) with added my domain and https only. 573 stars · MIT licence · last commit 2026-08-02.

asyncioboilerplatefastapifastapi-boilerplate

Other stacks