Zero-config IAM and policy enforcement for AI agents
Project description
Interseptix Python SDK
Zero-config IAM and policy enforcement for AI agents.
Two lines of code. Your agent runs unchanged. Interseptix silently intercepts every outbound HTTP call — enforcing policies, redacting PII, and logging everything with a cryptographic signature.
Install (beta)
pip install interseptix
Quickstart
import os
from interseptix import InterseptixClient
# Initialise once at the top of your agent entrypoint
sdk = InterseptixClient(api_key=os.environ["INTERSEPTIX_API_KEY"])
# Activate the agent — base scopes loaded automatically from your dashboard
sdk.set_agent(agent_id=os.environ["AGENT_ID"])
# Run your agent exactly as before — nothing else changes
agent = create_react_agent(llm, tools=[...])
agent.invoke({"messages": [("user", "Process refund for order 123")]})
# Behind the scenes:
# • every HTTP call is intercepted before it executes
# • calls outside the agent's scopes → blocked, PermissionError raised
# • PII in payloads → redacted before logging
# • high-value actions → held for human approval
# • everything logged with a cryptographic signature
How it works
The SDK monkey-patches httpx and requests at import time. No changes to your agent tools or LLM calls are needed.
- Scopes — configured in the Interseptix dashboard, fetched automatically by
set_agent() - Policies —
deny_if,rate_limit,require_approval_if,redact_piirules evaluated on every call - PCI DSS — card numbers and CVVs are hard-stripped at the SDK before any data leaves your machine
- HIPAA — payloads containing PHI field names are withheld from logging
- Audit ledger — every intercepted call is HMAC-signed and stored immutably
Requirements
- Python 3.9+
httpx(installed automatically)
Links
- Dashboard: interseptix.com
- Docs: interseptix.com/#/docs
- Issues: github.com/getinterseptix/interseptix-python/issues
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file interseptix-0.2.0b1.tar.gz.
File metadata
- Download URL: interseptix-0.2.0b1.tar.gz
- Upload date:
- Size: 7.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aaae55b1cbf73ed7b825a8e92970fb815c03cb03b57de32f2551ab528ada0221
|
|
| MD5 |
22a03df6be831a0162d6eba1e6fb6412
|
|
| BLAKE2b-256 |
e34f6e030ee91b38bbee22a6fa93d323fab7477d39edc88b211bad99528b94fd
|
File details
Details for the file interseptix-0.2.0b1-py3-none-any.whl.
File metadata
- Download URL: interseptix-0.2.0b1-py3-none-any.whl
- Upload date:
- Size: 7.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
13db6d2ab18532ede27ffa5c784a5a3aef6e106fbf565179dbb7218a8e0389db
|
|
| MD5 |
8a6c7204be77ad87bddfb09676cc018e
|
|
| BLAKE2b-256 |
66f58fcb31ac031235e0770e464820511e2ca4b9d879ff01bb1c70c27d4a04d0
|