What is Averta
Averta protects AI agent execution at the points where risk enters or leaves the model loop: user requests, exposed tools, model-requested tool calls, tool results, and final output. Start with the provider your agent already uses. The wrappers preserve the native provider SDK shape and add Averta decisions around supported calls.Installation
Install the provider wrapper for your runtime.
Quickstart
Wrap an OpenAI client and send one guarded request.
Choose an integration
Pick OpenAI, Anthropic, a custom adapter, or the raw API.
Policies
Understand why API keys need attached policies.
The Agent Loop
In a tool-using agent, Averta can make decisions before and after the provider call:- Request: evaluate user and developer input before the provider sees it.
- Tool exposure: remove tools that should not be available for this request.
- Tool call: evaluate model-requested tool calls before your app executes them.
- Tool result: evaluate returned tool content before it goes back to the model.
- Output: evaluate final text and rewrite or block when policy requires it.
Common Paths
I use OpenAI
Install the OpenAI wrapper for JavaScript or Python and keep your existing OpenAI client.
I use Anthropic
Install
@averta-security/sdk-anthropic and wrap your existing Anthropic client.I manage policies
Create policies, attach them to API keys, and review runtime decisions.
I need a custom adapter
Use a core package or the raw API when provider wrappers are not enough.