Decide what AI should and should not do
With that system in view, the next question is how much of the delivery path an agent may own.
Match autonomy to risk and verification cost
Give an agent too little authority and it becomes expensive autocomplete. Give it too much and it can produce a large change that nobody can review with confidence. A useful autonomy model sits between those extremes and changes with the risk of the task.
Start by grouping work according to risk and verification cost.
Typical risk
Low
Agent’s role
Explore, draft, or make a narrow change; run available checks
Human involvement
Review the output as needed
Medium
Agent’s role
Prepare a product change and its evidence
Human involvement
Approve scope and acceptance policy; review exceptions and verify runtime behavior where relevant
High
Agent’s role
Investigate, plan, or draft
Human involvement
Approve and control the consequential action
Low-risk work has a narrow scope and is quick to check. Examples include:
- Repository exploration and local analysis
- Documentation drafts
- Repetitive refactoring and test scaffolding
Agents can work with limited supervision when changes stay in the working tree and automated checks can catch mistakes.
Medium-risk work changes product code and can be reversed. Examples include:
- Feature implementation and bug fixes
- Test generation
- Dependency updates
A person approves the task and operating policy. The agent prepares the change, runs checks, and explains its decisions. Review early runs directly; proven workflows may accept bounded changes through enforced gates. Anything outside the approved policy needs a human decision.
If runtime behavior can change, verify it on a device or through an end-to-end flow. A passing build alone cannot show that the app starts or behaves correctly.
High-risk work involves:
- Production systems and customer data
- Credentials and signing
- Financial operations and security policy
- Irreversible infrastructure changes
Agents can investigate and prepare plans or draft changes. People retain control of critical execution and explicitly approve those actions.
How easily you can check the result also determines how much work you can delegate. An agent can work more independently when the requirements are clear and automated tests can verify the change. A visual feature with unclear acceptance criteria needs closer review. Native code and app lifecycle changes also need broader checks, since unit tests alone cannot verify their behavior.
Write the boundaries down
Before AI reaches further into delivery, agree on the boundaries that carry real risk:
- Data and systems the agent may access
- Data and systems it must not access, including production databases, personal data, and secrets
- Actions that require explicit approval
- Stop conditions for repeated failures, loops, or unexpectedly high token, build, or spending cost
A baseline like this covers most work. Add task-specific rules when a task departs from it; trying to prescribe every harmless action creates noise that hides the limits people need to notice.
Apply the same thinking to model context. Anything sent to a model has crossed that processing boundary. If the team would not knowingly disclose the data there, the agent should not receive it.
Then watch the first runs. Written boundaries cannot stop an agent that keeps retrying the same failed idea or reaches for a tool it should never have had. Unbounded runs tend to produce stranger code while consuming more tokens and external resources. It is far better to discover a missing stop condition during a supervised task than through an unexpected bill or a damaged shared system.