Skip to main content

Open-source AI agent firewall. CEL policies, runtime enforcement at the tool-call boundary, and EU AI Act compliance.

Project description

Strathon SDK

Python SDK for Strathon, the open-source AI agent firewall.

Install

pip install strathon

Optional framework integrations:

pip install "strathon[openai]"          # OpenAI
pip install "strathon[openai-agents]"   # OpenAI Agents SDK
pip install "strathon[anthropic]"       # Anthropic
pip install "strathon[claude-agent]"    # Claude Agent SDK
pip install "strathon[langgraph]"       # LangGraph
pip install "strathon[langchain]"       # LangChain
pip install "strathon[crewai]"          # CrewAI
pip install "strathon[autogen]"         # AutoGen
pip install "strathon[pydantic-ai]"     # Pydantic AI
pip install "strathon[google-adk]"      # Google ADK
pip install "strathon[all]"             # All 10 frameworks

Quick start

from strathon import Client, instrument

client = Client(
    api_key="stra_...",
    endpoint="http://localhost:4318",
)
instrument(client, frameworks=["openai"])

# Your agent code runs as normal. Strathon traces every call
# and enforces CEL policies before tool execution.

What gets captured

  • Every LLM call: model, tokens in/out, cost, latency
  • Tool calls: name, arguments, result, duration
  • Agent topology: parent-child relationships, handoffs
  • Errors: failed tool calls, model errors, timeouts

Documentation

License

Apache License 2.0. See LICENSE.

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

strathon-1.1.0.tar.gz (121.8 kB view details)

Uploaded Source

Built Distribution

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

strathon-1.1.0-py3-none-any.whl (92.8 kB view details)

Uploaded Python 3

File details

Details for the file strathon-1.1.0.tar.gz.

File metadata

  • Download URL: strathon-1.1.0.tar.gz
  • Upload date:
  • Size: 121.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for strathon-1.1.0.tar.gz
Algorithm Hash digest
SHA256 1644b2ffa3a1f56380c6f8d5557123f9d13e0211675319aeabdb89f0bc40bd8e
MD5 a1066e47a6c7f0558e16af3c6090138c
BLAKE2b-256 045806c649c7bf422cfc0f676dae6b8b60a04d9134f5de37d4bc75f8adc2cd9f

See more details on using hashes here.

File details

Details for the file strathon-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: strathon-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 92.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.13

File hashes

Hashes for strathon-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0be72b4a3651501ddb7c489f4c14eb660d9bfa9d540224fd1933cd430cd93745
MD5 edaca8ec87ce05b40f1e588f7e5b32b8
BLAKE2b-256 fad1e5890c5e5daa75865644e2bcf47a144724762590fd859cbf9896127be4c7

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