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.1.0.tar.gz (9.0 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.1.0-py3-none-any.whl (10.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: iris_security_anthropic-0.1.0.tar.gz
  • Upload date:
  • Size: 9.0 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.1.0.tar.gz
Algorithm Hash digest
SHA256 e5a235078d0e88d27049aa56c293fc7d80db535e0811f9faf08655ac806fd817
MD5 c3121e5f6ce7c6512bd11f3a2248bae7
BLAKE2b-256 db650dd1e4054004b8a36a814e0af801392ed3e20af5ee49db06a8088a8a254a

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for iris_security_anthropic-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d71eb3e8af456ea71c94262756dccf8bc7177e10fa85c5e0a5c8cd2b489a9467
MD5 8a062b6b204b70d8cd633aa042c66798
BLAKE2b-256 077355755988d2aab3eb7c2e8e4696dc3b4af6d5ee14362dc0d83247a2a98d60

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