Module 8 · Lesson 1 · 13 min read

What is autonomy in intelligent agents?

What Is Agent Autonomy?

Introduction

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 the code to the agent, distinguish it from fixed automation, and build a small loop for an agent that plans and evaluates itself within a budget.

Learning objectives

  • Define autonomy as the number of decisions the agent makes without human permission
  • Distinguish between fixed automation, workflows and autonomous agents
  • Apply the four questions (goal, plan, action, stopping) to estimate the degree of autonomy
  • Explain the cost of autonomy and the principle of the least sufficient autonomy

Definition of autonomy

Autonomy in the context of agents is the number of decisions the agent makes by itself, without asking a human for permission, while pursuing a goal. An autonomous agent does not just carry out pre-written steps; it decides: what is the next step? Which tool should it use? Did the attempt succeed? And when should it stop?

Anthropic's article "Building effective agents" (2024) distinguishes between two kinds of systems: workflows, in which models and tools are orchestrated through paths pre-written in code, and agents, in which the model directs its own processes and tool use dynamically and keeps control over how the task is accomplished. So autonomy is not a property that is either present or absent; it grows as the decision moves from the code to the model.

Automation is not autonomy

A script that sends a report every morning may seem "autonomous" because it runs on its own, but it is really fixed automation: every step is set in advance, and it makes no decisions. Compare:

AspectFixed automationAutonomous agent
Defining the stepsWritten in the codeChosen by the agent according to the situation
Handling surprisesFails or ignores themReplans or tries another tool
Stop conditionThe end of the scriptThe goal is met, the budget runs out, or it escalates
PredictabilityVery highLower, and needs monitoring

Four questions that reveal the degree of autonomy

To judge an agent, ask who owns the decision at each point of the loop:

  1. Goal: does the user define it precisely, or does the agent infer it from a general request?
  2. Plan: are the steps written, or does the agent generate and revise them?
  3. Action: does the agent run the tools directly, or does it propose and wait for approval?
  4. Evaluation and stopping: who decides that the task is finished or has failed?
AgentAgent + goalPerceptionPerceivePlanningPlan / ReasonExecutionAct (Tools)ObservationObserve
The agent loop: it perceives, then plans, then executes, then observes the result, and repeats until the goal is achieved or a step limit is reached.

The more of these questions the agent answers by itself, the greater its autonomy, and the greater the need for controls.

A practical example: a study planner agent

The scenario: a student says "Prepare a study timetable for this week's exams." The autonomous agent reads the exam dates, estimates the size of each subject, distributes the hours, then checks that the timetable does not exceed six hours a day, and if it does, redistributes them. Notice that the agent evaluates its own result and decides when to stop, but within a set budget:

python
# A mini autonomous agent loop: goal + self-evaluation + budget - standard Python
exams = {"Algorithms": 4, "Databases": 3, "Networks": 2}   # subject name: number of days remaining
hours_needed = {"Algorithms": 8, "Databases": 6, "Networks": 4}
MAX_PER_DAY, BUDGET = 6, 5

def plan(spread):
    table = {}
    for subject, days in exams.items():
        use = min(days, spread)                 # the number of days used to spread the subject
        for d in range(1, use + 1):
            table[d] = table.get(d, 0) + hours_needed[subject] / use
    return table

def goal_met(table):
    return all(h <= MAX_PER_DAY for h in table.values())

spread = 1
for step in range(1, BUDGET + 1):              # the agent decides, evaluates and retries
    table = plan(spread)
    print("Attempt", step, {d: round(h, 1) for d, h in sorted(table.items())})
    if goal_met(table):
        print("Goal met: no day exceeds", MAX_PER_DAY, "hours")
        break
    spread += 1                                 # revising the plan based on the evaluation
else:
    print("Budget exhausted: escalating to the student to adjust the goals")

Try running it: in the first attempts the hours pile up on the first day, so the agent spreads them over more days until the condition is met. And if the requirements were impossible, it would not go round endlessly; it would stop at the budget and escalate to the human.

Why don't we make everything autonomous?

Autonomy gives flexibility in open tasks whose steps cannot be predicted, but it comes at a price: higher cost because the loop may repeat, longer time, errors that may accumulate from one step to the next, and greater difficulty in predicting and testing. So the golden rule in this module is: give the agent the least autonomy that is enough to accomplish the task, and expand it only when monitoring shows it deserves trust.

Summary

Autonomy is the number of decisions the agent makes by itself while pursuing a goal, and it grows as the decision moves from the code to the model. Fixed automation is not autonomy because it makes no decisions. We estimate the degree of autonomy by asking who owns the goal, the plan, the action and the stopping. And since autonomy is costly and less predictable, we give the agent the least of it that is enough for the task.

Terms

TermEnglishDefinition
AutonomyAutonomyThe number of decisions the agent makes without human permission
Fixed automationAutomationCarrying out predefined steps without making decisions
WorkflowWorkflowOrchestrating models and tools through paths pre-written in code
Step budgetStep BudgetA maximum number of loop cycles before stopping or escalating
EscalationEscalationReferring the decision to a human when unable or in doubt

Review questions

  1. What is the difference between a scheduled script and an autonomous agent?
  2. What are the four questions that reveal an agent's degree of autonomy?
  3. Why does an autonomous agent need a budget and an escalation condition even if its goal is simple?
  4. Name two costs of autonomy that justify the principle of the least sufficient autonomy.

References