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-6.7.1.tar.gz (138.0 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-6.7.1-py3-none-any.whl (93.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agent_control_sdk-6.7.1.tar.gz
  • Upload date:
  • Size: 138.0 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-6.7.1.tar.gz
Algorithm Hash digest
SHA256 2f9c787f623201522fca81c961d00b5c40cc0c3f3f49fdaeafc418de5b817924
MD5 75d3aa63cb4bc740ffa8e9f5bcec7374
BLAKE2b-256 481e905890ce0362f83698c0451bd352da6ebb13f78a9af390fd3e6afb433e5f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_control_sdk-6.7.1-py3-none-any.whl
Algorithm Hash digest
SHA256 297a13c6728cd149d7e51f1e3576b99bba7e7d1dc6effb079dd461d89f30538f
MD5 91a4c47833c6fb7287569225bd935ff1
BLAKE2b-256 fdd164b53d711e374031a124f7b932d008029b3cc3da4bc2a4a045ff9e68a296

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