Catalog PyPI
PACKAGE EXPLORERView in registry

agent-iam-ratchet

PyPI

Sensitivity Ratchet SDK — irreversible permission narrowing for AI agents

agentsaiiampermissionsratchetsecurity
Versions collected1
Direct dependencies7From release 0.1.0
Last observed20 Oct, 22:11 UTC

README

Version 0.1.0 documentation

agent-iam-ratchet

Sensitivity Ratchet SDK — irreversible permission narrowing for AI agents.

Install

pip install agent-iam-ratchet

With framework integrations:

pip install 'agent-iam-ratchet[langchain]'
pip install 'agent-iam-ratchet[crewai]'
pip install 'agent-iam-ratchet[openai-agents]'

Quick Start

from agent_iam_ratchet import RatchetSession, Sensitivity

session = RatchetSession(scopes=["read:*", "write:*", "delete:*", "execute:*"])

# Agent reads a confidential document
session.access(Sensitivity.CONFIDENTIAL)
print(session.effective_scopes)
# {'read:*', 'write:*'} — delete and execute permanently removed

# Agent reads restricted data
session.access(Sensitivity.RESTRICTED)
print(session.effective_scopes)
# {'read:*'} — only reads remain

# Irreversible — even accessing public data won't restore permissions
session.access(Sensitivity.PUBLIC)
print(session.effective_scopes)
# {'read:*'} — still read-only

Why?

AI agents that access sensitive data can exfiltrate it by writing to lower-sensitivity channels. The sensitivity ratchet prevents this by permanently narrowing permissions after sensitive data access.

License

MIT

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 1

Collected releases
VersionPublishedDirect dependenciesOpen version
0.1.02 Apr 20267

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
mattyopon/agent-iam-ratchet

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 22:11 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:5e97722eb4f2d70196390e64ec8c55fa8aa8cbd014aa777ec352530a7a2e32bf