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.1.1.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.1.1-py3-none-any.whl (131.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agent_control_sdk-8.1.1.tar.gz
  • Upload date:
  • Size: 197.1 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.1.1.tar.gz
Algorithm Hash digest
SHA256 d160aeac0a6e0055bd4db0c63192115fe00a53520b7abf9866146ac27c195765
MD5 5fba2d7cc149232bd851b5903914b4e5
BLAKE2b-256 10b5727537855c30caaef219d582a323528f4bf84268725a3f990f5e446cb67d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_control_sdk-8.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 13341ec29173ccb9d670cf44dd9c41b65fa2a5feceff675fd85160b421a118b8
MD5 72cd9e1d0a7811e1187e668e0c2287a0
BLAKE2b-256 4a4c5f3ffa5231d114a384b6b9a8e6c4333e59b6b0dee7c91aab2f1fac32070a

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