AI product Open source
LATCH is a JSON/HTTPS contract between an AI agent and a service for performing consequential operations. It exposes discovery through `/.well-known/latch.json` and uses five operations—ask, quote, approve, commit, and status—to separate read requests from execution: a quote returns an exact offer and SHA-256 digest, approval binds a trusted-host or user decision to that digest, and commit requires the offer digest, approval, and an idempotency key before the provider performs the operation. Status returns a task and provider assertion receipt. The protocol requires no SDK or runtime dependencies; its Node.js reference implementation includes a client, server, and CLI, with an independent PHP provider and optional MCP bridge. It does not provide identity, payment processing, a registry, hosted proxy, or a guarantee of exactly-once external effects. The wire version is experimental, and the repository is released under the MIT license.
1 use taken from transcripts — each links to the moment in the video.
A tiny contract for how an AI agent asks a service to do something for real, like placing an order with one card and a single web endpoint. The agent gets a quote with a fingerprint, a person approves it, and only then can the agent commit.
1 in the library.