Building AI Agents
What an AI agent actually is, and how to build one: a language model, a set of tools, a loop and some memory. Starting from the wire format a model speaks, you will write the agent loop by hand before reaching for any framework — tool definitions and dispatch, the Model Context Protocol, retrieval, evaluation. By the end you will know which problems deserve an agent, and which are better served by a single call.
Everything here is open. Sign in and enter your teacher’s group code if you want your homework counted.
In class: py_functional/warm_up, py_functional/profiler, Practice 1 — How to use LLMs (Colab), Practice 2 — Your first agent (Colab)
In class: py_functional/lru_cache, py_functional/context_manager, Practice — Tools and MCP (Colab)
In class: agents_retrieval/bm25_index, agents_training/lora_adapter, agents_retrieval/email_regex, Practice — Memory and Guardrails (Colab)
In class: py_classes/range, Practice — Multi-Agent Systems and Multimodality (Colab)