Skip to content

Concepts

Avant sits between your tools and the model vendors. Every request goes to https://proxy.avant.codes. The proxy checks who is calling, applies the workspace policy, sends the request on to the vendor and logs it.

An organization is your company or team. Workspaces, members, policy templates, skills, connectors and masking patterns all belong to one organization. One person can be in several organizations.

Organization roles:

Role Can
owner Everything, including renaming and deleting the organization.
admin Invite people, manage every workspace (admin in all of them).
member Use the workspaces they were added to.

A workspace is one route to a model vendor. It holds:

  • The provider. Either a direct vendor (Anthropic, OpenAI, Mistral, TypeSafe) or your own cloud account (Google Vertex AI, AWS Bedrock, Azure AI Foundry). With a cloud account, inference runs and is billed there.
  • The policy. Allowed models, default model, spend cap, masking, skills and connectors.
  • Members. People with the admin or member role, and agents.

Make a workspace for each group that needs a different provider or policy, for example one per team or environment.

Avant holds no vendor API keys or cloud credentials, except for TypeSafe. Each workspace has a binding with a unique subject, avant:binding:<id>. Avant signs short-lived tokens for that subject with its issuer, https://identity.avant.codes. Your vendor or cloud trusts that exact subject, for example through an Anthropic federation rule, an AWS role trust policy or a GCP IAM grant.

So each workspace can only reach what you granted to its subject, and deleting that trust on your side cuts it off. See How provider setup works.

A person is an organization member added to a workspace. They sign in with their own account and get their own credentials.

An agent is a non-human member, such as a review bot or a CI job. An agent lives in exactly one workspace and the workspace policy applies to it like any member. See Agents and trusted workloads.

Callers authenticate to the proxy in one of two ways:

  • Workspace key. A long-lived ws_<workspaceId>_<secret> key, personal to one member. It is shown once.
  • Short-lived token. Lasts an hour. People get one with avant token. Agents get one by exchanging an OIDC token from a trusted workload, such as GitHub Actions or a Google Cloud service account.

Each workspace sets which of these people may use, and each agent has its own setting: key, key_and_token or token.