From Language Models to Agents

Module 2, Lecture 2.3 | Introduction to Agentic Systems

An LLM is a powerful text generator, but it cannot read files, send emails, query databases, or access current information on its own. This lecture explains what bridges the gap from language model to agent: tool calling — the protocol that lets a model request structured actions and incorporate the results into its reasoning. We walk through the five-step tool-calling flow, connect it back to the perception-reasoning-action loop from Lecture 1.1, and then examine how system prompts shape agent identity, override training biases, and establish behavioral constraints. The lecture concludes by assembling the complete mental model: LLM + context window + tool calling + system prompt + agent loop.

Read the full lecture narrative

Additional Resources