1. A person asks a question
  2. The system searches the documents and picks the best passages
  3. The passages and the question go to the model together
  4. The model answers from them, and can point to its sources
Retrieval-augmented generation, step by step.
  1. L0The person does everything.
  2. L1The system suggests, and the person does it.
  3. L2The system drafts, and the person approves each action.
  4. L3The system acts, and the person reviews and can step in.
  5. L4The system acts alone.
One way to draw the steps. Real scales put the lines in different places.

Human in the loop

  1. The system proposes an action
  2. A person approves, corrects or rejects it
  3. Only then does it act

Human on the loop

  1. The system acts
  2. A person watches the outcomes
  3. The person can step in or correct
Where the person sits.
09:14:02  refund-agent  lookup_order    allowed  order 1042
09:14:03  refund-agent  create_refund   held     needs approval
09:15:40  a.reyes       approve         accepted refund 1042
09:15:41  refund-agent  create_refund   allowed  refund 1042 sent
An invented example. Each line is added, and none is ever changed.
PersonWords inWords outModel(LLM)

The dot is a message: the person’s words going to the model, and the model’s words coming back.

  1. Words go in: the person asks a question.
  2. The model works out a reply.
  3. Words come back. Nothing outside the conversation has changed.
GoalResult orquestionModelPlanActCheckAgent loop, repeats until done

The dot is the task: the goal going to the agent, the agent’s loop of plan, act and check, and the result coming back.

  1. The person hands over a goal.
  2. The agent plans the steps.
  3. It acts, using a tool.
  4. It checks the result, and loops until the work is done.
  5. It comes back with a result, or a question only the person can answer.
AgentMCPCalendarFilesPaymentsOne standard port

The dot is a request: the agent reaching a tool through MCP.

  1. The agent reaches for a tool.
  2. It goes through MCP, one standard port.
  3. MCP connects it only to the tools it has been given: here, a calendar, files and payments.
PersonApp (assistant or copilot)AgentPermissions and logMCP and toolsCheckpoints

The dot is a request going down from the person to the tools. At a checkpoint it comes back up as a question for the person.

  1. A request travels from the person into the app.
  2. The agent picks it up.
  3. Before anything reaches a tool, permissions check it and the log records it.
  4. Only allowed actions reach the tools.
  5. At a checkpoint, the agent comes back to the person to decide.