Lesson 7 of 10
Agents and tool use
Run a model in a loop that calls typed tools, trace one call end to end, connect tools over MCP, and add a step budget and approval for risky actions.
In this lesson
- The agent loop
- One tool call, end to end
- MCP connects tools
- Separate proposal and effect
- Execution states
- Drive the bounded loop
- Implement the executor
- What stays true
- Cost and tradeoffs
- Common mistakes
- Related topics and practice
Ultra Premium
Unlock this lesson
Ultra Premium opens the 10 premium lessons in AI systems, along with the rest of WhiteBox's premium lessons and problems.
Not ready yet? Read the free lesson: Backpressure