Human-in-the-Loop
Your AI Agent can do real work on your behalf — send emails, update your CRM, scrape websites, call APIs, run batches across hundreds of rows. The more your AI Agent does, the more you want to stay in control of what it does.
Human-in-the-Loop is how you stay in control. It lets your AI Agent pause mid-conversation, show you what it is about to do (or ask you something), and wait for your decision before continuing.
Think of it as a manager reviewing an employee's work before it goes out. Your AI Agent prepares the action, shows it to you, and waits for a green light.
Two ways your AI Agent can pause
There are two moments when a human enters the loop:
1. Before a tool runs — approval. You mark a tool as "needs approval". When your AI Agent wants to use that tool, it stops, shows you the exact inputs, and waits. You click Approve and the tool runs, or Dismiss and it does not. Good for anything that writes, updates, sends, or deletes.
2. In the middle of a tool — asking you a question. Some tools are designed to ask. The Ask User Questions tool lets your AI Agent send you a question — single choice, multi-choice, or free text — and wait for your answer before continuing. Good when the AI Agent needs clarification or a decision from you.
Either way, the conversation does not get stuck. Your AI Agent parks itself, waits, and resumes the moment you act.
What a human task actually is
Every time your AI Agent uses a tool, calls another AI Agent, or runs a batch, Cubeo AI creates a task behind the scenes. Most tasks run and finish in seconds and you never notice them. A task becomes a human task when it pauses and waits for you.
You can resolve a human task:
- In chat — as an approval or questions card inside the conversation.
- From the Dashboard — in the Pending Approvals view, which collects every pending task across all your AI Agents.
Where to start
📄️ Your first human task
Build an AI Agent that creates HubSpot contacts — and have it pause for your approval before every write.
📄️ How tool approval works
The mental model behind Human-in-the-Loop — why your AI Agent pauses, how cascade resume works, and what happens in AI Teams.
📄️ Enable Tool Approval
Require your AI Agent to pause and ask for your approval before running a specific tool.
📄️ Approve in chat
What the approval card looks like in a conversation, and how to approve or dismiss a pending tool call.
📄️ Answer AI Agent questions
How to answer when your AI Agent uses the Ask User Questions tool — wizard-style, one question at a time.
📄️ Subagent approvals
Handle approvals in AI Teams — when one AI Agent calls another, and the inner one wants to use a tool that needs your OK.
📄️ Troubleshoot stuck tasks
A task looks stuck — here's how to work out what's blocking it and get your AI Agent moving again.
📄️ Task statuses
Every status a task can be in, what it means, and what causes the next transition.
Common scenarios
- CRM writes with HubSpot. Your AI Agent enriches leads and creates contacts — you approve each one before it lands. Walk through it in Your first human-in-the-loop task.
- Email-sending AI Agents. Your AI Agent drafts outbound emails; you approve the exact text and recipient before it sends.
- AI Teams with one sensitive subagent. One AI Agent does research (no approval), another updates the CRM (approval on). You only review the CRM actions. See Subagent approvals.
- Ask-first workflows. Your AI Agent uses the Ask User Questions tool to confirm intent before taking an action. See Answer AI Agent questions.
Related
- Dashboard overview — where to see and act on everything pending.
- Task statuses — every status your task can be in, and what each one means.
- How tool approval works — the mental model behind pausing, cascades, and subagents.