Table of Contents

Enum AgentStatus

High-level lifecycle state of an Agent.

public enum AgentStatus

Fields

Cancelling = 8

A cancellation request is in progress; the agent is attempting to stop ongoing work.

InitializationFailed = 2

Initialization failed and the agent cannot process requests until the error is handled or initialization is retried.

Initializing = 1

The agent is performing one-time initialization logic.

LoadingChat = 3

The agent is loading conversation data (history, items, or metadata).

None = 0

Uninitialized state; no setup has been performed yet.

Processing = 7

The agent is actively processing a request (model calls, tools, or both).

Ready = 5

The agent is idle and ready to accept new input.

RetrievingAccessTokens = 4

The agent is retrieving or refreshing access tokens (for example, OAuth credentials).

Terminating = 9

The agent is shutting down and will not accept any new work.

WaitingForToolOutput = 6

The agent is waiting for external tool outputs before it can resume or finalize a response.

Remarks