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.0.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.0-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: brack-0.5.0.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.0.tar.gz
Algorithm Hash digest
SHA256 b988069a945e461308b58a9c883ac1c05f16d48703b6159da5469c93b4f9db49
MD5 29beef292ebda6eb6b8845afe2511609
BLAKE2b-256 74bfe58cb77fb434a67a7138c0fc00be75c099205456e5db9fb35c2b4fdef0b9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: brack-0.5.0-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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 de55e8573e36b95f497eb1caf5366dccb164de0dc1e19c27fde793b8692417d4
MD5 ff87316b9cb7149f2ac72e446b7d628e
BLAKE2b-256 f5640ee94853dccf7f68fc1fbc58d33a626eed59794250a2ea32ae70249827f0

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