Skip to main content

Overview

Agent errors cover the full lifecycle of agent operations — from not-found and configuration issues to execution failures, loop limits, timeouts, and LLM adapter problems.

Error Reference

AgentNotFoundError

Thrown when a requested agent is not registered.
Example:

AgentExecutionError

Thrown when an agent’s execution fails unexpectedly. This is an internal error.
Example:

AgentLoopExceededError

Thrown when an agent exceeds its maximum iteration count.
Example:

AgentTimeoutError

Thrown when an agent exceeds its configured timeout.
Example:

AgentVisibilityError

Thrown when an agent attempts to invoke another agent it doesn’t have visibility to.
Example:

AgentLlmError

Thrown when the LLM adapter (e.g., OpenAI, Anthropic) fails during agent execution. This is an internal error.
Example:

AgentConfigurationError

Thrown when an agent has invalid configuration.
Example:

AgentNotConfiguredError

Thrown when an agent doesn’t have an LLM adapter configured. This is an internal error.
Example:

AgentToolNotFoundError

Thrown when a tool is not found in the agent’s allowed tool scope. This is an internal error.
Example: