Skip to main content
AFK classifies every error and applies a policy-driven response. Understanding the failure matrix helps you configure the right behavior for your use case.

Error classification

Every error is classified into one of three categories:

Failure decision flow

Failure matrix by source

LLM failures

Configuration:

Tool failures

Configuration:

Subagent failures

Configuration:

Infrastructure failures

Failure policies

Any failure causes the run to fail immediately.
Use when: All operations are critical and partial results are worse than no results.

Budget-triggered limits

When a budget limit is hit, the run is stopped immediately:

Next steps

Security Model

Security boundaries and hardening checklist.

Core Runner

Run lifecycle and state management.