Roadmap · 3 stages
AI Agents roadmap
Build a real AI agent for the Mộc coffee shop in TypeScript: from your first API call to putting it in front of customers.
10 postsabout 3 h of readingBeginner → Intermediate → Advanced
Start readingStage 1 · 3 posts
Beginner
Understand how an AI agent differs from a chatbot, and let it call its first tool.
After this stage you will
- Tell chatbots, workflows and agents apart.
- Call an LLM API from TypeScript with a clear system prompt.
- Let the model call real functions through tool calling.
Stage 2 · 5 posts
Intermediate
Turn the chatbot into an agent that takes several steps, remembers context and reads the right documents.
After this stage you will
- Write an agent loop with limits so it never runs forever.
- Manage the context window, and use RAG and embeddings to find the right documents.
- Package tools as an MCP server, stream answers and keep costs in check.
- Know when to hand over to a human, and what you need before deploying.
Build your first AI agent
See the seriesStage 3 · 2 posts
Advanced
Keep the agent safe and measure its quality over time.
After this stage you will
- Spot and block prompt injection.
- Write an eval suite to catch the agent getting worse after a change.
Want to know when a roadmap grows?
Whenever a stage gets a new post, the newsletter will let you know.
Get new notes