DEV Community

FastAPI

The official tag for the FastAPI framework.

Posts

👋 Sign in for the ability to sort posts by relevant, latest, or top.
FastAPI for AI Engineers - Part 4: Stop Bad Data Before It Breaks Your API (Pydantic and Data Validation)

FastAPI for AI Engineers - Part 4: Stop Bad Data Before It Breaks Your API (Pydantic and Data Validation)

7
Comments 4
4 min read
FastAPI for AI Engineers — Part 1: Why Every AI Backend Is Moving Toward FastAPI

FastAPI for AI Engineers — Part 1: Why Every AI Backend Is Moving Toward FastAPI

6
Comments
4 min read
Fast dependency injection in Python without a provider framework

Fast dependency injection in Python without a provider framework

4
Comments 1
3 min read
Beyond Chatbot Wrappers: Designing ‘Velocity Architecture’ for Production Multi-Agent Systems

Beyond Chatbot Wrappers: Designing ‘Velocity Architecture’ for Production Multi-Agent Systems

Comments
3 min read
Live chain-of-thought in a chatbot: how to actually stream the tool calls (not just the text)

Live chain-of-thought in a chatbot: how to actually stream the tool calls (not just the text)

2
Comments
6 min read
CPU at 70% with Low Traffic? My Story of Catching a Duplicate Scheduler in a 4-Worker Environment

CPU at 70% with Low Traffic? My Story of Catching a Duplicate Scheduler in a 4-Worker Environment

Comments
3 min read
FastAPI Middleware Ordering: Why Your CORS, Auth, and Tenant Context Stack Matters in Production

FastAPI Middleware Ordering: Why Your CORS, Auth, and Tenant Context Stack Matters in Production

2
Comments 2
5 min read
Learning REST API by Building a Tiny HTTP Server in Python

Learning REST API by Building a Tiny HTTP Server in Python

1
Comments
2 min read
FastAPI for AI Engineers - Part 3: Connecting to a database

FastAPI for AI Engineers - Part 3: Connecting to a database

7
Comments 2
6 min read
FastAPI Quickstart in 2026

FastAPI Quickstart in 2026

Comments
2 min read
FastAPI Patterns You Should Be Using in Production

FastAPI Patterns You Should Be Using in Production

Comments
6 min read
Hybrid LLM Routing: Ollama + Claude API Without Quality Degradation

Hybrid LLM Routing: Ollama + Claude API Without Quality Degradation

Comments
4 min read
FastAPI Background Tasks vs. Celery for AI Feature Processing: When to Queue and When to Fire-and-Forget

FastAPI Background Tasks vs. Celery for AI Feature Processing: When to Queue and When to Fire-and-Forget

1
Comments
4 min read
I Built AuthShield and Immediately Knew It Wasn't Enough

I Built AuthShield and Immediately Knew It Wasn't Enough

1
Comments
5 min read
PostgreSQL Connection Pooling in FastAPI: PgBouncer vs. SQLAlchemy QueuePool vs. Render's Native Pools

PostgreSQL Connection Pooling in FastAPI: PgBouncer vs. SQLAlchemy QueuePool vs. Render's Native Pools

Comments
5 min read
👋 Sign in for the ability to sort posts by relevant, latest, or top.