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.0-cp39-abi3-win_amd64.whl (2.7 MB view details)

Uploaded CPython 3.9+Windows x86-64

watchlight_engine-0.1.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (2.6 MB view details)

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

watchlight_engine-0.1.0-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.0-cp39-abi3-macosx_11_0_arm64.whl (2.4 MB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

watchlight_engine-0.1.0-cp39-abi3-macosx_10_12_x86_64.whl (2.5 MB view details)

Uploaded CPython 3.9+macOS 10.12+ x86-64

File details

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

File metadata

File hashes

Hashes for watchlight_engine-0.1.0-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 8e140ac9817b4226c8c3b65a338ea84c316040f01f1f68ea352b706b4dd79198
MD5 03fee9a8762c2736e6b02ae8fecb5cc0
BLAKE2b-256 d05e2a402dca9131272aab4557e6c25775914c99038342d8022fdcb7c621528b

See more details on using hashes here.

Provenance

The following attestation bundles were made for watchlight_engine-0.1.0-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.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for watchlight_engine-0.1.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 250e570f03785f1dd01563f7fa8d996f93b8b8bb3f7fa18441f99e09e20c662d
MD5 5f9e81dee79b0c23d070191ea2f8b5fb
BLAKE2b-256 84a0be7330bb0866bbe8d4c7e6d330945fe940902d898661e246f058602678f1

See more details on using hashes here.

Provenance

The following attestation bundles were made for watchlight_engine-0.1.0-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.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for watchlight_engine-0.1.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 af7c3d2fa7c0f956dd8f467ec3555af6c56ce35827e738552c56385cc2851453
MD5 0a434e63c643f52700bb55ae242bf78b
BLAKE2b-256 989cb6bf18aebd2125dfadbd5fbe8d05a95119520198400d3d0b86325c481710

See more details on using hashes here.

Provenance

The following attestation bundles were made for watchlight_engine-0.1.0-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.0-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for watchlight_engine-0.1.0-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 83e4e913f043db540b77206ab0512626722ee3d8020093790699c2647ebba3ae
MD5 4df4f4c39bca799056e40c491a5d64f2
BLAKE2b-256 277ad088c3eabebdbfe81e37ef2a09ae4cc30d0e3eb1282a86e8665fb4cc56cd

See more details on using hashes here.

Provenance

The following attestation bundles were made for watchlight_engine-0.1.0-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.0-cp39-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for watchlight_engine-0.1.0-cp39-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 b418aa9a6166095bdfe815669d9145617391901e8067e9c30d094676b95e44cc
MD5 a8bb30bed26f722871e20136bffc6e59
BLAKE2b-256 e3b391088d21e47f5e44320058f6d719cdf70881e829b9a8b2129196b66cb92b

See more details on using hashes here.

Provenance

The following attestation bundles were made for watchlight_engine-0.1.0-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