← All primitives

Locking / Concurrency

selected P0 /v1/locks

Why it matters: Prevent concurrent agents from corrupting shared foundational state without creating permanent deadlocks.

Lease-based distributed locks for shared resources, with ownership tokens and automatic expiry.

GitHub issue →

API endpoints

MethodPathDescription
POST/v1/locksAcquire a lock
POST/v1/locks/:id/releaseRelease a lock