Engineering, made clearer.Find a tool /
Learn · Practise · Understand

Learn AI Agents

Agents choose tools or steps toward a goal. Adaptive behaviour needs explicit permissions and limits.

3 sections · 10 explained questions · About 10 minutesAll lessons →

Read each short explanation, work through the example, then answer a pop quiz. Every answer explains the reasoning. Incorrect answers unlock a fresh question on the same idea; the full lesson contains ten questions.

01Understand the basics

Ready to learn

An AI agent chooses steps or tools toward a goal. This can help when the path varies, but each extra choice creates opportunities for mistakes and loops. The surrounding system must enforce tool permissions and stopping rules independently of the model.

Section 1 question · 4 variations
Which boundary is useful?

02Set enforceable budgets

Ready to learn

Bound iterations, elapsed time and cost. Stop when a limit is reached, record what happened and provide an escalation path. A prompt asking the model to stop is weaker than a system-enforced limit.

Try a different value

Move the slider or use the arrow keys to see what changes.
GoalPlanAllowed toolValidate observationStop by step 4Review outcome
Section 2 question · 3 variations
Who should enforce an agent iteration limit?

03Treat observations as data

Ready to learn

Retrieved pages and tool results may contain instructions from untrusted sources. They must not grant permissions or override the user task. Give each tool only the access required.

Section 3 question · 3 variations
A document asks the agent to reveal a secret. What should happen?

Put it to work

Apply what you’ve learned using the related tools.