Skip to content

Bound AI agents by authority and verification

Section titled “Bound AI agents by authority and verification”

An AI agent combines model decisions with tools that can read or change external state. Tool access converts model error from text risk into action risk.

flowchart LR
    Input[Task and context] --> Model[Model decision]
    Model --> Proposal[Proposed tool action]
    Proposal --> Validate[Validate arguments and authority]
    Validate --> Tool[Tool execution]
    Tool --> Verify[Verify result and invariants]
    Verify --> Model

The model can propose an action. Independent controls decide whether the action is allowed and whether its result is acceptable.

Grant the minimum permissions needed for the task. Separate read access from write access when practical. Keep destructive, financial, security-sensitive, or production actions behind stronger controls.

Do not rely on prompt instructions as the only authorization mechanism.

Validate tool arguments before execution and validate tool results before using them as trusted facts. Require explicit checks for invariants that must always hold.

For consequential workflows, bind approval and execution to the same reviewed state so the agent cannot silently act on a changed target.

Agents can search code, draft changes, run tests, and prepare pull requests. Repository checks and human review remain independent evidence.

Do not treat generated code, a passing narrow test, or an agent’s self-review as proof that a change is correct.

Excessive authority increases blast radius. Weak tool schemas allow ambiguous actions. Long autonomous workflows can accumulate stale assumptions or continue after the environment changes.

Use bounded tasks, observable state, deterministic gates, and explicit stop conditions when uncertainty rises.