AI AGENTS COURSE

Learn AI Agents — A Structured Course

From “what is an agent” to the core design patterns (Tool Use/ReAct, Planning, Metacognition) — with interactive simulations. Adapted from Microsoft’s AI Agents for Beginners curriculum.

17 lessons · 5 stages 3 interactive simulators Middle plan and up
Part 1 · Visual GuideNew content

AI system maps & coordination models

A new visual guide, separate from the original course below. Use it to build a mental model before entering the detailed lessons.

The 4-layer engineering mapPrompt · Context · Harness · Loop — complementary layers to combine as needed.
Mental model

4 layers for building an AI system

These are four lenses that can be combined, not a mandatory maturity ladder. Mix them according to the task’s complexity, risk, and autonomy.

01 · Write instructions

Prompt Engineering

Design clear instructions that guide AI toward the right kind of result in a conversation.

When to use it

RewriteSummarizeQ&AExtract

How it flows

Task
Prompt
AI/LLM
Result
Refine prompt
Refine and retry

AI knows how to answer.

02 · Supply the right data

Context Engineering

Supply the right information and context before AI produces an answer.

When to use it

RAGAI copilotKnowledge assistantReferences

How it flows

Task
Retrieve
Select & assemble
AI/LLM
Result
Selected context

AI understands the right problem.

03 · Wrap with controls

Harness Engineering

Build an orchestration layer around AI so it operates accurately, safely, and reliably.

When to use it

Production AITool-using agentsApproval flowsHigh reliability

How it flows

Task
Prompt + context
Tools
AI/LLM orchestrates
Evaluate
Verified output
Not yet

AI runs safely and reliably.

04 · Complete goals autonomously

Loop Engineering

Design a system in which AI plans, acts, evaluates itself, and retries until it reaches the goal or a stop condition.

When to use it

Coding agentsResearch agentsMulti-step tasksAutomation

How it flows

Goal
Plan
Act
Evaluate
Goal reached?
Final result
Not yet

AI completes the work autonomously.

Four complementary layers

Prompt shapes the answer · Context supplies the right data · Harness wraps it with tools, rules, and evaluation · Loop repeats with stop conditions. Combine the layers as needed.

The work-coordination mapSub-agent · Agent Team · Custom Workflow — different context, communication, and control boundaries.
From design to operation

3 patterns from the infographic

These are the three patterns shown in the reference. Claude Code also offers Agent View and isolated worktree sessions for parallel work.

Different coordination models
01
Sub-agent

The main agent delegates a focused task to a worker with isolated context, then receives a summarized result.

Claude creates helpers immediately; each returns a separate result

Research
Write code
Documentation
Delegate tasks · return separate results
Main agent decides next

More context

How to use it

Define specialists in .claude/agents/*.md; let Claude delegate automatically or invoke one explicitly with @mention.

Who controls it

The main agent delegates and synthesizes. Subagents report only to their caller and do not message each other.

When to use it

Independent work, verbose output that should stay out of the main context, or parallel research.

02
Agent TeamExperimental

Multiple independent Claude Code sessions share a task list and can communicate directly with one another.

Team lead → shared task list ↔ teammates claim · update · message directly

Team lead
Shared task list · Pending → Done

Claim work · update status

Research · own context
Implementation · own context
Review · own context

Teammates message directly

More context

Agent Teams remain off by default, do not support nested teams, and teammates do not automatically get separate worktrees. Partition work by module/file to avoid overlapping edits.

How to use it

Use Claude Code 2.1.32+, enable CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS=1, then ask Claude to create a team and describe the roles.

Who controls it

The team lead can assign work; teammates can also claim unassigned tasks, update status, and message directly.

When to use it

Parallel investigation, competing hypotheses, or features partitioned by independent modules/files — not a sequential pipeline.

03
Custom Workflow

Your code uses the Agent SDK or Claude CLI to distribute, merge, evaluate, and iterate on work.

Script → multiple Workers → merged Result → repeat if needed

Script (background)

Fan out to N independent workers

Worker 1
Worker 2
Worker 3
Worker 4
Worker 5
Result (Merged)
Incomplete → return to Script

More context

How to use it

Write an orchestrator with the Agent SDK or call claude -p --bare from scripts/CI; define limits and stop conditions yourself.

Who controls it

Your code controls loops, conditions, branches, and distribution.

When to use it

Repeatable workflows that need deterministic control, CI/background execution, branching, retries, and cost limits.

Quick choice

Start with the simplest option that works.

Sub-agent
Focused task · isolated context

Agent Team
Parallel work · direct collaboration

Custom
Repeatable workflow · code-controlled

Part 2 · CourseOriginal content

Detailed AI Agents course

A 5-stage curriculum with 17 lessons and 3 simulators. This section preserves the original deep-learning structure, separate from the Visual Guide above.

View access options

Unlock the AI Agents course

Unlock all 17 lessons, 3 simulators, stage quizzes, and the hands-on capstone.

Requires the Middle plan or higher

Already have an eligible plan? Sign in to unlock right away.

What is next

2 courses in development

Not included in the current 5 stages

01

Deploying agents at scale (Scalable)

Coming soon

02

Building local-running AI agents

Coming soon

Source: Content originally adapted from the AI Agents for Beginners curriculum by Microsoft (MIT license). The Vietnamese edition is written by ORA·tech for educational purposes.

The four engineering layers and three coordination modes are reinterpreted from infographics by @Eroca Thanh supplied by the user.

Content version: Stages 1-5 (complete) · updated 2026-07.