Skip to main content

Python SDK for Agent Control - protect your AI agents with controls

Project description

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.

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

agent_control_sdk-8.0.0.tar.gz (196.9 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.0.0-py3-none-any.whl (130.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for agent_control_sdk-8.0.0.tar.gz
Algorithm Hash digest
SHA256 d3303be83ee630f5406ce931f3af8f2100471707394d0e4e004dff82581c4dff
MD5 ae2e13b51e20f96f8f671caf577e10bd
BLAKE2b-256 bcfc90de524af9d6d3418045a36e9f6b8b0a7a5b2df2c877c65d89b46afe7c4b

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_control_sdk-8.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3eae07270be01cd040b08f22aa08cf48c4046eaffd1e7a48566e5f183f9d9b43
MD5 b0e64db5f93e5c303f0d9edf30304587
BLAKE2b-256 236f7a07c7b3278e7578310e06097df53b4b7160d4e5c31bd579bf3ca77a16de

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