Week 1 of 5
Foundations and an agent loop from scratch
Understand what an LLM actually does, then write a streaming chat and a tool-using agent loop without any framework.
0%
Build this week
- A one-page design doc for your project
- A chat endpoint that streams tokens, and a UI that renders them as they arrive
- An agent loop with no framework and 2 or 3 tools
- Structured outputs with schema validation and retries
- Cosine similarity written from scratch
- Day 11 h 26 minToday
What an LLM is
- 1 h
- 11 min
- 15 min
Notes
- Day 21 h 30 minToday
- Day 31 h 30 minToday
Sampling and hallucination
- 1 h
- 30 min
Notes
- Day 41 h 30 minToday
- Day 54 h 10 min · weekendToday
Streaming chat
- 45 min
- 55 min
- 2 h 30 min
Notes
- Day 64 h 15 min · weekendToday
Agent loop and structured output
- 2 h
- 1 h 30 min
- 45 min
Notes
- Day 71 h 20 minToday
Week review
- 50 min
- 30 min
Notes
If you have time
- 1 h 30 min
- 30 min
Checkpoint
Answer out loud, then rate yourself.