{"course":{"slug":"ai-actually-explained","title":"AI, Actually Explained","url":"https://addaly.com/learn/ai-actually-explained","level":"beginner","track":"start"},"lesson":{"slug":"when-it-starts-to-act","title":"When it starts to act","url":"https://addaly.com/learn/ai-actually-explained/when-it-starts-to-act","position":69,"of":92,"minutes":10,"answer":"An agent uses tools in a loop. Errors can compound, so measure whole-task success, limit access and confirm consequential actions before they occur.","keyIdea":"An agent uses tools in a loop. Errors can compound, so measure whole-task success, limit access and confirm consequential actions before they occur."},"body":{"format":"markdown","text":"## From answering to doing\n\nAn assistant can make a calculation, search a source or draft a form. Some products can also submit the form or send an email. A system that observes, proposes an action, executes it using an allowed tool and observes the result again is often called an agent. The capability to change an external system creates different risks from text suggestions alone.\n\n## What the loop is\n\nIn a common design, a model proposes the name and parameters of a tool. The surrounding program checks the request against policy, invokes the tool if permitted and gives its result back to the model. Not every tool is enabled for every user or job.\n\nFor instance, an assistant might search a catalogue, inspect its results, discard an irrelevant page and draft a comparison. When it asks to submit or share something, the application should check authority and show the concrete effect before proceeding. The model's request alone does not grant permission.\n\n## Errors compound\n\nConsider a simplified example with independent steps: at 95 percent success per step, a twenty-step task succeeds end to end with probability 0.95²⁰, about 36 percent. At 99 percent per step, a hundred steps give about 37 percent. Real workflows can have correlated errors, checks, retries and recovery, so this illustration is not an empirical forecast for every agent. Measure complete-task performance and the consequences of failure.\n\n> Figure: Illustration: independent per-step success compounds. Line chart of Chance the whole task is right, % against Steps in the task: 95% right per step (1, 95) (5, 77) (10, 60) (20, 36) (50, 8); 99% right per step (1, 99) (5, 95) (10, 90) (20, 82) (50, 61) (100, 37). An invented independent-step example: 0.95²⁰ ≈ 36% and 0.99¹⁰⁰ ≈ 37%. The plotted values illustrate that assumption. Real agents have correlated errors, checks, retries and recovery; measure whole-task performance instead of reading these curves as observed deployment results.\n\nA wrong turn at step four can change what an agent sees at step five. Some systems notice and recover; others continue without detecting the problem. Put checkpoints where a wrong assumption could materially change later actions, and give the workflow a clear way to stop when the evidence is insufficient.\n\n## Some actions cannot be undone\n\nA mistaken search can often be run again. A sent email, deleted record, published document or payment may have lasting effects. Before enabling any such action, test the workflow on disposable data, choose the account and scope deliberately, inspect the actual proposed change, and ensure that the person approving it understands its consequences. Backups and undo controls are useful only when they cover the operation in question.\n\n## The orders come from the page\n\nA web page, email or retrieved file can contain instructions that conflict with the user's task. An attacker may plant such instructions to make an agent change a recommendation, disclose information or take an unauthorised action. Read external content as evidence, not as authority: it cannot authorise a disclosure, a purchase or a change to a record. Separate the user's approved instruction from what the model reads, limit the tools the workflow can use and confirm consequential actions on a trusted screen.\n\n## Benchmarks\n\n[WebArena, a benchmark of realistic web tasks first released in 2023](https://arxiv.org/abs/2307.13854), found a large gap between agents and people: its best GPT-4 agent completed about 14 percent of tasks end to end, against about 78 percent for people doing the same tasks. An agent benchmark measures tasks under a specified model version, test environment, tool set and retry policy, and later results sometimes use different task sets or evaluation rules. Compare results only on the same benchmark, task scope and success definition. In your workflow, record success from the actual resulting state, including attempts, checks and recovery, rather than extrapolating from a demonstration or from per-step fluency.\n\n## The rule\n\nLet an assistant search the sources it is authorised to read, compare them and draft a proposal. Give it the narrowest access the task requires. Before sending, paying, deleting, publishing or signing, show the recipient, amount, scope or final version and obtain the appropriate approval.\n\nKeep a record of changes and verify the resulting state. A local or open-source tool can help with inspection, but being local does not guarantee every action is logged or reversible. Check the actual permissions, boundaries and logs before relying on them."},"check":{"question":"In an illustrative twenty-step task, each step independently succeeds with probability 95 per cent. How often are all twenty correct?","options":[{"text":"About 95 per cent of the time, since each step is 95 per cent reliable.","correct":false,"tempting":"Treats per-step reliability as task reliability; the errors multiply across steps."},{"text":"About 36 times in a hundred under that independence assumption.","correct":true},{"text":"About 5 per cent of the time, because any single error ruins the task and there are twenty chances.","correct":false,"tempting":"The probability of any failure is one minus the probability that all twenty succeed."},{"text":"Nearly always, because an agent notices when a step has gone wrong and retries it.","correct":false,"tempting":"Retries and recovery may matter in real systems but are not in this illustrative setup."}]},"prev":{"slug":"the-assistant-inside-your-apps","title":"The assistant inside your email and spreadsheet","url":"https://addaly.com/learn/ai-actually-explained/the-assistant-inside-your-apps"},"next":{"slug":"the-things-to-never-hand-it","title":"What not to hand it","url":"https://addaly.com/learn/ai-actually-explained/the-things-to-never-hand-it"},"authorship":"Founder and series editor: Dr Mustafa Mun. Written by AI models to a written standard. Source and assessment review continues. Academic review invited.","review":{"status":"Draft, open for academic review"},"cite":"Addaly (2026) 'When it starts to act', in AI, Actually Explained. Edited by M. Mun. Addaly. Available at: https://addaly.com/learn/ai-actually-explained/when-it-starts-to-act (Accessed: 29 November 2026).","licence":{"name":"CC BY-NC-SA 4.0","url":"https://creativecommons.org/licenses/by-nc-sa/4.0/"},"reader":{"schema":1,"title":"When it starts to act","courseTitle":"AI, Actually Explained","module":{"index":7,"slug":"putting-it-to-work","title":"Putting it to work without getting burned"},"answer":null,"keyIdea":"An agent uses tools in a loop. Errors can compound, so measure whole-task success, limit access and confirm consequential actions before they occur.","hero":{"kind":"figure","figure":{"t":"figure","label":"Figure","figure":{"type":"line","title":"Illustration: independent per-step success compounds","caption":"An invented independent-step example: 0.95²⁰ ≈ 36% and 0.99¹⁰⁰ ≈ 37%. The plotted values illustrate that assumption. Real agents have correlated errors, checks, retries and recovery; measure whole-task performance instead of reading these curves as observed deployment results.","xLabel":"Steps in the task","yLabel":"Chance the whole task is right, %","series":[{"label":"95% right per step","points":[[1,95],[5,77],[10,60],[20,36],[50,8]]},{"label":"99% right per step","points":[[1,99],[5,95],[10,90],[20,82],[50,61],[100,37]]}]},"alt":"Figure: Illustration: independent per-step success compounds. Line chart of Chance the whole task is right, % against Steps in the task: 95% right per step (1, 95) (5, 77) (10, 60) (20, 36) (50, 8); 99% right per step (1, 99) (5, 95) (10, 90) (20, 82) (50, 61) (100, 37). An invented independent-step example: 0.95²⁰ ≈ 36% and 0.99¹⁰⁰ ≈ 37%. The plotted values illustrate that assumption. Real agents have correlated errors, checks, retries and recovery; measure whole-task performance instead of reading these curves as observed deployment results."}},"blocks":[{"t":"h2","id":"from-answering-to-doing","runs":[{"text":"From answering to doing"}]},{"t":"p","runs":[{"text":"An assistant can make a calculation, search a source or draft a form. Some products can also submit the form or send an email. A system that observes, proposes an action, executes it using an allowed tool and observes the result again is often called an agent. The capability to change an external system creates different risks from text suggestions alone."}]},{"t":"h2","id":"what-the-loop-is","runs":[{"text":"What the loop is"}]},{"t":"p","runs":[{"text":"In a common design, a model proposes the name and parameters of a tool. The surrounding program checks the request against policy, invokes the tool if permitted and gives its result back to the model. Not every tool is enabled for every user or job."}]},{"t":"p","runs":[{"text":"For instance, an assistant might search a catalogue, inspect its results, discard an irrelevant page and draft a comparison. When it asks to submit or share something, the application should check authority and show the concrete effect before proceeding. The model’s request alone does not grant permission."}]},{"t":"h2","id":"errors-compound","runs":[{"text":"Errors compound"}]},{"t":"p","runs":[{"text":"Consider a simplified example with independent steps: at 95 percent success per step, a twenty-step task succeeds end to end with probability 0.95²⁰, about 36 percent. At 99 percent per step, a hundred steps give about 37 percent. Real workflows can have correlated errors, checks, retries and recovery, so this illustration is not an empirical forecast for every agent. Measure complete-task performance and the consequences of failure."}]},{"t":"p","runs":[{"text":"A wrong turn at step four can change what an agent sees at step five. Some systems notice and recover; others continue without detecting the problem. Put checkpoints where a wrong assumption could materially change later actions, and give the workflow a clear way to stop when the evidence is insufficient."}]},{"t":"h2","id":"some-actions-cannot-be-undone","runs":[{"text":"Some actions cannot be undone"}]},{"t":"p","runs":[{"text":"A mistaken search can often be run again. A sent email, deleted record, published document or payment may have lasting effects. Before enabling any such action, test the workflow on disposable data, choose the account and scope deliberately, inspect the actual proposed change, and ensure that the person approving it understands its consequences. Backups and undo controls are useful only when they cover the operation in question."}]},{"t":"h2","id":"the-orders-come-from-the-page","runs":[{"text":"The orders come from the page"}]},{"t":"p","runs":[{"text":"A web page, email or retrieved file can contain instructions that conflict with the user’s task. An attacker may plant such instructions to make an agent change a recommendation, disclose information or take an unauthorised action. Read external content as evidence, not as authority: it cannot authorise a disclosure, a purchase or a change to a record. Separate the user’s approved instruction from what the model reads, limit the tools the workflow can use and confirm consequential actions on a trusted screen."}]},{"t":"h2","id":"benchmarks","runs":[{"text":"Benchmarks"}]},{"t":"p","runs":[{"text":"WebArena, a benchmark of realistic web tasks first released in 2023","href":"https://arxiv.org/abs/2307.13854"},{"text":", found a large gap between agents and people: its best GPT-4 agent completed about 14 percent of tasks end to end, against about 78 percent for people doing the same tasks. An agent benchmark measures tasks under a specified model version, test environment, tool set and retry policy, and later results sometimes use different task sets or evaluation rules. Compare results only on the same benchmark, task scope and success definition. In your workflow, record success from the actual resulting state, including attempts, checks and recovery, rather than extrapolating from a demonstration or from per-step fluency."}]},{"t":"h2","id":"the-rule","runs":[{"text":"The rule"}]},{"t":"p","runs":[{"text":"Let an assistant search the sources it is authorised to read, compare them and draft a proposal. Give it the narrowest access the task requires. Before sending, paying, deleting, publishing or signing, show the recipient, amount, scope or final version and obtain the appropriate approval."}]},{"t":"p","runs":[{"text":"Keep a record of changes and verify the resulting state. A local or open-source tool can help with inspection, but being local does not guarantee every action is logged or reversible. Check the actual permissions, boundaries and logs before relying on them."}]}],"check":{"question":[{"text":"In an illustrative twenty-step task, each step independently succeeds with probability 95 per cent. How often are all twenty correct?"}],"options":[{"text":[{"text":"About 95 per cent of the time, since each step is 95 per cent reliable."}],"correct":false,"tempting":[{"text":"Treats per-step reliability as task reliability; the errors multiply across steps."}]},{"text":[{"text":"About 36 times in a hundred under that independence assumption."}],"correct":true,"tempting":null},{"text":[{"text":"About 5 per cent of the time, because any single error ruins the task and there are twenty chances."}],"correct":false,"tempting":[{"text":"The probability of any failure is one minus the probability that all twenty succeed."}]},{"text":[{"text":"Nearly always, because an agent notices when a step has gone wrong and retries it."}],"correct":false,"tempting":[{"text":"Retries and recovery may matter in real systems but are not in this illustrative setup."}]}],"order":[2,3,1,0],"why":null},"prev":{"slug":"the-assistant-inside-your-apps","title":"The assistant inside your email and spreadsheet","minutes":9},"next":{"slug":"the-things-to-never-hand-it","title":"What not to hand it","minutes":9}}}