Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

openlatch-client-schemas

Canonical JSON Schemas for the openlatch-client wire format. This package is the source of truth for the contract between openlatch-client (Rust) and openlatch-platform (Python + React).

OpenLatch is the agent-agnostic execution control layer for enterprise AI agents. The client is its capture-and-enforce adapter, running inside the agent's execution path; the platform authors the policy it evaluates. These schemas are what the two exchange.

Usage

from openlatch_client_schemas import schemas_path, load, load_all

schemas_path()                 # pathlib.Path to the bundled schemas/ directory
load_all()                     # {"enums": {...}, "event-envelope": {...}, ...}
load("event-envelope")         # parsed schema for one file

Contents

File Purpose
enums.schema.json AgentType, HookEventType, Verdict, AgentFunction, ChurnLayer
event-envelope.schema.json EventEnvelope wire-format
verdict-response.schema.json VerdictResponse returned to agent hooks
policy-bundle.schema.json PolicyBundle — the compiled rules the client holds resident and evaluates locally
cloud-ingestion-request.schema.json CloudIngestionRequest sent to platform
cloud-ingestion-response.schema.json CloudIngestionResponse from platform
auth-me-response.schema.json AuthMeResponse for /api/v1/users/me

Version is synchronized with the openlatch-client crate — every published version corresponds to the binary release of the same version.

Breaking Changes

Breaking schema changes require a major version bump. Consumers pinning an exact version will not be silently broken. See the openlatch-client CHANGELOG for what changed.

Metadata

Release files for openlatch-client-schemas 2.0.0rc3

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

Source distribution (sdist)

Source distribution for openlatch-client-schemas 2.0.0rc3
File Size Uploaded Provenance
openlatch_client_schemas-2.0.0rc3.tar.gz 34.9 kB With provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for openlatch-client-schemas 2.0.0rc3
File Interpreter ABI Platform
openlatch_client_schemas-2.0.0rc3-py3-none-any.whl Python 3 none any Details

Total release size: 73.9 kB

Release files / openlatch_client_schemas-2.0.0rc3.tar.gz

Download URL openlatch_client_schemas-2.0.0rc3.tar.gz
Size 34.9 kB
Tags Source
SHA-256 checksum
How to use checksums
a8a68ea9bd331dabc8f5d0e5e6f8d1d919c8d130ef78eb89b0908d653e88b7f2
BLAKE2b-256 checksum
How to use checksums
80ceec7d3fe0084cab944d8a191d5a7a4b02262d4369f7716519883fd6a87113
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 13, 2026.

Transparency log

Release files / openlatch_client_schemas-2.0.0rc3-py3-none-any.whl

Download URL openlatch_client_schemas-2.0.0rc3-py3-none-any.whl
Size 39.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1f2c9488798420ea54b363922f2316771fb0536f6638c7ee3885e16a8ba4c337
BLAKE2b-256 checksum
How to use checksums
851b485752cecaa5186f63f4a7c211cfaaa8beadca572ff13da494aadcdcb8d6
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 13, 2026.

Transparency log

Security for openlatch-client-schemas 2.0.0rc3

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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for openlatch_client_schemas-2.0.0rc3.tar.gz

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 13, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release
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