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.1.0.tar.gz (145.5 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.1.0-py3-none-any.whl (99.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agent_control_sdk-7.1.0.tar.gz
  • Upload date:
  • Size: 145.5 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.1.0.tar.gz
Algorithm Hash digest
SHA256 5ac17ec4cba5c2beba0f08e376e7068904013057fedbadc475c4a36b3b5a483a
MD5 cd0da0163c5f338470a82046c5ad7850
BLAKE2b-256 ef2f9bc048590255c2f2ff63906caf1a4a16fc150af51e19c9bd2c824525418f

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_control_sdk-7.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6bb8b11ef855c2c2f9549a1059e5398e995ca238c21e2d9cca3e29eb8b1e27e5
MD5 640fa760348c2e81ca99b5296d6dbc47
BLAKE2b-256 726ecdd4db10792ea218f80c946642f15493834e9078396c093628bc92aae766

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