Skip to content

agentmutex v0.1.0

Choose a tag to compare

@DIodide DIodide released this 27 Jul 21:39
· 10 commits to main since this release
3e954f3

Initial release: semantic mutexes for AI agents — no daemon, no server, just files.

  • Token-based leases with TTLs on semantic keys (deploy:staging, account:12345)
  • Pessimistic orchestration: blocking acquire with an on-disk FIFO queue
  • agentmutex run <key> -- <cmd>: acquire → auto-renew → always release; exits 14 if the lease is lost mid-command
  • Monitoring: status/list/wait with --json; force-release (dry-run by default) and prune for cleanup
  • Stable exit codes for agent branching (10 held · 11 timeout · 12 not holder · 13 not held · 14 lease lost)
  • Claude Code skills included: skills/agentmutex (locking discipline) and skills/agentmutex-monitoring

Install: go install github.com/DIodide/agentmutex@latest

See docs/DESIGN.md for the on-disk protocol and crash matrix.