Skip to main content

Runtime protection for AI agents. Guard your agent's inputs with your Alovia fleet key.

Project description

alovia-watchdog

Runtime protection for AI agents. Guard your agent's inputs with your Alovia fleet key.

Install

pip install alovia-watchdog

Use

from alovia_watchdog import Watchdog, guard_input

wd = Watchdog(api_key="wd_live_...")

@guard_input(wd, agent="support-bot")
def handle(message):
    ...

guard_input raises WatchdogBlocked when a message is blocked, so the wrapped function never runs on a malicious input. On a network error it honors fail_mode ("closed" blocks, "open" allows).

You can also check directly:

verdict = wd.check("some user input", agent="support-bot")
if verdict.blocked:
    ...

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

alovia_watchdog-0.1.0.tar.gz (3.3 kB view details)

Uploaded Source

Built Distribution

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

alovia_watchdog-0.1.0-py3-none-any.whl (3.4 kB view details)

Uploaded Python 3

File details

Details for the file alovia_watchdog-0.1.0.tar.gz.

File metadata

  • Download URL: alovia_watchdog-0.1.0.tar.gz
  • Upload date:
  • Size: 3.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.6

File hashes

Hashes for alovia_watchdog-0.1.0.tar.gz
Algorithm Hash digest
SHA256 cb69448ede2e0d1ef69bce7b30bdf93d92b0f741c36a1c46c0afde04b43393a6
MD5 392404c90bc3d83e99c1ee2a753a56f9
BLAKE2b-256 50bceef65801ba98256035435ed73aec0cf9c9f53a243928fa70255c1ead24fd

See more details on using hashes here.

File details

Details for the file alovia_watchdog-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for alovia_watchdog-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 57a1f238ea1e3674aba00e1b2720744f66564fd71490a92e2b27d32be0fa5bb5
MD5 f5a9ab47947166da254c5d2dc08107a7
BLAKE2b-256 7bc9e5d0cea7a894c286995e0bf8fd1dbb669ea0a118011c6566eda3ec20f82e

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