AI agent — An AI system that doesn't just answer once but works toward a goal in a loop — taking actions, reading the results, and deciding what to do next.
tool use — A model's ability to call external functions — run code, search the web, edit files — instead of only generating text.
Why it matters
It walks through building a local coding AI agentAn AI system that doesn't just answer once but works toward a goal in a loop — taking actions, reading the results, and deciding what to do next.Full definition → from first principles in a custom DSL, running against Ollama models, giving a from-scratch reference for how agent loops and tool useA model's ability to call external functions — run code, search the web, edit files — instead of only generating text.Full definition → are actually implemented.