Skip to main content
The Control Layer provides Runtime Controls that prevent AI agents from causing harm. Without these controls, agents can spend unlimited money, loop forever, and break production systems.

Why Control Matters

Without proper control mechanisms, AI agents can cause severe operational and financial damage. Agents may accumulate massive API costs by making unlimited calls to expensive services, enter infinite loops that waste computational resources, overwhelm external APIs with excessive requests leading to rate limit violations, make unauthorized changes to critical systems, or consume unbounded memory until systems crash. These scenarios can transform helpful automation into costly failures that require immediate intervention and system shutdowns. The Control Layer prevents:

Quick Start

Control Objects

ExecutionLimits

Budget, step count, and time limits

RateLimiter

Calls per minute per agent or tool

CircuitBreaker

Stop after repeated failures

LoopDetection

Detect and break infinite loops

ToolAccessController

Which agent can use which tools

DecisionEnforcer

Lock decisions to prevent flip-flopping

RetryStrategy

Retry failed calls with exponential backoff

RulesEngine

Custom BLOCK/WARN/LOG rules

MemoryStore

Capped memory with auto-eviction

How Controls are Applied

Combining Controls

Controls compose naturally:

Best Practices

Even for testing. A runaway agent can cost thousands. Default to $5-10 for development.
If an external API is down, stop hammering it. Give it time to recover.
Agents that run without human oversight need loop detection. They will get stuck.
Don’t give all agents access to all tools. Principle of least privilege.