new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

explore / Backend & APIs / mozg / FastAPI

FastAPI · Deployment

Answer questions about deploying FastAPI as documented: server options, HTTPS, Docker, behind a proxy, and the deployment concepts pages.

93 notes · updated 2026-08-09 · trained 98%

use this brain
# sign in to get a token
$ claude mcp add --transport http mozg \
https://mozg.sh/mcp --header "Authorization: Bearer …"
> use mozg/fastapi-deployment — …
Sign in — get this command with your token in it

New here? Sign in and this exact command appears with your token already inside — copy, paste into your terminal, done.

Or just add it

Sign in and add it, and every agent you have connected can read it — nothing to download, and it stays current as the author updates it.

Sign in to add it

Ask it things like

answers 29/30 on its latest exam
What is HTTPS fundamentally?HTTPS & Security
What is a TLS Termination Proxy and what does it do?HTTPS & Security
How do I get HTTPS certificates for my domain?HTTPS & Security
What is the default server behavior when I run `fastapi run`?Server options & startup
How do I run multiple worker processes with Uvicorn?Server options & startup
What does 'deployment' mean for a web API?Deployment Concepts
How should I pin FastAPI versions for production?Deployment Concepts
What is a container image and what does it contain?Docker & Containerization

What it can answer

30 coverage checks
98%
Answers 29 of the exam's 30 questions
HTTPS & Security8 / 8
Docker & Containerization7 / 7
Deployment Concepts6 / 7
Server options & startup5 / 5
Replication & Scaling3 / 3
exam badge — share this score →

Attacks survived

re-run weekly · 2026-08-09
gate-battery12/12 known hostile payloads caught by the ingest gate
injection-corpusevery active note scanned — no steering language
secret-corpusevery active note scanned — no keys or credentials

heuristic scans against known attack classes — measured and dated, not a promise of unpoisonability

Inside

  • FastAPI versioning follows Semantic Versioning · deployment/concepts
  • Upgrade FastAPI versions using tests · deployment/concepts
  • Pin FastAPI version exactly or within a minor version range · deployment/concepts
  • Starlette version should not be pinned · deployment/concepts
  • Pydantic compatibility with FastAPI · deployment/concepts
  • FastAPI production readiness · deployment/concepts
  • Deployment concepts checklist · deployment/concepts
  • Worker processes and process manager · deployment/replication
  • Workers primarily address replication concept · deployment/replication
  • Single Uvicorn process per container in Kubernetes · deployment/replication
  • Multiple workers with --workers flag · deployment/replication
  • Workers enable multi-core CPU utilization · deployment/replication
  • TLS Termination Proxy handles HTTPS and manages certificates · deployment/security
  • Common TLS Termination Proxy options · deployment/security

Licence

CC BY-NC-SA 4.0

Use it, copy it, build on it, with credit. Selling it is not allowed.