The backend you'd build,
shipped in Python.
The AI-native open-source BaaS on FastAPI. Auth, real-time, dynamic collections, file storage, and an admin dashboard ship in the core — RAG, vector search, and autonomous agents plug in on demand. One uv tool install away.
A backend that disappears, so you can ship the product.
FastCMS handles the parts every app needs — auth, schemas, storage, real-time — so your codebase only contains the parts that make your app yours.
Every primitive your app needs. None it doesn't.
Explore the full feature setReal-time, everywhere
WebSocket subscriptions and Server-Sent Events on every collection. Multi-instance broadcast through Redis pub/sub. Filter, authenticate, and rate-limit subscriptions with the same access rules as your REST API.
Authentication
JWT, OAuth across 29 providers, 2FA/TOTP, API keys, magic links.
Dynamic Collections
Define schemas at runtime. FastCMS generates tables, REST endpoints, and admin UI.
Row-level access rules
Per-collection permission expressions. Read, create, update, delete — independently scoped per role.
Pluggable file storage
Local disk, AWS S3, or Azure Blob. Automatic image thumbnailing on upload.
Hooks & webhooks
React to every record event. Fire webhooks with signed payloads, retries, and per-collection filters.
AI-native by plugin. Install what you need.
LLM providers, vector search, RAG, and autonomous agents — one command each: fastcms plugin install ai-core. The core wheel stays lightweight; AI capability scales with your needs, not your install size.
AI Core
One provider interface for OpenAI, Anthropic, and Ollama. Streaming, embeddings, and completions — bring-your-own-key.
AI Vectors
Embedding storage on any collection. Semantic search by meaning, not keywords. ~10× faster with NumPy.
AI RAG
Upload documents, auto-chunk, embed, and answer questions in natural language — grounded in your data.
AI Agents
Autonomous agents with tool calling. List collections, query records, create data — all driven by natural language.
Langflow
Visual drag-and-drop AI workflow builder. 50+ integrations and 138K+ GitHub stars — point FastCMS at any running Langflow server.
Build your own
A plugin is a folder with __init__.py and a register(ctx). Routes, hooks, admin pages, settings — no core changes.
A folder, two functions, zero config.
FastCMS scans plugins/ on startup, validates each plugin's metadata, and calls register(ctx). If a plugin fails to load, the server starts anyway and logs the error. Settings live in the database — editable from the Admin UI.
- Add API routes via FastAPI APIRouter
- Subscribe to record events: create, update, delete
- Inject pages into the admin sidebar
- Persist settings in the plugin_settings table
PLUGIN_META = { "id": "hello-world", "name": "Hello World", "version": "1.0.0", } def register(ctx) -> None: from fastapi import APIRouter router = APIRouter() @router.get("/hello") async def hello(): return {"message": "Hello!"} ctx.include_router(router, prefix="/hello-world")
From uv tool install to a live API in three moves.
Install
One command. SQLite by default, swap to Postgres when you need it.
$ uv tool install pyfastcms $ fastcms init my-backend $ fastcms create-admin
Define a collection
Schemas live in the admin UI or a Python file. Tables are generated for you.
collection("posts", fields=[ Text("title", required=True), Markdown("body"), Relation("author", → "users"), ], rules=auth.is_owner, )
Use the API
REST endpoints, a typed SDK, real-time subscriptions, an admin UI — all generated.
# REST GET /api/collections/posts # Realtime ws.subscribe("posts:*") # Auth POST /api/auth/oauth/github
An admin you'd actually want to use.
Every collection, user, file, webhook, plugin, backup, and audit log — manageable from a single dashboard built into FastCMS. No separate service, no configuration.
Dashboard
System overview and statistics
Total Users
142
New Users (7d)
18
Collections
9
Backups
12
Files
384
Quick Actions
Manage Users
View, edit, and manage user accounts
Manage Collections
View and manage collections
API Documentation
View API docs and test endpoints
Recent Backups
backup_2026-03-04_09-00-00.db
4.2 MB
backup_2026-03-03_09-00-00.db
4.1 MB
Built on technology you already trust.
Spin up your backend before your coffee gets cold.
Install pyfastcms, scaffold a project, and you have a running admin dashboard, REST API, and WebSocket server in under a minute. Move to Postgres + Redis when you need to scale — the API stays identical.
- SQLite for development, PostgreSQL for production
- JWT, OAuth, or API keys — pick one or use all three
- Real-time built in: WebSocket and SSE
- No vendor lock-in, MIT licensed
Build the backend, not the boilerplate.
FastCMS is open source and free forever. Read the docs, deploy in a few minutes, or contribute on GitHub.