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.3.2.tar.gz (150.2 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.3.2-py3-none-any.whl (101.8 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for agent_control_sdk-7.3.2.tar.gz
Algorithm Hash digest
SHA256 528608f3382fb7ee2830c09778995d26dbe5f8adb2826c4630087e4fba6e9f04
MD5 606e74e46203b548e9fb953cc8278eeb
BLAKE2b-256 a560ed9602f842819319bc93eb9db3560d3d33dc0a4aeb1e72f914780f41541d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_control_sdk-7.3.2-py3-none-any.whl
Algorithm Hash digest
SHA256 60403c04c478b200054bf85f0342ede13977247fa905bc5284bf6baa01fa9da0
MD5 cd9a0aad2946325c1228283e6ce676fa
BLAKE2b-256 c965638cf8652a32ddb50205082738a7ba38e95c30ebabe469786d9a0e0c5e84

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