Skip to main content

Stop it now

When an agent is doing the wrong thing at speed, you want the smallest lever that stops it and a clear idea of what keeps running afterwards. Here they are, narrowest first. None of them undo what a tool has already done: an email that was sent stays sent, a row that was written stays written. That is what approvals are for, before the fact.

The levers

LeverStopsLeaves runningWho
Stop in the composerThe turn in front of you, at its next stepQueued follow-ups in the same conversationAnyone who can chat in it
Cancel on MonitorOne turn or run, and everything it spawnedOther sessionsDomain members
Max concurrent runs → 1, publishNew starts beyond one at a timeThe one runningThe agent's editors
Disable a triggerEvery future firing from that schedule or eventTurns already started, other triggersDomain operators
Untick tools on the connectionThose tools, for every agent using that connectionEverything elseDomain owners
Disconnect a connectionEvery tool of that integration, for every agent on itEverything else, and in-flight callsDomain owners
Revoke an API keyEvery request signed with it, immediatelyEverything elseThe key's owner
Provider Off in AI providersThe next model call of every agent on that providerTurns mid-flight, non-model stepsOrganization admins
Monthly token budget → tinyNew model calls org-wide, within about a minuteTurns mid-flightOrganization admins

Stopping one conversation

Press the stop control that replaces Send while the agent is working. The worker aborts at its next step boundary; the client stops painting at once. If the turn already reached a tool, that call completes or fails on its own terms.

To reach a turn you are not sitting in, open Sessions → Monitor, find the row, and choose Cancel from its menu. The confirmation says what it means: an agent turn is aborted mid-thought and anything its tools already did stays done; a flow run stops at the next step boundary and completed steps are not rolled back. Cancelling a caller cancels every agent or flow it spawned, deepest first. A parked approval belonging to the cancelled work is withdrawn, and the audit trail keeps why.

Sessions → Monitor: every turn in flight and every run executing, queued or parked, with Cancel one click awaySessions → Monitor: every turn in flight and every run executing, queued or parked, with Cancel one click away

Stopping an agent without stopping it

The least destructive throttle is the agent's own Max concurrent runs (Setup → AI → Limits). Set it to one and publish: new starts beyond the one already running are refused with AUTOMATION_AT_CAPACITY and told to try again once it finishes. It applies from the next publish, and a test run uses the published value.

Disabling a trigger stops future firings and nothing else. Fires against a disabled trigger are counted and shown on the trigger's page, so you can see what you turned away. Disabling an event trigger also unsubscribes it at the provider. When you enable a schedule again it resumes from now - missed occurrences are not fired retroactively.

Cutting off what it can reach

On an integration's page you can untick individual tools for a connection, which removes them from every agent that uses that connection, or Disconnect, which deletes the credentials permanently and fails every run on that integration's tools until someone reconnects. The dialog names how many agents are affected. Neither interrupts a call already in progress.

A personal API key is revoked from Triggers → API keys; the key's owner is the only one who can, and it takes effect on the next request. Deactivating a person retires every key they hold.

Cutting off the model

Settings → AI settings → AI providers: switch the provider Off. Every agent on it stops at its next model call with LLM_NOT_CONFIGURED, said plainly in the thread, whether or not a key is still stored - Off beats key presence, which is why it is a better lever than removing the key. Turns that already hold their key finish; flow steps that call no model keep going.

A monthly token budget set to a small number does the same for the whole organization, with about a minute's lag while the cached month-to-date figure refreshes. It counts test runs too, so nothing can walk past it. See Cost & budgets.

What you cannot do from here

  • Archive the agent. Archiving is refused while the agent has any sessions, attached triggers, flows that call it, or agents that link to it - so on a production agent it will not go through, and it does not stop in-flight work anyway. It is a retirement verb, not an incident one.
  • Suspend the organization or change the platform fairness cap. Those are Yekar.AI's; contact support. A suspension blocks new activity and lets in-flight work drain.

Afterwards

The record is intact. Every cancelled turn carries a notice in its transcript, every withdrawn approval an audit row, every refused start a count on the trigger. The agent's Health page will show the failure rate the incident produced, and Why did it do that? is the method for the post-mortem.