Definitions

How computers for agents work, from the hardware to the sandbox.

Definitionsh

Human-in-the-loop

Human-in-the-loop is a design in which a person reviews, approves, or corrects the actions of an AI system before or while they take effect.

Human-in-the-loop describes a system in which a person takes part in its decisions. In AI agents, the agent stops at certain points and waits for a person to approve, change, or reject its next action. The person can also correct the agent or give it more information. The term also applies to training, where people label data or rate model outputs.

Agents usually ask for approval before actions that are hard to undo or that affect other people. Examples are deleting data, spending money, sending messages, and deploying code. The harness decides which actions need approval, often through rules or permission settings. A person can approve one action at a time, or allow a class of actions for the rest of a session.

Every approval slows the agent down, so systems try to ask only when the risk is real. A sandbox lowers the risk of many actions, because their effects stay inside an isolated environment that can be deleted. This lets an agent run commands and edit files freely inside the sandbox. Approval is then needed mainly for actions that leave the sandbox, such as network calls to production systems.