Skip to main content

Runtime security oracle for AI agents. Scan prompts, tool calls, and outputs before execution.

Project description

brack

Runtime security oracle for AI agents.

pip install brack
from brack import BrackClient

brack = BrackClient()  # free tier, 200 calls

result = brack.scan("user input here")
# {"verdict": "ALLOW", "confidence": 0.15, ...}

if brack.prompt_risk(user_input)["risk"] == "high":
    raise BlockedInput("injection detected")

Full docs: https://github.com/brack-6/brack

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

brack-0.5.2.tar.gz (8.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

brack-0.5.2-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file brack-0.5.2.tar.gz.

File metadata

  • Download URL: brack-0.5.2.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for brack-0.5.2.tar.gz
Algorithm Hash digest
SHA256 95173d9bb909168cba1a3126b9b7e1efa54b4306801679f74f2f735d57fba2ee
MD5 cec9d91cd74a80c0ece3cb97ea4b20ec
BLAKE2b-256 f59a109d717aec7a0d3ee4713584eb99d5f8e4c93fac77768da6fe4a5a970fa5

See more details on using hashes here.

File details

Details for the file brack-0.5.2-py3-none-any.whl.

File metadata

  • Download URL: brack-0.5.2-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.3

File hashes

Hashes for brack-0.5.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c22c728572d392c805ee54306032da9951597f02c6525b02a51d86b29db830d1
MD5 3750b97cb9e35359fd6eae09d32b095d
BLAKE2b-256 ab4e50e395cc3f640edcf36aecc1ee415d8a456171933cf3fb29ad862c95cb21

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