Intelligence · interface

ExecutionPolicy

Explained in Agents and behaviour.

interface ExecutionPolicy
import type { ExecutionPolicy } from '@driftengine/ai';

Properties

NameTypeDescription
allowreadonlyoptionalreadonly string[]Tool ids this agent may call at all. Absent means every registered tool.
rateLimitsreadonlyoptionalReadonly<Record<string, number>>Calls per rate class, per second.
requireApprovalreadonlyoptionalreadonly string[]Tools a human has to say yes to. Refused here rather than queued.