State
Represents the state of an AI agent during its lifecycle.
This sealed interface provides different states to reflect whether the agent has not started, is currently running, has completed its task successfully with a result, or has failed with an exception.
Inheritors
Types
Link copied to clipboard
Represents a state that indicates an action or process has not yet started.
Link copied to clipboard
Represents the Running
state of an AI agent, indicating that the agent is actively executing its tasks.
Link copied to clipboard
Represents the starting state of an operation or process.