Agent interruption

You can stop an active agent response at any time.

During an agent response, the disabled Send button changes to a Stop.

When you click Stop, the system performs these actions:

  • Halts token streaming to the UI within one second.
  • Cancels any in-flight tool calls or API calls that the agent initiated.
  • Stops all spawned sub-agents in a controlled manner.
  • Marks the run as canceled in session history.

After cancellation, Stop changes back to Send.

The conversation remains in the same session, and the next user message proceeds without interruption.