Skip to main content

watchlight-engine

The in-process authorization engine behind Watchlight Developer Edition.

watchlight-engine lets a Python agent make a real authorization decision — ALLOW / DENY — for a tool call, in-process, with zero infrastructure: no database, no network, no sidecar. It ships as a prebuilt, self-contained compiled wheel.

Most developers want the watchlight package, the Developer Edition with an ergonomic decorator API. This watchlight-engine package is the lower-level engine it embeds — install it directly only if you are building on the engine yourself.

Install

pip install watchlight-engine

Prebuilt wheels are provided for Linux (x86_64, aarch64), macOS (Apple Silicon and Intel), and Windows (x64), for CPython 3.9 and newer. No Rust toolchain is required.

Quickstart

import watchlight_engine

engine = watchlight_engine.PolicyEngine()
assert engine.ready()

# Load a policy, then authorize a request — a real decision, in-process.
engine.add_policy(policy_json)
decision = engine.authorize(request_json)
print(decision)   # -> Allow / Deny with the governing reason

See the Watchlight documentation for policy and request shapes, and the Developer Edition guide for the full workflow.

What you get

  • A real, in-process policy decision — the same authorization engine that powers the Watchlight platform, embedded so you can enforce governance without standing up any services.
  • Fail-closed by design: ambiguity denies.
  • A single prebuilt wheel per platform — install and go.

Developer Edition vs. Enterprise

The Developer Edition is for building and evaluating locally. The full Watchlight platform adds the governed control plane — centralized policy, tamper-evident lineage and audit, runtime enforcement across your fleet, drift and anomaly detection, secrets brokering, and the operator dashboard. See watchlight.ai to learn more.

License

Proprietary — licensed software, not open source. Copyright © Watchlight AI, LLC. All rights reserved.

The Developer Edition license lets you install and use watchlight-engine for free for internal development, testing, and evaluation. Production, commercial, or third-party-service use requires a commercial license — contact legal@watchlight.ai. Redistribution, reverse-engineering, and sublicensing are not permitted. See the bundled LICENSE for the full terms.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

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

watchlight_engine-0.1.2-cp39-abi3-win_amd64.whl (2.7 MB view details)

Uploaded CPython 3.9+Windows x86-64

watchlight_engine-0.1.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.7 MB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ x86-64

watchlight_engine-0.1.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (2.5 MB view details)

Uploaded CPython 3.9+manylinux: glibc 2.17+ ARM64

watchlight_engine-0.1.2-cp39-abi3-macosx_11_0_arm64.whl (2.4 MB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

watchlight_engine-0.1.2-cp39-abi3-macosx_10_12_x86_64.whl (2.6 MB view details)

Uploaded CPython 3.9+macOS 10.12+ x86-64

File details

Details for the file watchlight_engine-0.1.2-cp39-abi3-win_amd64.whl.

File metadata

File hashes

Hashes for watchlight_engine-0.1.2-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 c548e21a89ca5cfc185aae712496ae547e0f9c44dd8db4157ad79bc501b65c2d
MD5 bd927793d0b4108134df3a02ddfbf1ed
BLAKE2b-256 07775f7d5f8850db46b16ef855bfce21b481794db92d14e545bcb72cba47d7ec

See more details on using hashes here.

Provenance

The following attestation bundles were made for watchlight_engine-0.1.2-cp39-abi3-win_amd64.whl:

Publisher: publish-watchlight-engine.yml on watchlight-ai-beacon/watchlight-beacon

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file watchlight_engine-0.1.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for watchlight_engine-0.1.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 7580d14c6d4cb60d9831715715fa0eb12872f2dcb669877b7a4ba2b329371ef5
MD5 9f9b43188ea6ec85ab97144c47d3809e
BLAKE2b-256 8ae69f982f60b1eb732052b0e74ae0018e06a85c8b870565cd9be34889b531d4

See more details on using hashes here.

Provenance

The following attestation bundles were made for watchlight_engine-0.1.2-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: publish-watchlight-engine.yml on watchlight-ai-beacon/watchlight-beacon

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file watchlight_engine-0.1.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for watchlight_engine-0.1.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 1e66b3f9e54d48bab6d35f6919aca48228436926ae52667246c48d7a6ec649af
MD5 7fc48b0e5aeeeaddf164d1d96bae43c8
BLAKE2b-256 58581535b56472922639b69eb28954012de19c96e423d6133370104f9c954e9a

See more details on using hashes here.

Provenance

The following attestation bundles were made for watchlight_engine-0.1.2-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: publish-watchlight-engine.yml on watchlight-ai-beacon/watchlight-beacon

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file watchlight_engine-0.1.2-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for watchlight_engine-0.1.2-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a25ff97188a6feeb2c40edebea3b650337970db4ff33dc8f11b94c0cbf6671c9
MD5 2530b60541fbb0852722f7d78f291059
BLAKE2b-256 b395895465806c466367326c99a5f98833252cf907b367c93191734851d0b99e

See more details on using hashes here.

Provenance

The following attestation bundles were made for watchlight_engine-0.1.2-cp39-abi3-macosx_11_0_arm64.whl:

Publisher: publish-watchlight-engine.yml on watchlight-ai-beacon/watchlight-beacon

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file watchlight_engine-0.1.2-cp39-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for watchlight_engine-0.1.2-cp39-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 d2abfd32d00271814fa1d94b1916bffba414fcb4ade307b45143ab6edf4d6ff4
MD5 86dce471b74944b5d4c3f871a48c80c9
BLAKE2b-256 137b582bbd3d9706558305b333a9ff05695869473ec9293c2bdcd572275ec235

See more details on using hashes here.

Provenance

The following attestation bundles were made for watchlight_engine-0.1.2-cp39-abi3-macosx_10_12_x86_64.whl:

Publisher: publish-watchlight-engine.yml on watchlight-ai-beacon/watchlight-beacon

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page