Skip to content

AI, decoded

How much autonomy should you give an AI agent?

As much as the risk of the task allows, and no more. There is no single right answer; you climb the ladder one step at a time and decide at each step whether a human still needs to sign off. Neat's Tormod Ree told Chain of Thought that teams should be more aggressive letting AI coding loose on less dangerous adjacent work and more careful with platform code or DevOps environments.

· Updated · Chain of Thought

Level 2: Using AI well · 2.4 Agents you can use today

AI AgentsAI Coding

  • 3 episodes
  • 4 guest clips
  • 4 glossary terms
A large number 5 beside five rising steps, the last one highlighted, with a checkpoint post on the fourth, and the words: 5 rungs. Where does the human sign off?

In detail

Aishwarya Srinivasan frames it through a coding copilot: do you let it write the code, review it, write the unit tests, push and merge? Walk those steps as a ladder; where each checkpoint belongs depends, she says, on your risk and compliance.

1. Write the code

The lowest-stakes rung. The agent drafts, you do everything else. Usually a safe handoff when a human reviews the result.

2. Review the code

Now it is checking work, not just producing it. Useful, and still low risk, because a human is downstream.

3. Write the tests

The agent decides what “correct” looks like. A bit more trust, because bad tests can hide real bugs.

4. Push the code

It is now taking an action with consequences outside its own sandbox. Depending on the risk, this is a natural place for a human checkpoint.

5. Merge to main

Full autonomy. With no approval step, the agent ships to the shared codebase with no one in between. Aishwarya’s warning: if you automate this entire chain and something breaks, you need to be able to trace back through every step to find where and why. Without logging and checkpoints along the way, she says, that becomes extremely hard.

If you do want a person at this rung, the tooling already exists. GitHub’s branch protection rules can require a set number of approving reviews and passing status checks before anything merges into a protected branch, and those rules apply to an agent’s pull requests the same as a person’s.

The same ladder, in general terms

The coding ladder is one instance of a general framework. In Levels of Autonomy for AI Agents, K. J. Kevin Feng, David McDonald and Amy Zhang define five levels by the role the person plays: operator, collaborator, consultant, approver and observer. They argue that autonomy is a design choice separate from how capable the agent is, so a very capable agent can still be deliberately run at a low level. Their levels don’t map one-to-one onto the rungs above, because they are defined by how the person interacts with the agent, not by which tasks it may do. The useful idea for the ladder is that separation: decide the person’s role at each rung on purpose instead of letting it follow from what the agent can do. Human in the loop vs. human on the loop covers the oversight side of that last step.

Why it matters

The autonomy question is not “how smart is the agent.” It is “how much does it cost if this step is wrong.” High-risk or regulated work earns a human in the loop. Low-risk work may not. Put the checkpoints where the risk is.

How much autonomy to give an AI agent: a five-step ladder for a coding copilot A staircase of five steps for a coding copilot, rising left to right: write the code, review the code, write the tests, push the code, merge to main. A line above it rises with each step: how much it costs if this step is wrong. The first steps are low risk because a human is downstream; pushing may be a natural place for a human checkpoint, depending on the risk; merging to main with no approval step is full autonomy with no one in between. A dashed arrow runs back down from merge through every step: if it breaks, you need to trace back where and why, which needs logging and checkpoints along the way. Aishwarya Srinivasan, episode 42: the level of autonomy is very subjective to the level of risk you have and the scrutiny or compliance you build under. Climb one rung at a time A coding copilot, step by step. At each rung, ask what it costs if this step is wrong. cost if wrong: judge it for your use case “Should I also let it push the code and like merge the code for me?” Aishwarya Srinivasan, episode 42 1 2 3 4 5 Write the code Review the code Write the tests Push the code Merge to main drafts; you do the rest a human is still downstream decides what “correct” is; bad tests hide bugs acts outside its sandbox no approval step: no one in between human checkpoint? depends on your risk If it breaks: trace back where and why, step by step Without logs and checkpoints along the way, Aishwarya Srinivasan (episode 42) says that becomes extremely hard. Put checkpoints where the risk is.
Put checkpoints where the risk is. The five activities come from Aishwarya Srinivasan’s coding-copilot example in episode 42; ordering them as a ladder and the risk notes are this page’s reading. Download the image

Hear it from the guest

“Do we let it write the code for me? Should I let it also review the code for me? Should I also let it write unit tests for me? Should I also let it push the code and like merge the code for me?”
Aishwarya Srinivasan, Fireworks AI EP 42 · around 15:41 · read the transcript
“The level of autonomy versus the level of human intervention that you want to have in any particular system is very subjective to what's the level of risk that you have, what is the level of scrutiny or compliance that you're building that under.”
Aishwarya Srinivasan, Fireworks AI EP 42 · around 16:40 · read the transcript
“The goal is defined and identified by the human and the means are delegated to the agent.”
“You're going to want to be more aggressive with sort of the adjacent stuff that's less dangerous and you're going to want to be a bit more careful with like your platform code or your DevOps environments”
Watch on YouTube

Quotes lightly edited to remove filler words.

From the conversation

This explainer is drawn from these episodes — each carries its full transcript.

Concepts in this explainer

AI CopilotAI AgentHuman in the LoopUnit Test