What Code Owns vs. Policy Owns
| Your application owns | Averta policy owns |
|---|---|
| Provider client | Whether checkpoints allow, block, restrict, or rewrite. |
| Model selection | Request screening threshold. |
| Tool definitions | Tool exposure rules. |
| Tool execution code | Which tools should be hidden for a request. |
| Conversation state | Dashboard-visible enforcement configuration. |
| Request context | Event correlation through IDs. |
Why Policies Attach to API Keys
The API key is the runtime bridge between your app and Averta. Attaching policy to the key lets you:- use one production policy without changing application code
- keep staging behavior separate from production
- isolate agents with different tool sets
- rotate credentials without rewriting the integration
Current Dashboard Controls
The current dashboard exposes live controls for:- request policy
- tool exposure policy
Tool Exposure Policies
Tool exposure policies can returnrestrict_tools during request preflight. The wrapper then filters the provider-native tool list before calling OpenAI or Anthropic.
This is different from blocking the whole request:
block: the provider call does not happen.restrict_tools: the provider call continues with a smaller tool set.
Policy Design Advice
Do not build one giant policy unless every agent really shares the same risk profile. One tweak for a sensitive email-sending agent can accidentally change behavior for a read-only search agent. Better defaults:- one policy per environment when staging and production need different tolerance
- one policy per agent when tools or risk differ materially
- one API key per deployed app or agent boundary
- tool exposure rules for side-effectful tools first
Where to Configure Policies
Use the dashboard to create policies, attach them to API keys, and inspect decision events.Dashboard policies
Create and manage policies.
API keys
Attach policies to runtime credentials.
Tool exposure
Configure request-time tool filtering.
Events
Confirm how policy changes affect runtime decisions.