Skip to main content

Requirements

  • Node.js 18 or newer for JavaScript and TypeScript wrappers
  • Python 3.10 or newer for Python wrappers
  • An Averta API key
  • A policy attached to that Averta API key
  • Network access to https://api.averta.io
  • The native provider SDK for the provider you already use

Packages

Most applications should install a provider adapter, not sdk-core or averta-core directly. Use custom integrations or the raw API when no provider wrapper fits.

OpenAI

The Python packages are implemented in the SDK repository, but averta-openai and averta-core are not published to PyPI yet. Run the source install from the SDK repository until the PyPI release exists.
Python V1 requires Python 3.10 or newer, openai>=2, and a sync OpenAI client. It supports responses.create(...), responses.create(stream=True, ...), responses.stream(...), chat.completions.create(...), and chat.completions.create(stream=True, ...).

Anthropic JavaScript

Custom Adapters

Use core packages only when you need to call the decision API yourself or build a provider adapter. If your runtime is not JavaScript or Python, use the raw API integration path.

Environment Variables

Set the provider key your agent already uses plus AVERTA_API_KEY. The Averta key must have a policy attached.
Provider wrappers read AVERTA_API_KEY automatically. Use the explicit key option only when a wrapped client should ignore the process environment. If you are using a non-production Averta environment, you can also set:

OpenAI quickstart

Wrap an existing OpenAI client.

Anthropic quickstart

Wrap an existing Anthropic client.

Custom integrations

Build an adapter on top of sdk-core.

Raw API

Call Averta directly from any language.

Choose an integration

Compare the supported paths.