Free 49-lesson course builds a coding agent from scratch in plain Python
Extreme-Brain-1018 · reddit · 2026-11-29
A new free, open-source course, The Agent Lab, builds a coding agent's runtime layer by layer from a single model request: tools, the agent loop, sessions, context compaction, prompt caching, sandboxing, subagents, durable execution, evaluation, and finally a self-improving agent.
- 49 lessons across 10 stages: 21 core lessons (3 hours) plus 28 optional deep dives.
- No framework, no provider SDK: pure Python standard library talking plain HTTP to a Chat Completions endpoint; 70 runnable examples, nearly all offline-capable.
- Deep dives compare real harnesses: how Claude Agent SDK, Codex, Claude Code, Pi, LangChain, DeepSeek Harness, and OpenCode each solve the same problems.
- Interactive: compose requests in the browser, inspect raw JSON and streamed events, and step through animated mechanism demos.
Course: fishmingyu.github.io/agent-infra-cookbook; code on GitHub.
More from coding & agent
- RSNA 2026 Deep Learning Lab to Focus on Production-Ready Agentic AI in Radiology — PRouzrokh · 2026-11-29
- Solo VFX artist rebuilds Blade Runner spinner with AI: 8 hours and $100 vs 2-3 weeks — gorkem · 2026-11-29
- Hands-on with Bitts: an agent team that wrote and deployed a Telegram subnet watcher bot — markjeffrey · 2026-11-29
- Try Building an AI SOC Without Agent Swarms, Casado Told — 'May the Force Be With You' — AccBalanced · 2026-11-29
- Construction worker builds an Unreal Engine 5 dirt-work sim with Claude in a month — TechStandpoint · 2026-11-29
- /be-delusional: open-source skill that rewrites your prompts 10-100x bolder — daniel_mac8 · 2026-11-29