Skip to main content

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()
  • Policiesdeny_if, rate_limit, require_approval_if, redact_pii rules 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

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

interseptix-0.2.0b1.tar.gz (7.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

interseptix-0.2.0b1-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

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

Hashes for interseptix-0.2.0b1.tar.gz
Algorithm Hash digest
SHA256 aaae55b1cbf73ed7b825a8e92970fb815c03cb03b57de32f2551ab528ada0221
MD5 22a03df6be831a0162d6eba1e6fb6412
BLAKE2b-256 e34f6e030ee91b38bbee22a6fa93d323fab7477d39edc88b211bad99528b94fd

See more details on using hashes here.

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

Hashes for interseptix-0.2.0b1-py3-none-any.whl
Algorithm Hash digest
SHA256 13db6d2ab18532ede27ffa5c784a5a3aef6e106fbf565179dbb7218a8e0389db
MD5 8a6c7204be77ad87bddfb09676cc018e
BLAKE2b-256 66f58fcb31ac031235e0770e464820511e2ca4b9d879ff01bb1c70c27d4a04d0

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