Skip to main content

IRIS governance for Anthropic Claude — Cedar policy on every API call

Project description

iris-anthropic

Drop-in IRIS governance for the Anthropic Python SDK.

Replace one line:

# client = anthropic.Anthropic()
client = IrisAnthropic(passport=passport)

Every client.messages.create() and client.messages.stream() call is evaluated against Cedar policy, recorded in the Evidence Vault, and enforced per IRIS_ENV (warn in dev, block in production).

Install

pip install iris-anthropic

Quickstart

See examples/governed_claude.py.

Environment

IRIS_ENV Behavior
dev Fail open — warnings to stderr, never block
production Fail closed — IrisViolationError on deny

Defaults to dev when unset.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

iris_security_anthropic-0.2.1.tar.gz (10.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

iris_security_anthropic-0.2.1-py3-none-any.whl (13.1 kB view details)

Uploaded Python 3

File details

Details for the file iris_security_anthropic-0.2.1.tar.gz.

File metadata

  • Download URL: iris_security_anthropic-0.2.1.tar.gz
  • Upload date:
  • Size: 10.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for iris_security_anthropic-0.2.1.tar.gz
Algorithm Hash digest
SHA256 bc678fe57e239912c6449d19aa657e9cb7f6fed8caec07d2f9710669047b922a
MD5 2145d838b987224c79bab1db22278a79
BLAKE2b-256 c454f2720f16f24adf2dad69fce429dd17a8e2541f410a5ad38efe215dcf1d23

See more details on using hashes here.

File details

Details for the file iris_security_anthropic-0.2.1-py3-none-any.whl.

File metadata

File hashes

Hashes for iris_security_anthropic-0.2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f77f8cfd47fd2f21c4a9269332777cac405e21c09b676af2dbef664aba54ee3b
MD5 c9fd884fdb4b46a76037b1df638e0067
BLAKE2b-256 e11af9bfba6bf90e6b5812cbd9edad385408f23dd744456ad0c6f98cd01683f2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page