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.8.0.tar.gz (138.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-6.8.0-py3-none-any.whl (94.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: agent_control_sdk-6.8.0.tar.gz
  • Upload date:
  • Size: 138.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-6.8.0.tar.gz
Algorithm Hash digest
SHA256 2e256d2eb76f3c07d4d1a9f4566523a362ef9b7e777999b4e51b9d4034b9d550
MD5 b2d96090c0ad904e258f5eb2f6e8efa5
BLAKE2b-256 ab32a211256d3f30bfbbab2b811e2cf646063d9b31007aff268e33c0d81cd5f2

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for agent_control_sdk-6.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 d5686b6b696ff42f2db43334e1a741df5efa2ad9f76ed3568ddda80c28cbcccc
MD5 f92362e2918733f58ddcac0f37914726
BLAKE2b-256 8de44dbb60408b3a53f92b8a9884b2731fb240022f7e046b587bfeeb3b89ed53

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