Skip to main content

MESI-style artifact coherence for multi-agent AI systems

Project description

agent-coherence — The Coherence Protocol for AI Agents

CI

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

agent_coherence-0.1.0.tar.gz (42.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

agent_coherence-0.1.0-py3-none-any.whl (47.3 kB view details)

Uploaded Python 3

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

Hashes for agent_coherence-0.1.0.tar.gz
Algorithm Hash digest
SHA256 afd8d03f36daf510192d4239f00c6ff2d1d5de2a80af0d2cb7711247d47ec684
MD5 765b3c3c048989a7a0515f450a392511
BLAKE2b-256 bf2248dc6fc54b2deb46bae3ecee9979b4de5ecb98f955ca3aa4ba4559330575

See more details on using hashes here.

Provenance

The following attestation bundles were made for agent_coherence-0.1.0.tar.gz:

Publisher: publish.yml on hipvlady/agent-coherence

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file agent_coherence-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for agent_coherence-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a0d178c6b20c31e048699451c353ae5231b7e0a1e2c6a7d1ac0578b2a448e43a
MD5 47a25e5da4bd5fb734de0f887ddca686
BLAKE2b-256 36e20ac2ebf00407d7f6113e10df91548c72aa76ac2ff329dacd0f84e77c556e

See more details on using hashes here.

Provenance

The following attestation bundles were made for agent_coherence-0.1.0-py3-none-any.whl:

Publisher: publish.yml on hipvlady/agent-coherence

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page