Skip to main content

Native Rust-powered coordination kernel for multi-agent systems

Project description

klock

Python SDK for Klock OSS v1.

Use the high-level facade first:

from klock import Klock

klock = Klock.local(agent_id="agent-a")

with klock.file("/src/auth.js", mode="mutate"):
    # read/write safely
    ...

Klock.local(...) coordinates through the local Klock server under the hood and auto-starts it on the first lock operation for localhost workflows. Use Klock.embedded(...) only when all coordinated work happens inside one process.

Advanced clients are still available:

  • KlockClient for embedded low-level coordination
  • KlockHttpClient for direct HTTP coordinator access

Project details


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 Distribution

If you're not sure about the file name format, learn more about wheel file names.

klock-0.1.3-cp38-abi3-macosx_11_0_arm64.whl (1.4 MB view details)

Uploaded CPython 3.8+macOS 11.0+ ARM64

File details

Details for the file klock-0.1.3-cp38-abi3-macosx_11_0_arm64.whl.

File metadata

  • Download URL: klock-0.1.3-cp38-abi3-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 1.4 MB
  • Tags: CPython 3.8+, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for klock-0.1.3-cp38-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7cd70b6931f95380a269d6238d5aca7ed0bae09f89c68ae66f345a97143761d8
MD5 45284f2e55d476805985ce4280fc312a
BLAKE2b-256 f321027ff18aa3981288817877941928cab2574c6048aedfa5089c11eca343cc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page