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 intercepts every outbound HTTP call — enforcing policies, redacting PII, and logging everything with a cryptographic signature.
Install
pip install interseptix
Quickstart
import os
from interseptix import InterseptixClient
sdk = InterseptixClient(api_key=os.environ["INTERSEPTIX_API_KEY"])
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")]})
That's it. Scopes and policies are configured in your dashboard and enforced automatically on every call your agent makes.
What happens behind the scenes
Every HTTP call your agent makes is intercepted before it executes:
- Out of scope → blocked,
PermissionErrorraised - Matches a deny rule → blocked
- Exceeds rate limit → blocked
- Requires human approval → held in queue
- Contains PII → redacted before logging
- Everything → logged with a cryptographic signature
Environment variables
| Variable | Description |
|---|---|
INTERSEPTIX_API_KEY |
Your org API key from the dashboard |
AGENT_ID |
The agent's ID issued on registration |
INTERSEPTIX_BASE_URL |
Override API URL (default: https://interseptix.com/v1) |
Requirements
- Python 3.9+
httpx(installed automatically)
Links
- Dashboard: interseptix.com
- Issues: github.com/useInterseptix/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.3.0.tar.gz.
File metadata
- Download URL: interseptix-0.3.0.tar.gz
- Upload date:
- Size: 10.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3270754891578d4b2b0f4a59ab1c71c62ec8f221a43b82e3836417c4083ffaf1
|
|
| MD5 |
d3fac2a66c0451acf7e69e8f16546802
|
|
| BLAKE2b-256 |
d55c620976a5c485ed7440e7ad854a62970dea11ba8fbcbde0e96f941fdedbbf
|
File details
Details for the file interseptix-0.3.0-py3-none-any.whl.
File metadata
- Download URL: interseptix-0.3.0-py3-none-any.whl
- Upload date:
- Size: 9.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.15
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9d6ed4f9b167b84972d565afa10b4de12de33b031a9e01410f5a66579a88e52c
|
|
| MD5 |
9902f7451fb20e3d945614f8a82c0b1d
|
|
| BLAKE2b-256 |
261b26a1314234fcaf0dcfe22cd797dad61fe44c178af724e94bf925e210df96
|