MESI-style artifact coherence for multi-agent AI systems
Project description
agent-coherence — The Coherence Protocol for AI Agents
agent-coherence implements MESI-style cache coherence for shared artifacts in multi-agent LLM systems, reducing synchronization token overhead and preventing stale-context coordination failures.
Install
pip install agent-coherence
Quick start
from ccs.simulation.engine import run_strategy_comparison
from ccs.simulation.scenarios import load_scenario
scenario = load_scenario("benchmarks/scenarios/planning_canonical.yaml")
report = run_strategy_comparison(scenario, strategies=["eager", "lazy"], runs=5, seed_start=20260305)
print(report.to_dict()["aggregated"])
Reproduce benchmark artifacts
bash reproduce.sh
See REPRODUCE.md for full output mapping and baseline verification details.
Paper
Token Coherence: MESI-Style Cache Coherence for Shared Artifacts in Multi-Agent LLM Systems
License
Apache-2.0 (LICENSE)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file agent_coherence-0.1.0.tar.gz.
File metadata
- Download URL: agent_coherence-0.1.0.tar.gz
- Upload date:
- Size: 42.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
afd8d03f36daf510192d4239f00c6ff2d1d5de2a80af0d2cb7711247d47ec684
|
|
| MD5 |
765b3c3c048989a7a0515f450a392511
|
|
| BLAKE2b-256 |
bf2248dc6fc54b2deb46bae3ecee9979b4de5ecb98f955ca3aa4ba4559330575
|
Provenance
The following attestation bundles were made for agent_coherence-0.1.0.tar.gz:
Publisher:
publish.yml on hipvlady/agent-coherence
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agent_coherence-0.1.0.tar.gz -
Subject digest:
afd8d03f36daf510192d4239f00c6ff2d1d5de2a80af0d2cb7711247d47ec684 - Sigstore transparency entry: 1073194601
- Sigstore integration time:
-
Permalink:
hipvlady/agent-coherence@813e3a30a0e74a913f15b7107a88f53b67fd8518 -
Branch / Tag:
refs/tags/v01 - Owner: https://github.com/hipvlady
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@813e3a30a0e74a913f15b7107a88f53b67fd8518 -
Trigger Event:
push
-
Statement type:
File details
Details for the file agent_coherence-0.1.0-py3-none-any.whl.
File metadata
- Download URL: agent_coherence-0.1.0-py3-none-any.whl
- Upload date:
- Size: 47.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a0d178c6b20c31e048699451c353ae5231b7e0a1e2c6a7d1ac0578b2a448e43a
|
|
| MD5 |
47a25e5da4bd5fb734de0f887ddca686
|
|
| BLAKE2b-256 |
36e20ac2ebf00407d7f6113e10df91548c72aa76ac2ff329dacd0f84e77c556e
|
Provenance
The following attestation bundles were made for agent_coherence-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on hipvlady/agent-coherence
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
agent_coherence-0.1.0-py3-none-any.whl -
Subject digest:
a0d178c6b20c31e048699451c353ae5231b7e0a1e2c6a7d1ac0578b2a448e43a - Sigstore transparency entry: 1073194775
- Sigstore integration time:
-
Permalink:
hipvlady/agent-coherence@813e3a30a0e74a913f15b7107a88f53b67fd8518 -
Branch / Tag:
refs/tags/v01 - Owner: https://github.com/hipvlady
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@813e3a30a0e74a913f15b7107a88f53b67fd8518 -
Trigger Event:
push
-
Statement type: