About Agent Coherence
Agent Coherence is an MCP server in the Agents category: the data integrity layer that stops AI agents from silently corrupting shared state — across sessions, time, and concurrent runs.
Install
git clone https://github.com/hipvlady/agent-coherenceThis server has no ConduID identity, so agent calls to it are not receipted. Pin the version you install and review the source before granting it credentials.
Tools (6)
swg_gateEffect fence — re-checks the `(version, owner_generation)` pair from your `swg_read` right before an irreversible external action (a webhook, a deploy, an opened PR), and denies if the value moved OR the grant it was read under was reclaimed OR a peer's write-claim preempted it (which moves neither comparand — the fence also re-checks that the grant still stands)
Parameters not published.
swg_reacquireRecovery — fresh identity + mandatory fresh read after a deny
Parameters not published.
swg_readTracked read — registers the agent's view of the file
Parameters not published.
swg_statusThree-state coordination health: `on` / `off` / `unknown`
Parameters not published.
swg_writeGuarded write — a stale view or a foreign edit gets a typed `stale_view` deny with `recover: reacquire`, never a silent overwrite
Parameters not published.
swg_write_casSingle-shot version-checked write for concurrent same-key contention
Parameters not published.
Ask AI
Ask AI about Agent Coherence
Powered by Claude · Grounded in docs
Security checks
6 checks have not been run yet.