A production-ready FastAPI platform with modular components and a built-in control plane. Try: uvx aegis-stack init my-project
Project description
You need to ship reliable software, but management only gave you 2 weeks.
No time for health checks, proper testing, or clean architecture. Just enough time for duct tape and hope.
What if you could go from idea to working prototype in the time it takes to grab coffee?
Ship FastAPI apps that grow with you.
Aegis Stack scaffolds complete FastAPI applications with auth, payments, workers, AI, and a built-in control plane. Add what you need, remove what you don't, update when the framework improves.
Quick Start
uvx aegis-stack init my-api && cd my-api && make serve
More examples
# Add user authentication out of the box
uvx aegis-stack init user-app --services auth
# Add background processing + scheduling
uvx aegis-stack init task-processor --components scheduler,worker
# Everything wired up at init
uvx aegis-stack init full-app --services auth,payment,comms --components worker,scheduler
CLI in 9 languages: English, German, Spanish, French, Japanese, Korean, Russian, Simplified Chinese, Traditional Chinese. Use
aegis --lang <code>or setAEGIS_LANG.
Installation alternatives: See the Installation Guide for uv tool install, pip install, and development setup.
Customizing Your Stack
Components are infrastructure pieces (database, workers, scheduler, cache). Services are business capabilities (auth, AI, payments, comms).
Don't worry about what you pick today. Add anything later with a single command, remove what you outgrow, no rework required.
Components
| Component | What you get | |
|---|---|---|
| Backend | FastAPI + lifecycle hooks | |
| CLI | Typer, first-class system interface | |
| Frontend | Flet, ships with the Overseer system dashboard | |
| Cache | Redis for caching, sessions, pub/sub | |
| Database | Postgres or SQLite + SQLModel ORM | |
| Inference | Local AI models via Ollama | |
| Ingress | Traefik v3 reverse proxy with TLS | |
| Observability | Pydantic Logfire tracing + metrics + logging | |
| Scheduler | APScheduler with persistent jobs | |
| Worker | Pluggable Arq, Taskiq, or Dramatiq |
Services
| Service | What you get | |
|---|---|---|
| AI | Conversational agents, RAG, model catalog, TTS and STT (PydanticAI / LangChain across 7 providers) | |
| Auth | JWT cookie sessions, GitHub/Google sign-in, RBAC, multi-tenant Organizations | |
| Blog | Markdown publishing with drafts, tags, and an Overseer editor | |
| Comms | Transactional email (Resend) + SMS / voice (Twilio) | |
| Insights | Adoption metrics across GitHub, PyPI, Plausible, Reddit | |
| Payments | Stripe checkout, subscriptions, refunds, disputes |
Components compose into capabilities you didn't have to build:
graph LR
Auth[Auth] --> A[User-specific AI conversations]
AI[AI] --> A
AI --> B[Persistent history &<br/>token analytics]
DB[(Database)] --> B
AI --> C[Background AI pipelines]
Worker[Worker] --> C
Scheduler[Scheduler] --> D[Persistent job scheduling]
DB --> D
Components Docs → · Services Docs →
Your Stack Grows With You
Your choices aren't permanent. Start with what you need today, add when requirements change, remove what you outgrow.
# Monday: Ship MVP
aegis init my-api
# Week 3: Add scheduled reports
aegis add scheduler --project-path ./my-api
# Month 2: Need async workers
aegis add worker --project-path ./my-api
# Month 6: Scheduler not needed
aegis remove scheduler --project-path ./my-api
# Stay current with template improvements
aegis update
| Starter | Add Later? | Remove Later? | Git Conflicts? |
|---|---|---|---|
| Others | Locked at init | Manual deletion | High risk |
| Aegis Stack | One command | One command | Auto-handled |
Most starters lock you in at init. Aegis Stack doesn't. See Evolving Your Stack for the complete guide.
Overseer - Your Application's Control Plane
Live Demo: sector-7g.dev/dashboard
Overseer is the embedded control plane that ships with every Aegis Stack project.
- Live health of every component and service in one view
- Worker queues, scheduled jobs, recent runs
- Database schema, tables, and migration state
- AI token usage and conversation history
- Auth sessions and user activity
- No external tooling, no vendor integrations, no setup
CLI - First-Class System Interface
The Aegis CLI is a first-class interface to your running system. Not just a health check, but a full inspection layer.
- Component-aware commands for every running subsystem
- Inspect worker queues, scheduler runs, database state
- Query AI usage, auth sessions, service configuration
- Same data Overseer sees, terminal-native
- Built into every generated project, no extra installs
Illiana - Optional System Operator
When the AI service is enabled, Aegis exposes an additional interface: Illiana, a conversational operator over your running system.
- Ask questions in plain language about live system state
- Backed by live telemetry from Overseer and the CLI
- Optional RAG over your codebase for code-aware answers
- Opt-in: only available when the AI service is on
- Nothing in the stack depends on her being there
Learn More
- Overseer - Built-in system dashboard
- Deployment - Deploy with backups, rollback, and health checks
- CLI Reference - Complete command reference
- Evolving Your Stack - Add/remove components as needs change
- Technology Stack - Battle-tested technology choices
- About - The philosophy and vision behind Aegis Stack
For The Veterans
No reinventing the wheel. Just the tools you already know, pre-configured and ready to compose.
Aegis Stack respects your expertise. No custom abstractions or proprietary patterns to learn. Pick your components, get a production-ready foundation, and build your way.
Aegis gets out of your way so you can get started.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aegis_stack-0.6.13.tar.gz.
File metadata
- Download URL: aegis_stack-0.6.13.tar.gz
- Upload date:
- Size: 4.7 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f57b09544731f074104b0572369fbecd8edb6baa3b0d2ea7ece75b3acbde25b7
|
|
| MD5 |
2243aa0c80cf34f4d11eebb05b12edf6
|
|
| BLAKE2b-256 |
48f6b1f1d64f8651745c5014bee521b927d2cfaa8e443d12bcba0d40f7d5556d
|
Provenance
The following attestation bundles were made for aegis_stack-0.6.13.tar.gz:
Publisher:
release.yml on lbedner/aegis-stack
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aegis_stack-0.6.13.tar.gz -
Subject digest:
f57b09544731f074104b0572369fbecd8edb6baa3b0d2ea7ece75b3acbde25b7 - Sigstore transparency entry: 1479153724
- Sigstore integration time:
-
Permalink:
lbedner/aegis-stack@d05a4af389b0784d6dac9565256e9cec4e83e164 -
Branch / Tag:
refs/tags/v0.6.13 - Owner: https://github.com/lbedner
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@d05a4af389b0784d6dac9565256e9cec4e83e164 -
Trigger Event:
push
-
Statement type:
File details
Details for the file aegis_stack-0.6.13-py3-none-any.whl.
File metadata
- Download URL: aegis_stack-0.6.13-py3-none-any.whl
- Upload date:
- Size: 4.9 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ba8574b8fddbda5459ad30fd135dd1bfd6529fa37dc2c61945d22e1516a9597b
|
|
| MD5 |
1f88fbecf60d88e45cbe3070a1dc1d70
|
|
| BLAKE2b-256 |
1483779dc894f4dc10ee1d7f6d19944e2449dc916ca3f7beab4ca502a1ffc345
|
Provenance
The following attestation bundles were made for aegis_stack-0.6.13-py3-none-any.whl:
Publisher:
release.yml on lbedner/aegis-stack
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
aegis_stack-0.6.13-py3-none-any.whl -
Subject digest:
ba8574b8fddbda5459ad30fd135dd1bfd6529fa37dc2c61945d22e1516a9597b - Sigstore transparency entry: 1479153901
- Sigstore integration time:
-
Permalink:
lbedner/aegis-stack@d05a4af389b0784d6dac9565256e9cec4e83e164 -
Branch / Tag:
refs/tags/v0.6.13 - Owner: https://github.com/lbedner
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@d05a4af389b0784d6dac9565256e9cec4e83e164 -
Trigger Event:
push
-
Statement type: