Autonomous Agents
Autonomous Agents
What it means for an agent to act autonomously, how we measure the degree of autonomy, and how we build long tasks and browser and computer agents while keeping a human in the loop and managing the risks.
About the module
Autonomy is not a switch that is turned on or off, but a spectrum of degrees that sets how many decisions the agent takes without referring to a human. In this module we define autonomy precisely and order its levels, from the assistant that only suggests to the agent that executes and monitors itself, then move to the harder applications: browser and computer agents that work with interfaces designed for humans, and long tasks that need checkpoints, resumption and budgets. We learn how to place human-in-the-loop approval points in the right place, and how to contain risks with permission limits, budgets, audit logs and kill switches. The goal is to give the agent the least autonomy that is enough to complete the task safely, and no more.
Learning objectives
- Define autonomy and distinguish it from fixed automation
- Place an agent on the ladder of autonomy levels and justify the placement
- Design a long task with checkpoints, resumption, a budget and a stop condition
- Place human approval points where an action is costly or irreversible
- Analyse the risks of an autonomous agent and propose suitable controls for each risk
Prerequisites
- The planning module and the ReAct loop
- The tools module and tool security
- The agent frameworks module
Skills gained
Lessons
- 1What is autonomy in intelligent agents?What Is Agent Autonomy?Many programs work "on their own", but few of them are truly autonomous. In this lesson we define autonomy as the shift of decisions from th…
- 2Levels of autonomyLevels of AutonomyNot all agents are autonomous to the same degree, and neither are all the actions of a single agent. In this lesson we use a five-step teach…
- 3Browser agents and computer useBrowser and Computer-Use AgentsWhen there is no API, the agent can work the way a person does: see the page, click and type. In this lesson we understand the loop of brows…
- 4Long-running tasksLong-Running TasksA task that takes hours or days will inevitably be interrupted or have to wait. In this lesson we learn the four pillars of long tasks: chec…
- 5Human in the loopHuman-in-the-LoopA good autonomous agent knows when to stop and ask. In this lesson we get to know the four patterns of human intervention, decide where to p…
- 6Autonomy risks and their controlsAutonomy Risks and ControlsEvery additional degree of autonomy widens the risk surface. In this lesson we map the main risks of autonomous agents, build control layers…
Module diagrams
Module terms
| Term | English | Definition |
|---|---|---|
| Autonomy | Autonomy | The number of decisions the agent makes without human permission |
| Fixed automation | Automation | Carrying out predefined steps without making decisions |
| Workflow | Workflow | Orchestrating models and tools through paths pre-written in code |
| Step budget | Step Budget | A maximum number of loop cycles before stopping or escalating |
| Escalation | Escalation | Referring the decision to a human when unable or in doubt |
| Autonomy level | Autonomy Level | A degree that defines what the agent does without human permission |
| Reversibility | Reversibility | The ability to undo an action's effect easily |
| Default deny | Default Deny | Rejecting any action not explicitly stated in the policy |
| Shadow mode | Shadow Mode | Running the agent to suggest without executing, to compare its decisions with the humans' decisions |
| Oversight | Oversight | Later monitoring through logs and alerts instead of prior approval |
| Browser agent | Browser Agent | An agent that browses the web and performs actions on pages |
| Computer-use agent | Computer-Use Agent | An agent that controls the computer interface by clicking and typing |
| Accessibility tree | Accessibility Tree | A structured representation of interface elements with their names and roles |
| Indirect prompt injection | Indirect Prompt Injection | Malicious instructions hidden in content the agent reads |
| Allowlist | Allowlist | An explicit list of the only domains or actions that are allowed |
| Checkpoint | Checkpoint | A snapshot of the run state saved in a persistent store to resume from |
| Idempotency | Idempotency | A property that makes repeating the same action not change the effect after the first time |
| Idempotency key | Idempotency Key | A unique identifier that prevents the same action from being executed twice |
| Budget | Budget | A limit on steps, time or cost that stops the run when reached |
| Resume | Resume | Continuing the run from the last checkpoint instead of starting again |
| Human in the loop | Human-in-the-Loop | The agent stopping at specific points to ask for human judgment |
| Approval gate | Approval Gate | A point in the path past which the action proceeds only with approval |
| Approval fatigue | Approval Fatigue | A reviewer approving without scrutiny because of too many requests |
| Audit log | Audit Log | A permanent record of decisions, who made them, when and why |
| Safe default behavior | Safe Default | What happens when the timeout expires without a decision, such as not executing |
| Excessive permissions | Excessive Agency | The agent having functions, permissions or autonomy beyond what its task needs |
| Least privilege | Least Privilege | Granting every component the narrowest permission that suffices for its work |
| Kill switch | Kill Switch | An external signal that stops the agent immediately |
| Guard | Guard | A code layer that enforces constraints on tool calls |
| Error compounding | Error Compounding | Building later steps on an earlier mistake so that its effect grows |
| AI Risk Management Framework | AI RMF | A NIST framework with the functions Govern, Map, Measure and Manage |
Hands-on experiment
Autonomy limits and approval points Autonomy Limits & Approvals
To test how limits on steps and time and human approval points control an agent that works with greater autonomy.
- Open the Autonomous Agent Lab (open ↗)
- Give the agent a multi-stage goal and run it with the default settings, and read the steps
- In the simulator, add a Human Approval node before a sensitive step, and write in question what will be executed and why
- Run three times with auto set to approve, then reject, then ask, and compare the paths
- Set the Agent node's timeout to a small value such as 100 and notice the timeout error, then raise it
- Set the Agent node's failAt to simulate a failure at a specific step and watch what happens after it
What you will notice: You will notice that a human rejection stops the sensitive action, which is the correct behavior, that a small timeout stops the agent before it finishes its work, and that the simulated failure shows the importance of having an alternative path. Greater autonomy requires clearer limits, not fewer.
Final task
In the autonomy lab (open ↗), build an "invoice follow-up agent" that reads a list of simulated invoices, identifies the overdue ones and prepares reminder messages. Submit: (1) a table that sets the autonomy level for each action (read, analyse, draft, send) with a justification, (2) an execution loop with a step budget, a stop condition and a checkpoint that allows resuming after an interruption, (3) a Human Approval node before any sending, (4) an audit log that explains each decision and its reason. Acceptance criteria: no reminder is sent without approval, the loop stops when the budget is exceeded with a clear report, and the run can be resumed from the last checkpoint without repeating a message.
Completion criteria: the module counts as complete when you finish all its lessons and pass its quiz.
Official references
- Building effective agents (Anthropic, 2024) www.anthropic.com Reviewed on 2026-11-18
- LangGraph overview docs.langchain.com Reviewed on 2026-11-18
- NIST AI Risk Management Framework www.nist.gov Reviewed on 2026-11-18
- WebArena (Zhou et al., 2023) arxiv.org Reviewed on 2026-11-18
