Skip to main content

imbi-plugin-anthropic

Anthropic workload identity federation (WIF) for Imbi. The plugin adds the anthropic_wif secret provider. An agent's model key binding then holds no API key. Each resolution mints a short-lived sk-ant-oat01 token for that agent.

The plugin also declares its token exchanger, so an Anthropic AI Provider can use workload identity instead of a stored key (Admin, AI Models).

How it works

  1. The organization selects an identity source (for example aws_sts) in Admin, Secrets, Identity.
  2. In the Anthropic Console, register the issuer of that identity source. The registered issuer must match the iss claim of the identity JWT. See the Anthropic setup guide.
  3. For each agent, an admin creates an Anthropic service account and a federation rule. The rule matches the role ARN (sub) and the agent's imbi_agent request tag. The rule sets the token lifetime (token_lifetime_seconds). Imbi cannot revoke the token, so keep this lifetime short.
  4. A dynamic anthropic_wif binding holds the Anthropic ids of that agent. Select the binding as the agent's Model key. This does not create a grant: also add a model_inference grant for the agent and the binding, with delivery mode file_descriptor. Without it, resolution fails with no_grant.
  5. At resolution time, Imbi gets a new identity JWT, exchanges it at https://api.anthropic.com/v1/oauth/token, and gives the token to the runner.

The runner sends the token as Authorization: Bearer and renews it before it expires.

For an AI Provider, the federation rule matches the imbi_ai_provider request tag instead of imbi_agent. The provider record holds the same ids as a binding locator.

Binding locator

Field Required Description
organization_id yes Anthropic organization id.
federation_rule_id yes The federation rule of the agent.
service_account_id yes The service account of the agent.
workspace_id no Required when the rule names more than one workspace.

The provider takes no configuration.

Metadata

Release files for imbi-plugin-anthropic 2.44.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for imbi-plugin-anthropic 2.44.0
File Size Uploaded Provenance Actions
imbi_plugin_anthropic-2.44.0.tar.gz 5.7 kB With provenance Details for imbi_plugin_anthropic-2.44.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for imbi-plugin-anthropic 2.44.0
File Interpreter ABI Platform Actions
imbi_plugin_anthropic-2.44.0-py3-none-any.whl Python 3 none any Details for imbi_plugin_anthropic-2.44.0-py3-none-any.whl

Total release size: 10.3 kB

Release files / imbi_plugin_anthropic-2.44.0.tar.gz

Download URL imbi_plugin_anthropic-2.44.0.tar.gz
Size 5.7 kB
Tags Source
SHA-256 checksum
How to use checksums
8aeaf3f58575c6fac09f4d884451e60f215d1798b3725f47f4545c236ebeb3e1
BLAKE2b-256 checksum
How to use checksums
91d40fe1652ba6bf2c54392fde3c99445d604f6d6b908eebdbd28e510680ed45
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

Release files / imbi_plugin_anthropic-2.44.0-py3-none-any.whl

Download URL imbi_plugin_anthropic-2.44.0-py3-none-any.whl
Size 4.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1b1750dbc917e6a7cf934354b88f64e02cc62ede57bab98aa97cf2c34d7a60ad
BLAKE2b-256 checksum
How to use checksums
83b91077e198df725fa07be06e866189b528e4da67171808b5cb040820162d65
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

Security for imbi-plugin-anthropic 2.44.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for imbi_plugin_anthropic-2.44.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Nov 9, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.44.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page