Skip to main content

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.

Release files for iris-security-anthropic 0.2.1

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

Source distribution (sdist)

Source distribution for iris-security-anthropic 0.2.1
File Size Uploaded
iris_security_anthropic-0.2.1.tar.gz 10.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for iris-security-anthropic 0.2.1
File Interpreter ABI Platform
iris_security_anthropic-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 24.0 kB

Release files / iris_security_anthropic-0.2.1.tar.gz

Download URL iris_security_anthropic-0.2.1.tar.gz
Size 10.9 kB
Tags Source
SHA-256 checksum
How to use checksums
bc678fe57e239912c6449d19aa657e9cb7f6fed8caec07d2f9710669047b922a
BLAKE2b-256 checksum
How to use checksums
c454f2720f16f24adf2dad69fce429dd17a8e2541f410a5ad38efe215dcf1d23
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / iris_security_anthropic-0.2.1-py3-none-any.whl

Download URL iris_security_anthropic-0.2.1-py3-none-any.whl
Size 13.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f77f8cfd47fd2f21c4a9269332777cac405e21c09b676af2dbef664aba54ee3b
BLAKE2b-256 checksum
How to use checksums
e11af9bfba6bf90e6b5812cbd9edad385408f23dd744456ad0c6f98cd01683f2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

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