Agents from first principles
still growingExplain what makes a model an agent, and build the core loops of tool use, planning, ReAct and reflection.
Building with language models that use tools: what makes an agent, how its context is managed, retrieval, patterns for several agents, and keeping one safe, tested and observable. The code examples are in Python.
Decide what goes into an agent's context window on every call, and trim, order and scope it when it grows.
Builds on: Agents from first principles
Name the risks of an agent that reads text and calls tools, and put the right control in front of each one.
Builds on: Agents from first principles