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.1.tar.gz (2.2 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.1-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: brack-0.5.1.tar.gz
  • Upload date:
  • Size: 2.2 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.1.tar.gz
Algorithm Hash digest
SHA256 3eeee557d09c16cd081f390f387b08b2bfaa5812f9cc92058976115fa13cc99d
MD5 3857e1f87ae0a5c1a94b60c1b0772c7c
BLAKE2b-256 f5a883812dee7754862ea87de9924b9045f4aebe9dd187472a1228e3ec46977d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: brack-0.5.1-py3-none-any.whl
  • Upload date:
  • Size: 2.3 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6390d8f72e93ff2f9352f7690643ad6e643abfa6d90d3bf5f0a8fa1f77a8eabd
MD5 da4a2b3433e9190748c625c9a318d3b5
BLAKE2b-256 3b7db1d2206c25262a053bafffd59f22cc15983f3ce54f0d43fd88ea88a09153

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