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.0.0.tar.gz (145.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.0.0-py3-none-any.whl (99.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agent_control_sdk-7.0.0.tar.gz
  • Upload date:
  • Size: 145.4 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.0.0.tar.gz
Algorithm Hash digest
SHA256 294e9fecc1ac25c19dcf2ba4b87d00868ef1946648d8da6a37e9801e274d66e6
MD5 9a2f6d289da5c236706f8ef8d171e328
BLAKE2b-256 7c720c9d30b9964c425e3ad96b4db23297446b56dde2c16eed3f2c3d01e84b73

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_control_sdk-7.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 81f327e47f7e8460934b20b63b8bbc775858199a7e722d7bc798729acc828492
MD5 9f9a6f52366e1b2d4ba0c33db2bfd45e
BLAKE2b-256 393ac319147592722e493731bc2d28ca2b64a9434de603fd577d6311916ebdee

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