Agent Coherence

by Cohexa

10 stars
403 downloads
Not rated
GitHub Website

About

Stop AI agents from silently overwriting each other's shared files — a single-host coherence guard, TLA+-verified.

Details

Author
Cohexa
GitHub stars
10
Downloads
403
Categories
Other

- MESI single-writer ownership + invalidation — a stale write is denied fail-closed
- Optimistic commit-CAS for concurrent same-key writers
- Read-generation fence for crash-reclaimed writers
- Five safety invariants machine-checked in TLA+ (make tla-check in CI)
- MCP server (5 tools), LangGraph/CrewAI/AutoGen adapters, Claude Code plugin

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name Agent Coherence
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "agent coherence": {
            "stale-write-guard-fs": {
                "command": "uvx",
                "args": [
                    "--from",
                    "agent-coherence[mcp]",
                    "stale-write-guard-fs"
                ]
            }
        }
    }
}

McpServers

{
    "stale-write-guard-fs": {
        "command": "uvx",
        "args": [
            "--from",
            "agent-coherence[mcp]",
            "stale-write-guard-fs"
        ]
    }
}

Stop AI agents from silently overwriting each other's shared files — a single-host coherence guard, TLA+-verified.

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.