commonmemory
Shared cross-agent memory convention and notebook built on the agentmemory signal bus.
Problem Solved
In standard multi-agent workflows, each agent maintains its own ephemeral context window. When Claude discovers a subtle dependency bug or project convention, that insight is lost when a subagent exits, and remains invisible to the Antigravity peer unless manually repeated in prompts.
commonmemory establishes a standardized tagging convention and persistent memory notebook that both Claude Code and Antigravity can write to and query dynamically.
Main Capabilities
- Structured Fact Tagging: Categorizes project learnings under standard tags (
decisions,gotchas,bugfix,architecture). - Cross-Session Persistence: Keeps critical repository knowledge available across separate terminal invocations.
- Proactive Context Injection: Teaches agents when to consult the shared memory store before planning new features.
- Zero Cloud Relays: Operates locally via the lightweight
@agentmemory/agentmemorypackage.
Installation & Setup
1. Ensure the @agentmemory/agentmemory dependency is installed:
npm install -g @agentmemory/agentmemory2. Install the Clavity plugin:
claude plugin install commonmemory@clavityRequirements & Prerequisites
| Requirement | Specification |
|---|---|
| Runtime Dependency | Node.js / npm (for @agentmemory/agentmemory) |
| Host Plugin | Clavity Bridge (clavity-dotnet or clavity-classic) |
| Supported Agents | Claude Code and Google Antigravity |
Known Limitations
- Requires Node.js runtime on PATH to support the agentmemory CLI bus.
- Memory entries are scoped to the active workspace repository.
GitHub Destination
View source code and specifications in the repository: commonmemory on GitHub.
Related Products
-
Clavity Bridge
Flagship
The primary driver-peer Language Server connecting Claude and Antigravity.
-
review-relay
Add-on
Assisted review rounds with external web AI models.