---
title: RELKIT_AGENT_CANCELLED
description: "Agent run was cancelled."
pagination: false
search:
  keywords: [RELKIT_AGENT_CANCELLED]
sidebar:
  icon: triangle-alert
---

{/* Generated by apps/docs/scripts/generate.ts. Do not edit. */}

**Agent run was cancelled.**

## What happened

The agent stopped because its caller cancelled the run or its abort signal fired.

## What to do

If you did not mean to cancel it, check where the abort signal comes from (a closed request, a client disconnect) and run the agent again.

Reported by `@relkit/langchain`, `relkit/diagnostics`.

See [all error codes](/docs/errors).
