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.

Metadata

Release files for watchlight-engine 0.2.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for watchlight-engine 0.2.0
File
watchlight_engine-0.2.0-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details
watchlight_engine-0.2.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 abi3 Linux glibc 2.17+ x86-64 Details
watchlight_engine-0.2.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl CPython 3.9 abi3 Linux glibc 2.17+ ARM64 Details
watchlight_engine-0.2.0-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details
watchlight_engine-0.2.0-cp39-abi3-macosx_10_12_x86_64.whl CPython 3.9 abi3 macOS 10.12+ x86-64 Details

Total release size: 13.0 MB

Release files / watchlight_engine-0.2.0-cp39-abi3-win_amd64.whl

Download URL watchlight_engine-0.2.0-cp39-abi3-win_amd64.whl
Size 2.8 MB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
058411f8e3270d4e075e1ca80883f953f71dc8352cdaae31ee347ed31f12a4ac
BLAKE2b-256 checksum
How to use checksums
e6c96c162bdc8aad3b4d4c1a4030c1885512b5b378b9c99f68c2aaab8d850bbe
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 4, 2026.

Transparency log

Release files / watchlight_engine-0.2.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL watchlight_engine-0.2.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 2.7 MB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
78c070e37fe11081d1e58c40bc25162659a2c268a51bbbad1149131274de14c7
BLAKE2b-256 checksum
How to use checksums
b1beaecd7c198498c268cfad0685270ff1dc493881da759b5342c5b1f3af6989
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 4, 2026.

Transparency log

Release files / watchlight_engine-0.2.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl

Download URL watchlight_engine-0.2.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Size 2.5 MB
Tags CPython 3.9 Linux glibc 2.17+ ARM64 abi3
SHA-256 checksum
How to use checksums
11ee0cf20f527da00d1fcc63891caa603af816114667b8e17aacc123ef16d0c2
BLAKE2b-256 checksum
How to use checksums
893c6b66d2a288f1046700411d518e076f3d14421bb63eefbbe24387a5ba6fea
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 4, 2026.

Transparency log

Release files / watchlight_engine-0.2.0-cp39-abi3-macosx_11_0_arm64.whl

Download URL watchlight_engine-0.2.0-cp39-abi3-macosx_11_0_arm64.whl
Size 2.4 MB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
354542420fef1e384e7457db9fac17be0a009044f6c623223315c1b13faefa1d
BLAKE2b-256 checksum
How to use checksums
404b5f0d15a8d529e2d5473328dbc9b05a41098511adf72dcf2a651331700f94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 4, 2026.

Transparency log

Release files / watchlight_engine-0.2.0-cp39-abi3-macosx_10_12_x86_64.whl

Download URL watchlight_engine-0.2.0-cp39-abi3-macosx_10_12_x86_64.whl
Size 2.6 MB
Tags CPython 3.9 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
a9686bcded5c59d68bd774fe4ab487bf0f56c397e468bd0500ed112d58ca0980
BLAKE2b-256 checksum
How to use checksums
67ff230d850c7766c086a3bae789709549b9c257be041b03c4fef9213ecaa645
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 4, 2026.

Transparency log

Release history Release notifications | RSS feed

0.2.2

5 release files

0.2.1

5 release files

This release

0.2.0 This release

5 release files

0.1.3

5 release files

0.1.2

5 release files

0.1.1

5 release files

0.1.0

5 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page