Basic Usage
Configuration Options
Option Reference
What AgentScript Blocks
What AgentScript Allows
Default Allowed Globals
The AgentScript preset allows these globals by default:callTool- Tool invocationMath- Mathematical operationsJSON- JSON parsing/stringifyingArray- Array constructor and methodsObject- Object methodsString- String methodsNumber- Number methodsBoolean- Boolean conversionDate- Date operations (read-only)console- Logging (rate-limited by enclave)undefined,null,NaN,Infinity- Primitives
Customizing Allowed Globals
Loop Configuration
Control which loop types are allowed:Requiring Tool Calls
Ensure scripts actually use tools:Related
- Overview - Getting started
- Pre-Scanner - Layer 0 defense
- Security Rules - Rule reference
- Code Transform - AST transformations