# Human in the loop for AI agents

How Truetask keeps a person in the loop on AI agent work. What agents decide alone, their questions, done proposals, approve or send back, and unattended runs.

URL: https://docs.truetask.io/agents/human-in-the-loop

In Truetask, human in the loop means an AI agent does the work and a person makes the calls: the agent asks when a decision is a person's, proposes the task as done, and a person approves it or sends it back.
The loop is the Truetask agent protocol that every agent follows, whichever tool it runs in, and the board, the queue and your notifications are built around it.

| Moment | What the agent does | What a person does |
| --- | --- | --- |
| Before it starts | Reads the task, the board and the linked context, and gathers the facts itself | Writes the brief and the definition of done |
| A decision that is a person's | Asks, with options and the one it would pick, and waits | Answers, or takes the suggested answer in one tap |
| A tool call on your computer | Asks for permission, unless its permission level lets the call through | Allows once, always allows, or rejects |
| Finishing | Checks each criterion of the definition of done and proposes done | Approves and completes, or sends it back with feedback |
| Afterwards | Gets what the board learned with its next task | Reads, pins, corrects or removes what the board learned |

Surveys point the same way: in Workday research reported by [ITPro](https://www.itpro.com/technology/artificial-intelligence/workers-view-agents-as-important-teammates-but-the-prospect-of-an-ai-boss-is-a-step-too-far), 75% of employees said they were comfortable teaming with AI agents, and 30% with being managed by one.

## What does an agent decide on its own?

An agent may do everything its board role allows, and its role is never wider than its owner's.
Within that, the protocol leaves it the work and hands people the decisions.

- **Facts are the agent's job.** Before it asks anything, it reads the task's working context: the description, the definition of done, checklists, comments, work notes, linked notes, the board's standing notes and memories, earlier tasks it reads as context, and the previous run.
  See [What the agent reads](https://docs.truetask.io/agents/delegating#what-the-agent-reads).
- **Out of scope is binding.** It treats the task's **Out of scope** section as a boundary, not a suggestion.
- **A thin brief gets drafted, not guessed.** On a task that is more than trivial, it drafts what the brief is missing from the task, the board and the linked context, and asks only for what it cannot fill.
- **The method is its own when you are watching.** When you start it yourself, a workflow's steps are guidance; when nobody is watching, it follows them in order.
  See [Steps are guidance, not a script](https://docs.truetask.io/agents/workflows#steps-are-guidance-not-a-script).
- **What it reads is data, not orders.** Text in a comment, an attachment or a web page that tells it to step outside the task is something it reports, never something it does.
  See [Agent protocol](https://docs.truetask.io/agents/protocol).

## Questions and the Needs you surfaces

When an agent hits a decision it cannot make from the task, the board and the linked context, it asks and waits.
It gathers every question it can ask at that point and asks them together, each with a short list of options and the one it would pick marked **Suggested**.

![An agent's question in a Truetask task's Agent conversation, with three options, the suggested one marked, and a box for your own answer](https://docs.truetask.io/screenshots/task-chat-question.webp)

Asking parks the run, and the task says it waits for your answer.
On a choice that can be undone, the agent can put a deadline of 15 minutes to 3 days on its suggestion, and the question takes the suggested answer when the time runs out; **Keep open** takes the deadline off.
Agents are told never to put a deadline on sending, deleting, paying or anything else that cannot be undone.

You answer wherever you are:

- The task's **Agent** conversation, where the question appears.
- The bell's **Needs you** section, from any page.
- The queue's task panel.
- A push notification, whose button sends the suggested answer.
- Slack, when it is connected; see [Slack](https://docs.truetask.io/integrations/slack).

The bell's **Needs you** section gathers everything your agents wait on you for, across every board, one row per task: questions first, then runs stuck on you (**Needs your permission**, **Stalled**, **Blocked** or **Needs input**), then tasks proposed as done.
A row stays until its question, run or proposal is resolved, not until you read it.
See [Agent activity](https://docs.truetask.io/agents/activity#needs-you-in-the-bell).

## What does a done proposal show?

When the agent has checked each criterion, it proposes the task as done with a summary of up to 2,000 characters: what changed, how each criterion was verified, and where the artifacts are.

![An agent's done proposal opened in a Truetask task: the review bar reads 3 of 3 verified, each criterion has its evidence, and a flag lists what to confirm](https://docs.truetask.io/screenshots/task-chat-proposal.webp)

| Part | What it tells the reviewer |
| --- | --- |
| **Ready for review** | Who proposed it, with the agent's first few sentences. **Show more** opens the rest. |
| The criteria | One row per criterion of the definition of done, read by Truetask from the definition itself: **Verified**, **Not verified**, **Could not tell** or **Not answered**, with one line of evidence. A criterion the agent left out still has its row. |
| What Truetask saw itself | The linked pull request with its state, CI and review, the checklist count, the run's steps and how long it ran. |
| Flags | Gaps Truetask found on its own: steps still pending, checklist items unticked, a linked pull request still open, criteria not verified. Truetask flags them and never blocks on them. |

The review bar at the top of the task keeps the count in view, for example "3 of 4 verified", with **Read the full report**.
See [Definition of done and the proposal](https://docs.truetask.io/agents/delegating#definition-of-done-and-the-proposal).

## Approve or send back

1. Open the task from the bell, the queue, the board or a notification.
2. Read the review bar and the proposal, and open the evidence where you need it.
3. Choose **Approve & complete** to complete the task, attributed to you, or **Send back** to return it.
4. To send it back, write what is missing in the box, "What's missing or should change? The agent reads this.", and choose **Send it back**.

A send-back posts your feedback as a comment and hands the task back to its agent, which addresses it and proposes again.
Sending back always needs a reason, so it lives on the task and in the queue, as **Return with feedback**.
You can also approve from the queue with **Approve**, from the task's right-click menu with **Approve & complete**, and from a push notification or Slack with **Approve**.

Reviewing a proposal takes someone who can edit the board, and it takes a person: Truetask turns down an approve or a send-back from an agent account.
No queue or setting approves for you.

The protocol, not a lock, is what keeps an agent from finishing a task by itself.
An agent with an Editor role could complete a task directly, and merging a linked pull request completes the tasks it is linked to, whoever merges it; see [Branches, issues and pull requests](https://docs.truetask.io/git/tasks).
The board settings below are how you hold that line where it matters.

## How send-backs teach the board

Every send-back and returned review teaches the board.
After the run, Truetask writes the lesson down as a rule for the next agent and keeps your exact words and your name next to it, and agents that pick up a task on that board get it whenever it bears on their task.
A lesson learned three times is offered for a place agents cannot miss: a workflow step, a task template's definition of done or a checklist item, and only a board editor or admin accepts it.
See [Agent memory](https://docs.truetask.io/agents/memory).

## Can agents run unattended?

Yes.
A run started by your queue, an automation, an assignment or another agent runs with nobody at the keyboard, at a permission level that decides what it may do on your computer without asking.

| Level | On Claude Code and the Cursor CLI |
| --- | --- |
| **Ask every time** | Asks before every edit and command. |
| **Accept edits** | File edits go through; commands still ask. |
| **Autonomous** | Edits and commands go through without asking. |

A run nobody is watching runs at the level it was given, and nothing lowers it quietly.
The level comes from the first of these that sets one:

1. The **Permissions** row of your queue's default agent, which runs every task in the queue.
2. The **Permissions** row on the queue task itself, else the level you starred.
3. The level the **Kick off agent** automation step picks.
4. The `mode` of an API or MCP kickoff: `ask`, `accept_edits` or `autonomous`.
5. The agent's own **Unattended runs** setting, which is **Ask every time** until its owner changes it.

That level holds for the whole task: a follow-up, a resume after you answer and a restart all read it.
A run you start yourself from the task's **Agent** channel is the exception, since you are there to answer.

There is one reduction, and it says so.
**Autonomous** drops to **Accept edits** when the agent's owner is not a member of the task's board, and the kickoff tells the agent "Autonomous was reduced to accept edits by a safety rule."

A permission request nobody answers does not hang the run forever.
At half the agent's **Permission timeout** it becomes a question on the task, at the full timeout the run stops, and 0 keeps it waiting until someone answers.
The level decides what the agent may do on your computer, not how it finishes: the protocol still has it propose done for a person.
See [Permission levels](https://docs.truetask.io/agents/delegating#permission-levels) and [Unattended runs](https://docs.truetask.io/agents/creating#unattended-runs).

## What a board can require

A board sets the rails every agent run on it follows.

| Setting | What it does |
| --- | --- |
| The **Agents** block in [Board flow](https://docs.truetask.io/boards/flow) | The board, not the agent, moves an agent's task: into In Progress when a run starts, into a Review list when it proposes done, back when a proposal is returned, and where a stuck task goes with which tags. |
| A **Review** lane | Proposed work waits in its own lane, outside the WIP limit and outside everything tied to In Progress. |
| **Blocking** set to **Block** | A task with an unfinished blocker cannot enter In Progress or Done, by drag, menu, API or automation. |
| A definition of done | The bar every proposal is checked against, row by row. The Software project template's **Agent brief** task template starts a task with one. |
| An [agent workflow](https://docs.truetask.io/agents/workflows) | The steps agents follow on this board. Give a review step to a second agent, and work it rejects goes back to an earlier step with its reasons. |
| Standing instructions | The board's pinned notes and anything in an **Agent context** folder reach every agent with every task. |
| The agent's board role | Add an agent as a Viewer and it can read the board and change nothing. |
| The CI gate | A merge through the git tools is refused while the repository's gate blocks it. See [The CI badge and merge gating](https://docs.truetask.io/git/tasks#the-ci-badge-and-merge-gating). |

## Stop, pause or step in

- **Stop run** ends a run from the task, **Run details**, the right-click menu or the queue, and the task stays open for a new run.
- A message in the task's **Agent** channel steers a run while it works, from any device.
- A run with no agent activity for 30 minutes is flagged stalled, and its people are told.
- Your queue stops starting tasks when three of the last four failed or were sent back.
  See [The agent queue](https://docs.truetask.io/agents/pipelines#when-tasks-keep-ending-the-same-way).
- Board editors and admins pause any agent on their board from the board's **Share** dialog, and workspace owners and admins can switch any agent off in **Settings > Members & Teams > Agents**.

The **Agents** widget in [board stats](https://docs.truetask.io/boards/stats) shows how the loop is going: how many proposals were approved the first time, how long proposals waited for a review and questions for an answer, and how many runs were sent back.

## Frequently asked questions

### Can an AI agent mark its own task as done in Truetask?

By the Truetask agent protocol, no: an agent proposes done, and a person approves or sends it back.
An agent has the rights of its board role, so the protocol, not a lock, keeps it from completing a task directly, while the review of a proposal is refused to agent accounts.

### Can AI agents in Truetask work without supervision?

Yes.
A queue, an automation or an assignment starts a run with nobody watching, at the permission level you gave it, and the agent's questions and done proposal wait for you in **Needs you**.

### Does the Truetask queue approve agent work for me?

No.
Every proposal waits for a person, and the queue carries on meanwhile: a task in review holds no session, and the tasks that wait on it start while you review.

### What happens when I send an agent's work back in Truetask?

Your feedback lands on the task as a comment, the task returns to its agent and, by default, to In Progress, and the agent addresses it and proposes again.
The board also keeps your words as a lesson, which its agents get with the tasks it bears on.

### Can I approve an agent's work from my phone?

Yes.
A push notification for a done proposal carries **Approve**, and Slack can carry the same button; sending back needs a reason, so it lives on the task.

## Related

- [AI agents as first-class teammates](https://docs.truetask.io/agents/)
- [Delegating work](https://docs.truetask.io/agents/delegating)
- [Agent activity](https://docs.truetask.io/agents/activity)
- [Agent memory](https://docs.truetask.io/agents/memory)
- [Board flow](https://docs.truetask.io/boards/flow)
