Expand description
Configuration loading and policy mapping for AgentZero.
Loads agentzero.toml with dotenv overlay, validates all fields, and
maps the config model into security policies (ToolSecurityPolicy,
AuditPolicy) consumed by the runtime.
Modules§
Structs§
- Agent
Settings - Agent
Zero Config - Audit
Config - Audit
Policy - Autonomy
Config - Browser
Config - Channels
Global Config - Composio
Config - Computer
UseConfig - Cost
Config - Credential
Profile - Delegate
Agent Config - Embedding
Route - Estop
Config - Gateway
Config - Hook
Settings - Http
Request Config - Identity
Config - McpConfig
- Memory
Config - Model
Provider Profile - Model
Route - Multimodal
Config - Node
Control Config - Observability
Config - OtpConfig
- Outbound
Leak Guard Config - Perplexity
Filter Config - Plugin
Config - Provider
Config - Provider
Options Config - Query
Classification Config - Query
Classification Rule - Read
File Config - Research
Config - Resolved
Template - A resolved template with its source location and content.
- Runtime
Config - Security
Config - Shell
Config - Skills
Config - Syscall
Anomaly Config - Template
Set - Result of discovering templates in a workspace.
- UrlAccess
Config - Wasm
Runtime Config - Wasm
Security Config - WebFetch
Config - WebSearch
Config - Write
File Config
Enums§
- Template
File - All supported template files.
Constants§
- MAIN_
SESSION_ TEMPLATES - Templates that only load in the main session.
- SHARED_
SESSION_ TEMPLATES - Templates that load in all sessions (main + shared).
- TEMPLATE_
LOAD_ ORDER - Deterministic load order for templates. Identity and Soul come first (define who the agent is), then Tools and Agents (define what it can do), then Boot/Bootstrap (initialization), Heartbeat (lifecycle), User (context).
Functions§
- discover_
shared_ templates - Discover templates for a shared session (excludes main-session-only templates).
- discover_
templates - Discover and load all templates from the workspace.
- list_
template_ sources - List all template files that exist in the given search directories, showing which directory each was resolved from.
- load
- load_
audit_ policy - load_
env_ var - load_
tool_ security_ policy - template_
paths_ for_ workspace - Generate template paths for a workspace (workspace root only, for backward compatibility).
- template_
search_ dirs - Template search directories in precedence order (highest first).
- update_
auto_ approve - Update the
[autonomy].auto_approvelist in a config TOML file on disk.