Skip to main content

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, load_catalog

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

Contents

File Purpose
enums.schema.json AgentType, HookEventType, Verdict, AgentFunction, ChurnLayer
event-envelope.schema.json EventEnvelope wire-format
action-envelope.schema.json ActionEnvelope — the optional normalized data.action of an event
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
contract-catalog.schema.json Shape of the retained protocol-family catalogue
contracts/ Catalogue, v1/v2 fixtures, generated compatibility matrix and negotiation grammar

The schema package has its own release line. Contract-family integers in the catalogue are independent from both package and client-binary SemVer.

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.

Licence

Proprietary. This package is part of the commercial OpenLatch client and is licensed only under OpenLatch's commercial terms; see the LICENSE file shipped with this package and openlatch.ai.

Metadata

Release files for openlatch-client-schemas 4.8.0

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 4.8.0
File Size Uploaded Provenance Actions
openlatch_client_schemas-4.8.0.tar.gz 128.5 kB With provenance Details for openlatch_client_schemas-4.8.0.tar.gz

Built distribution (wheel)

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

Total release size: 542.9 kB

Release files / openlatch_client_schemas-4.8.0.tar.gz

Download URL openlatch_client_schemas-4.8.0.tar.gz
Size 128.5 kB
Tags Source
SHA-256 checksum
How to use checksums
197684a1547083f8bc5f3b8bd5579e277ef3203af269fb42eea9044858e1e856
BLAKE2b-256 checksum
How to use checksums
96e39ebaa6e86894a0ff0b3c36eef3cb4ef9c37e0ded0e347159a904eb7c04ca
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 29, 2026.

Transparency log

Release files / openlatch_client_schemas-4.8.0-py3-none-any.whl

Download URL openlatch_client_schemas-4.8.0-py3-none-any.whl
Size 414.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d1ae03eca708f7c69e75d1b2fc1752c6aa926d7112540d663cfe3dc7a83b5063
BLAKE2b-256 checksum
How to use checksums
616e7426125fd019f656bdec7a8c98be1a9d0d8d7996551663f2fb9a76061def
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 Oct 29, 2026.

Transparency log

Security for openlatch-client-schemas 4.8.0

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

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for openlatch_client_schemas-4.8.0.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 Oct 29, 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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

4.8.0 This release

2 release files Full provenance

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