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 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, PermissionError raised
  • 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

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.3.0.tar.gz (10.9 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.3.0-py3-none-any.whl (9.8 kB view details)

Uploaded Python 3

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

Hashes for interseptix-0.3.0.tar.gz
Algorithm Hash digest
SHA256 3270754891578d4b2b0f4a59ab1c71c62ec8f221a43b82e3836417c4083ffaf1
MD5 d3fac2a66c0451acf7e69e8f16546802
BLAKE2b-256 d55c620976a5c485ed7440e7ad854a62970dea11ba8fbcbde0e96f941fdedbbf

See more details on using hashes here.

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

Hashes for interseptix-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9d6ed4f9b167b84972d565afa10b4de12de33b031a9e01410f5a66579a88e52c
MD5 9902f7451fb20e3d945614f8a82c0b1d
BLAKE2b-256 261b26a1314234fcaf0dcfe22cd797dad61fe44c178af724e94bf925e210df96

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