Phase 13: Tools & Protocols
AI From Scratch/Lesson 01/~45 minutes

The Tool Interface — Why Agents Need Structured I/O

A language model produces tokens. A program takes actions. The gap between those two is the tool interface: a contract that lets the model request an action and the host execute it. Every 2026 stack — function calling on OpenAI, Anthropic,...

LearnPython (stdlibno LLM)
Loading lesson page...