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-7.7.0.tar.gz (171.4 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-7.7.0-py3-none-any.whl (116.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agent_control_sdk-7.7.0.tar.gz
  • Upload date:
  • Size: 171.4 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-7.7.0.tar.gz
Algorithm Hash digest
SHA256 c2e0413504930bf788681d6221bde6139dc8c4cfe0554dda1ca48c078def5b43
MD5 4827289df25b6017cb9f3c76872737e4
BLAKE2b-256 011f984f7a6184c27b4218475abba793abb8a987a46a9dce9121ab6b191b2203

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_control_sdk-7.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 42cedc35616214d5c1e90a5a3196cba8af59748c9e0c40d536631d2850f73593
MD5 630fbc2f27f22bfa08c9b0d8271e0029
BLAKE2b-256 20c9b9b8db65140199968feb7e1bb7e1f224e022c55657faf8ad9742a49abe9b

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