MCP.so
ログイン

Agent Coherence

@hipvlady

Agent Coherence について

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

基本情報

カテゴリ

ファイルとストレージ

ライセンス

NOASSERTION

ランタイム

python

公開者

hipvlady

投稿者

Vlad Parakhin

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

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

ツール

ツールは検出されませんでした

ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。

概要

What is agent-coherence?

A coherence guard for shared files: when two agents (or sessions) write the same artifact, the stale writer is denied instead of silently overwriting — then reacquires and retries. Same protocol across LangGraph, CrewAI, AutoGen, the OpenAI Agents SDK, plain files (CoherentVolume), and any MCP client (stale-write-guard-fs).

How to use it

MCP: pip install "agent-coherence[mcp]", then run stale-write-guard-fs. Library: pip install agent-coherence and use CoherentVolume, or the CCSStore LangGraph drop-in.

Key features

  • 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

Honest scope

Single-host today: concurrent same-key writers on one host are covered; cross-host fencing is on the roadmap, demand-gated.

コメント

「ファイルとストレージ」の他のコンテンツ