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.6.0.tar.gz (162.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.6.0-py3-none-any.whl (110.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agent_control_sdk-7.6.0.tar.gz
  • Upload date:
  • Size: 162.2 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.6.0.tar.gz
Algorithm Hash digest
SHA256 6471577d7b87949cd3dad34d82dcc829cf790a613f4732271810de22202567e4
MD5 6bd7ef875b1e27fb0a157f82b0a65438
BLAKE2b-256 4ff702d90d59dfa89088031f0119ed93cc8f06de181a5a05ca6f7c40ff0238b8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_control_sdk-7.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 135c964462399e3dd43a58a8586e26074fa3e1f234647269e16cdb677456f64f
MD5 cb92c8edf9d6d17f4ecc57ba2b53a16a
BLAKE2b-256 bddd1b2cbdf78e306134cfd26ac47733994fbd9e9c82747ba84719b9d9ca6d1c

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