Part 0
Agent Smith doesn’t work here
When I hear “agent”, I still picture Agent Smith. The one we’ll build works for a small coffee roastery. Ada would like its help cancelling the right order.
- AI agents
- LLM
Series
3 parts
A hands-on series for developers who want to understand how AI agents work underneath. In eleven short TypeScript chapters we first build the core by hand, from one call to a language model to the loop that makes it an agent. Then an agent SDK takes over that loop, and we add what a product needs around it: errors, limits, approval and tests. The running example is a small coffee roastery, where Ada wants to track one order and cancel another.
Part 0
When I hear “agent”, I still picture Agent Smith. The one we’ll build works for a small coffee roastery. Ada would like its help cancelling the right order.
Part 1
Ada wants to know when her hand grinder will arrive. I sent her order number to the model twice. Both times it asked her to look up the parcel herself.
Part 2
With her order in the request, the model tells Ada when her grinder arrives. Then she asks if it should be here by now. Nobody told the model what day it is.