Memory governance for multi-agent systems.
As agents move from single-turn chat to long-running collaboration, the bottleneck shifts from model size to memory quality:
- Trustworthy memory (verifiable, traceable)
- Controllable memory (role-aware disclosure, revocable)
- Evolvable memory (inheritance, rollback, branch comparison)
Attack on Memory is a protocol-oriented memory layer for multi-agent systems: Graph Retrieval + Time-window Retrieval + Governance + BranchWorldModel.
# 1) unit tests
PYTHONPATH=src python3 -m unittest discover -s tests -v
# 2) scenario validation
PYTHONPATH=src python3 examples/validate_scenarios.py
# 3) simulation demo
PYTHONPATH=src python3 examples/simulation_runner.py- Domain model and runtime memory packet design
- Governance policies (selective disclosure, emergency controls)
- Scenario-driven simulation and validation
- OpenClaw adapter for context injection + writeback
- CI + Scorecard + Dependabot + contribution governance
- Baseline report:
docs/benchmarks/v0.1-baseline.md - Snapshot report:
docs/benchmarks/v0.1-benchmark-snapshot.md - Raw latest results:
docs/benchmarks/latest-results.json - Snapshot generator:
scripts/generate_benchmark_snapshot.py
- Architecture:
docs/architecture.md - Scenario spec:
docs/scenario-spec.md - Experiments and value:
docs/experiments-and-value.md - OpenClaw integration:
docs/openclaw-integration.md - Threat model:
docs/threat-model.md - FAQ:
docs/FAQ.md - Starter contribution walkthrough:
docs/STARTER_PR_WALKTHROUGH.md
src/attack_on_memory/domain/– core modelssrc/attack_on_memory/application/– retrieval and orchestrationsrc/attack_on_memory/governance/– policy layersrc/attack_on_memory/runtime/– runtime adapters and contextsrc/attack_on_memory/infrastructure/– in-memory and backend adaptersexamples/– scenarios, validation, simulation runnertests/– unit tests and adapter wiring tests
- Security policy:
SECURITY.md - Code of conduct:
CODE_OF_CONDUCT.md - Contribution guide:
CONTRIBUTING.md
- Replay-derived benchmark (beyond scenario-derived baseline)
- Pluggable vector index adapter
- Pluggable graph backend adapters
- Stronger anti-poisoning governance and observability
MIT