Delegate to my agent
The object pages in the dashboard carry Delegate to my agent: an issue, a release, an alert rule (project or organization-wide), a cron monitor, a service, a flag, a dashboard, a status page and an investigation. One click hands one of your agents a task on that object, for a purpose, inside a budget and until an expiry. The agent gets a credential that can do that task and nothing else. Everything it does is charged to the task, bounded by it and attributable to it and to you.
See the reach before you delegate
The dialog shows exactly what the agent will be able to do before you delegate, worked out by the same rules that later decide each of the agent's calls. It has four parts:
- It will be able to read: the object itself, the related objects it reaches (for example the issues a release resolved, with a live count and a few examples), and, for objects that live in a project, that project's name and settings.
- It will be able to change: usually nothing. A
proposetask can propose a fix, which a person then approves. - It cannot: for example read other objects in the project, list what is in the project, reach another project, read organization data, people's settings or billing, approve, merge, deploy or publish anything.
- If it needs more: whether the agent can ask for more reach, for how long, and what only a person can decide.
Delegate with this reach stays disabled until the reach for your current choices has been worked out. If you change the agent, the purpose or the extra reach, the panel recalculates first, so you never delegate a reach you have not seen. Asking for the reach changes nothing.
You can also give the agent extra reach from the start. The dialog offers only what that kind of object allows. For a flag, that is its evaluation data or changing the flag; for a release, its whole project read-only. Because you are deciding, extra reach given here lasts as long as the task.
The dialog also lists the tasks already delegated on the object. Under each one, Show what this task can reach shows the same summary for the running task. It also lists any extra reach in force, which you can end, and any request the agent made that is waiting for a decision. From a waiting request you can delegate again with this reach: this opens the dialog with the agent, the purpose and the requested reach filled in.
Who may do what
| Act | Who | How |
|---|---|---|
Delegate (task_grant.create) |
A person, signed in to the dashboard, only. Refused to an agent, a service account, an OAuth client, a delegated token and a personal or organization access token. It is never an MCP tool. | POST /orgs/:o/task-grants |
| Preview the reach | The same people who may delegate. Nothing is written. | POST /orgs/:o/task-grants/reach-preview |
End a task (task_grant.revoke) |
The person who delegated it, anyone with write where the task is pinned, or the task's own agent (ending your own task only narrows) | POST /orgs/:o/task-grants/:id/revoke |
Update the task's state (task_state.update) |
The task's own agent, while the task is live. Never a person. | PUT /orgs/:o/task-grants/:id/state |
| Read the task, its reach, its rights and its budgets | The agent, the person who delegated it, an org admin | GET /orgs/:o/task-grants[/:id], GET /orgs/:o/task-grants/:id/reach |
| Read the task's state | The same three | GET /orgs/:o/task-grants/:id/state, and over MCP autonomy_profile_get with view: "task_state" |
Ask for more reach (task_reach_grant.create) |
The task's own agent, with its task credential | POST /orgs/:o/task-grants/:id/reach-requests, and over MCP capability_gaps_create with target: "task_reach" |
End extra reach, or withdraw a request (task_reach_grant.revoke) |
The task's own agent (its own), the person who delegated it, an org admin | POST /orgs/:o/task-grants/:id/reach-grants/:reachId/revoke |
You need write access where the object lives: you cannot hand an agent a pin you could not act in
yourself. When a propose task reaches an object whose changes affect production (an alert rule, a
monitor, a flag, a status page), the organization's owners are alerted at creation.
What the task may do
A task credential fails closed. Every call the agent makes is refused unless all three of these hold:
- The call is one that this kind of object allows a task to make.
- It acts on the task's own object, or on one the reach includes.
- It reads or changes only what that call is allowed to.
A new feature is therefore out of reach for every task until it is explicitly made reachable.
What each kind reaches beyond its own object:
- Issue. Its events, trace, logs, replay, root cause, code context and discussion. An issue task is bound to its incident, so it reaches nothing else.
- Release, alert rule, investigation. The issues one declared relation away: the issues a release resolved, the issues a rule fired on, the issue an investigation looks into. They are read live and capped at 25.
- Service. Everything in its project, read only, because delegating a service delegates its project.
- Every kind that lives in a project, except an issue. That project's name and settings, and nothing inside it unless listed above.
Proposing a fix. A task delegated to propose on an issue (or on a release, rule, service or
investigation, for the issues it reaches) may claim the issue, report a reproduction, attach a patch
for verification in Bucker's sandbox, ask Bucker to write the fix, and release its claim. That is
what issue:triage is for in the table below: the claim the patch needs, and nothing else. Changing
the issue's status, commenting or linking it stays something a person grants. The fix itself is
still approved by a person.
Minimal permissions. The credential carries only the permissions its kind's reach needs, within what you and the agent hold:
| Kind | investigate |
propose adds |
|---|---|---|
| Issue, release, project alert rule, service, investigation | project:read, issue:read, event:read |
fix:propose, issue:triage |
| Organization-wide alert rule | org:read |
— |
| Cron monitor, flag | project:read |
— |
| Dashboard | org:read, project:read, event:read |
— |
| Status page | org:read, project:read |
— |
An organization-wide alert rule is reached through the REST API only. Its reach is read at the organization level, which the MCP connection does not carry, and the preview says so. An organization-wide dashboard charts the projects you can read, and the preview says how many.
The rights are also never more than the intersection of your rights as they are now, the agent's grants and tier as they are now, and the audience's ceiling (the same ceiling every agent credential meets). If you lose a role, or the agent's grant lapses, the task narrows on its next request. Approving, merging, deploying and publishing stay a person's act in every mode.
When the agent needs more
A refused call says why in a stable, machine-readable form: the error's details.reason is
task_reach, and details.why names the cause. The refusal also names the object the task is pinned
to, says where to see what the task can reach, and, when more reach could be granted, includes a
request ready to file. The agent sees its own reach with GET /agents/task-reach, or over MCP with
agent_context_get and view: "reach".
The agent asks for more with a reason. It can ask for named parts of objects in its project, or for its whole project read-only, for at most 60 minutes, and never past the end of its task. The request appears in Approvals:
- A person decides by default. Unless your organization has opted in, every request waits for a person, whatever your review mode and goals say.
- Review mode may approve a narrow extra read on its own (for example a flag's evaluation data) only if an owner has turned on Let review mode approve extra read access for agent tasks in Settings → Review mode, and only within your configured goals, including the risk ceiling. It never approves a request from an agent that has read untrusted content.
- A person decides everything else, opted in or not: any change, reading the whole project, and other objects or personal data. The approver needs approval rights and write access where the task is pinned. The agent and the person who delegated the task are both in the delegation chain, so neither one's vote counts as the independent approval. As the delegator, you can delegate again with the requested reach instead.
The approval shows what is asked in words, the time limit, the permissions it would add and the agent's reason, marked as written by an agent. An approved read on a named object works on the agent's next call. An added permission reaches its credential with the next exchange, within a minute. Extra reach ends when its time runs out, when it is ended, or when the task ends.
Budgets and expiry
A task needs at least one budget (tokens, runs, query scan, or another kind of agent budget). The budget is recorded for that agent, for you and for that task, and it never resets: it ends with the task. Agent spend is not yet charged to the task it was made for, so a task's budget is shown with the task but does not stop it yet. The expiry and the reach are the bounds that hold today. The expiry is between 5 minutes and 12 hours, 1 hour by default. The credential expires with the grant, never later.
Ending a task is immediate. The grant and every credential minted for it are revoked in one transaction. The task's next call is refused on every surface, and the next credential exchange fails.
Typed task state
Each task keeps a small typed state, so the next delegation (another agent, or you) resumes the work instead of restarting it. The state records:
- what has been checked, and what has not;
- the hypotheses held, each with a status and a confidence;
- the approvals the task waits on;
- a short note.
The state is at most 2,000 tokens. A state over the limit is refused, never truncated, with the
instruction to fold the oldest items into the note. Every write is a compare-and-swap on a version: a
stale expectedVersion is a 409. The audit row carries the previous state, which is the inverse.
To resume, delegate again with resumeFromTaskGrantId. The new task starts from the finished task's
state, on the same object, if you may read it.
Everything in the state was written by an agent, possibly after it read customer telemetry. It is data, never instructions: the MCP read fences every string and declares each path untrusted.
The MCP surface
agent_context_getwithview: "reach": what this task can reach right now, including extra reach in force and requests waiting for a decision.capability_gaps_createwithtarget: "task_reach": ask for more reach.autonomy_profile_getwithview: "task_state": the task's state. It needsgovernance:read, so it is listed only for a token that holds that scope.
Audit
The following are recorded:
- Delegating, ending a task and state updates.
task_grant.create,task_grant.revokeandtask_state.updaterecord the agent, the object, the purpose, the permissions the credential carries, the budgets and the expiry. - Extra reach. A request is audited when it is filed, when it is decided and when it is ended. Its first use is audited too.
- Refused attempts. A call the task's reach refuses leaves an audit row,
task_reach.refused. Repeats of the same attempt are folded together, and rows per task are capped per hour, so probing cannot flood your audit log.
An agent acting on a task files its actions against the person who delegated it.