Skip to main content

Agent Control - Python SDK

Python SDK for adding safety controls and guardrails to AI agents. Protect tools and LLM calls with server-side or local policy enforcement.

Installation

pip install agent-control-sdk

Quick Start

import agent_control
from agent_control import control

# Initialize
agent_control.init(agent_name="my-agent")

# Protect a tool with decorator
@control()
async def search_database(query: str) -> str:
    return db.execute(query)

Controls are defined centrally and enforced automatically at runtime. See Python SDK Documentation for complete reference.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

agent_control_sdk-8.4.0.tar.gz (197.1 kB view details)

Uploaded Source

Built Distribution

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

agent_control_sdk-8.4.0-py3-none-any.whl (131.0 kB view details)

Uploaded Python 3

File details

Details for the file agent_control_sdk-8.4.0.tar.gz.

File metadata

  • Download URL: agent_control_sdk-8.4.0.tar.gz
  • Upload date:
  • Size: 197.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.14

File hashes

Hashes for agent_control_sdk-8.4.0.tar.gz
Algorithm Hash digest
SHA256 9ae39255646708530f5d96666923e53c419ff66c3c62a1dc3630360455c0acc5
MD5 7cfc05e05b6bd1944ead8fb7f4c57b50
BLAKE2b-256 24cb0a7247d7c28fe5c5525d8be3d89075f0d283b01241f8d570576a64027b0f

See more details on using hashes here.

File details

Details for the file agent_control_sdk-8.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for agent_control_sdk-8.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a2ac7630787ebe283137c233c107b4e6823fe2c4c2df0e1e741dc97b3f8b11e3
MD5 5ff30ff8e695e880747bb1d79418e42e
BLAKE2b-256 a0eb5e34fa7dc85b4435806d9d2b696bea60b7a120bc8021bb5bd8311efc2f5d

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