Rules → Prompts → Agentic patterns

Build agents.
Revisit microservices.

Learn agentic AI while reviewing and applying software architecture concepts, including microservices and DDD. Use small ShopEasy examples to check service readiness, find bounded contexts, protect Order invariants, choose data and resilience patterns, and review event contracts. Build from one LLM call to tools, agent loops, a debating council, memory, MCP, A2A, and LangGraph. Every Colab lab gives you the context and questions you need to work through an example.

3 × 90 min lectures9 + 9 core and self-study labsGoogle Colab ready

Start with basic Python and your first model call.

Labs 00–08 begin with a large language model (LLM) answering one question. Then you link model calls, let a model ask Python to run tools, and build a group of reviewers whose decisions you can inspect.

The curriculum

Three lectures. Eighteen labs.

Nine core labs, three per 90-minute lecture, introduce the main agentic mechanisms through microservices revision. Nine self-study labs add the evaluation experiment, routing, the protocols, skills, and framework you may use to build it, plus framing, a learning experiment, and a decision model. Labs start with small examples. Labs 06–08 use park-or-museum and umbrella questions throughout; other labs connect the ideas to software architecture. Counts exclude setup and list warm-ups and optional examples separately.

0 / 18 labs explored

All 18 labs

For your project

Every pattern, and where you build it.

The labs name their patterns as the Architectural Patterns for Agentic AI field guide does, in its three categories. Use this map to find the lab to revisit when your council needs a pattern.

Before your first call

A notebook and a little Python.

Use a CPU runtime. Run one setup cell, then the steps in order. First-time package installation takes extra time.

01 / Bring the basics

Know your Python building blocks

Start with functions, lists, dictionaries, and loops. The labs introduce model prompts, tool requests, and checks as you use them.

02 / Open a notebook

Run it in Google Colab

Open Lab 00 with its Colab button and save a working copy in your Drive. Choose a CPU runtime. Run setup, then the warm-up and numbered steps one cell at a time. You can return to optional examples later.

03 / Connect a model

Choose a provider

A provider is the service that runs the model. Add its API key under the matching name in Colab Secrets and grant the notebook access. Select that provider in the setup cell. Each model request uses your provider’s quota.

04 / Observe the result

Read and check each reply

Compare the output with the example’s expected result. If a check fails, read its message and fix the input or rerun the step it names. Then change one input and see what changes.

One interface, three built-in providers. Every provider speaks the OpenAI-compatible Chat Completions API, and the helper also supports configurable compatible gateways. Set PROVIDER for a built-in provider, or follow the API setup guide for a custom gateway, and save the key in Colab Secrets. Check model access, quotas, and pricing before class.

PROVIDERModel familyColab secret
"freeinference"QwenFREEINFERENCE_API_KEY
"deepseek" defaultDeepSeekDEEPSEEK_API_KEY
"gemini"GeminiGEMINI_API_KEY

Most live model labs need one provider. Lab 06 needs all three model families; MCP, the local A2A adapter, and the trust-weight demo need no model. Lab 17 uses a separate TypeSafe key for scoring. The setup cell installs the course helpers from a pinned GitHub revision, plus the SDK a lab needs.

What you will learn

Build a clear picture of the whole stack.

Each area answers a different question. Together, they help you decide what belongs in an agent system—and what a simple model call can already do.

Labs 00–02 · Lecture 1

LLMs and prompting
Answers from sources

Ask a model a question, compare several prompts, then give the model relevant notes to use when answering. This last technique is called retrieval-augmented generation (RAG).

Begin with the model ↗
Labs 03–08 · Lectures 2 and 3

Foundations of AI agents
Reviewed decisions

Pass one reply to the next prompt, let a model request Python functions, and follow a loop that uses each result to choose what to do next. Then compare several reviewers, follow a decision in the logs, and use saved feedback on a later case.

Start with a prompt chain ↗
Labs 04, 05, 11, 13

Tools and MCP
A2A Protocol

Read and update an Order through its aggregate root, expose owner APIs over MCP, and translate a provider model through an A2A payment adapter.

Connect capabilities ↗
Labs 12, 14 · Self-study

Skills
Frameworks

Load a Saga-review skill and validate compensations, then use LangGraph to check an additive OrderPlaced contract.

Make the pieces reusable ↗

Two learning goals across the course: build an agentic mechanism and apply microservices or DDD concepts in a self-contained scenario. Later examples test domain boundaries, data ownership, safe effects, and explicit trade-offs.

Read a little. Build a lot.

A small, useful resource library.

Start with a lab, then explore these learning resources and technical references.

More hands-on practice

Agentic AI Learning Lab ↗

A browser-based practice app with examples progressing from a single prompt to tool use, reflection, and multi-agent workflows.

Go deeper with LangGraph

LangGraph Complete Guide ↗

Continue beyond Lab 14 with Python examples covering chatbots, ReAct agents, supervisor patterns, and research workflows.

Tools & MCP

Model Context Protocol ↗

The standard for connecting AI applications to tools, data, and other context. Lab 04 builds tools by hand; self-study Lab 11 uses the MCP SDK.

Agent communication

A2A Protocol ↗

Capability discovery and communication between agents. Self-study Lab 13 discovers a local payment-adapter agent and sends a synthetic provider payload across a real A2A interface.

Frameworks

LangGraph ↗

State, nodes, and edges for orchestration. Self-study Lab 14 starts with just two nodes; use the guide to explore larger workflows.

Begin with the simplest working system

Your first agent starts
with one good experiment.

Go to lab 00