Updated · Markdown

Keep a human in the loop for AI agents, and stop destructive actions

Updated 2026-11-29. Written by the team that builds Tex, so weigh it accordingly.

Short answer: decide which actions need a person before they happen, and enforce that outside the model. An instruction such as "always ask before merging" is a request a model can misread or be talked out of. A held tool call, where the platform stops the call until a person allows it, is not. Then let the agent ask questions when it lacks a fact, and make waiting cheap so it doesn't guess.

Four kinds of human involvement

Kind Who starts it What waits
Approval of an action (merge, delete, refund, send to a customer) The platform, holding the tool call That action
A question (a fact the agent lacks) The agent Its conclusion
A review of a finding or a run The agent or its definition Nothing
A correction after the fact The person Nothing

Only approvals can't be argued away by a model, so they are the ones to enforce.

How Tex does it

Questions people ask

Which actions should need approval? Anything hard to undo or seen by outsiders: merges to main, deletes, payments and refunds, emails or posts to customers, production changes.

Can a prompt injection get past an approval? A held call waits at Tex's tool forwarder, outside the sandbox and the model. The agent can ask for the call, but only a person can allow it.

What does waiting cost? Nothing. The session parks between turns, and its microVM idles out two minutes after its last turn.

What Tex doesn't do

Try Tex with $10 of free credit