AIHero

    Tools & Environment

    Permission request

    What the harness shows the user before executing a tool call that isn't pre-approved. The mechanism for putting a human in the loop.

    Matt Pocock
    Matt Pocock

    What the harness shows the user before executing a tool call that isn't pre-approved. The model produces a tool call; instead of running it immediately, the harness pauses and asks. Approve and it runs; deny and the harness reports the denial back to the model as a tool result. The mechanism by which a harness puts a human in the loop for risky or sensitive actions.

    The lifecycle of a permission request:

    StepWhoWhat happens
    1ModelProduces a tool call
    2HarnessChecks it against the permission mode and any saved approvals
    3HarnessPre-approved: executes immediately. Otherwise: pauses and shows the request
    4UserApproves once, approves for the rest of the session, or denies
    5HarnessExecutes the call, or sends the denial back as a tool result

    Denying a request steers the agent. The model reads the denial like any other tool result and reacts to it — it tries a different approach, or asks what you'd prefer. Most harnesses let you attach a message to the denial, which turns the request into a steering point: "not like that, use the migration script instead" lands exactly when the model is deciding what to do next.

    The cost is that every request is a synchronous wait on you. The agent sits blocked until you answer, which is fine while you're watching and a problem when you're not — an agent that triggers requests constantly can't be left to work AFK. The permission mode is the dial: which calls run freely, which ask first, ideally with a sandbox making it safe to widen the free set.

    Usage:

    "It's been blocked on a permission request for ten minutes — I was in a meeting."

    "That's the cost of human-in-the-loop. Pre-approve the safe tools so the request only fires on the actually-risky calls."

    Want more than vocabulary?

    Join AI Hero for practical skills, thinking on AI engineering, and resources that keep you ahead of the curve.

    I respect your privacy. Unsubscribe at any time.

    Share