Foundations: Production Backend & LLM Mechanics
Be a competent backend engineer who understands what actually happens when an LLM is called.
A forward deployed engineer cannot hide behind notebook scripts. You must write production-grade Python that an enterprise team can run inside their VPC. Week 1 makes your Python bulletproof, week 2 covers structured data & APIs, week 3 terminal fluency & Docker, and week 4 LLM tokens and sampling. The month ends with a Dockerised Document Q&A API.
Enterprise clients won't let you touch their data unless your code meets their standard backend security, testing, and containerization standards.
Async event loops, strict Pydantic schemas, and Docker Compose reproducibility prevent 90% of on-site deployment failures.
Python for Production & Project Packaging
Classes, dataclasses, type hints, Pydantic v2, async/await, pyproject.toml, and logging instead of print.
- •Dataclasses and Pydantic v2 validation models
- •Asyncio event loops, coroutines, and task groups
- •Retries with exponential backoff and jitter (tenacity)
Files, SQL & REST APIs with FastAPI
Moving data in and out of JSON, SQL joins/indexes on real DBs, and typed FastAPI endpoints.
- •Streaming file uploads & chunked buffer processing
- •PostgreSQL indexing, joins, and ACID transactions
- •FastAPI dependency injection and middleware
Developer Tooling & Claude Code in Repos
Using Claude Code as an in-repo coding agent, Git branching hygiene, Linux shell fluency, and Docker.
- •Claude Code CLI: codebase search, planning before writing, rewinding mistakes
- •Git worktrees, semantic commits, and PR code reviews
- •Linux system diagnostics (htop, curl, grep, systemd)
How LLMs Actually Work
Transformers in one picture, tokens, next-token prediction, sampling controls, context limits, and model APIs.
- •Autoregressive generation & next-token probability distribution
- •Tokenization boundaries, BPE algorithms, and token-cost math
- •Temperature, top-p, frequency penalty, and presence penalty
Document Q&A Microservice API
A FastAPI microservice that accepts PDFs, parses structured text, and answers grounded questions via LLM with strict JSON schemas, tested with Pytest and containerized with Docker Compose.
Internal legal department needs an API to query compliance handbooks without data leaking to public endpoints.
P95 latency under 1.8s; 100% test pass rate in CI; zero unhandled 500 errors on corrupt PDFs.