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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agent_control_sdk-7.3.1.tar.gz.
File metadata
- Download URL: agent_control_sdk-7.3.1.tar.gz
- Upload date:
- Size: 149.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
e6ac6df65dade686d05268fe518dd7bd4a05d7fd26d8363ce9b4b1720888b423
|
|
| MD5 |
205650ebc4419994b71d169352e4aa35
|
|
| BLAKE2b-256 |
a3a2011bcc1fe4dbe0bd7ee8316911f0372e56706e8aae5658718c999eb3cf40
|
File details
Details for the file agent_control_sdk-7.3.1-py3-none-any.whl.
File metadata
- Download URL: agent_control_sdk-7.3.1-py3-none-any.whl
- Upload date:
- Size: 100.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18f9c9dcb791b01deb0758a58d0206551c5a04bc2b8985ecac409a738baa470e
|
|
| MD5 |
3dce3c3a7fc58963ec365fc57f79e57b
|
|
| BLAKE2b-256 |
c63d084c865926b3bb34f48a39e6b77544090517d8f7535a092e091f6ebe1066
|