Dicklesworthstone/cass_memory_system
Procedural memory for AI coding agents: transforms scattered session history into persistent, cross-agent memory so every agent learns from every other
What it solves
AI coding agents often lose valuable knowledge when a session ends, forcing developers to repeat the same debugging steps or configuration fixes across different tools. cass-memory solves this by creating a persistent, cross-agent memory system that allows agents to learn from past experiences, share insights, and avoid repeating mistakes.
How it works
It uses a three-layer cognitive architecture to process information:
- Episodic Memory: Stores raw session logs from various agents (like Claude Code, Cursor, or Aider) as ground truth.
- Working Memory: Creates structured summaries of sessions, capturing decisions and outcomes.
- Procedural Memory: Distills these experiences into actionable, confidence-tracked rules and anti-patterns.
The system automatically updates rule confidence based on success or failure, and uses a decay system to ensure old or unverified rules don't clutter the playbook.
Who it’s for
- AI Agents: To gain relevant historical context and rules before starting tasks.
- Developers: To build institutional knowledge that persists across different AI tools and projects.
- Teams: To share discovered patterns and debugging strategies across multiple users and assistants.
Highlights
- Cross-Agent Learning: Insights discovered in one tool (e.g., Cursor) are immediately available to others (e.g., Claude Code).
- Confidence Decay: Rules lose influence over time if not revalidated, preventing stale or outdated guidance.
- Anti-Pattern Detection: Failed approaches are automatically inverted into warnings to prevent future errors.
- Agent-Native Onboarding: Uses your existing AI agent to analyze historical logs for free, avoiding extra API costs.
- Machine-Readable API: Designed for agents to query context and provide feedback via structured JSON output.
Related
- Project
- Project
- Project
- Project
- Project