akitaonrails/ai-memory

Solution for long term memory for agent coding CLIs and to facilitate handoff between different agent vendors

What it solves

AI coding agents often have "amnesia" when you switch between them or move to a different machine. They also struggle to retain context across long-running projects or when handing off tasks to teammates. This project provides a persistent, shared memory layer that ensures your coding agents remember your project architecture, failed attempts, and open questions regardless of which tool you use.

How it works

The system acts as a background service that captures agent activity through lifecycle hooks. It consolidates these observations into human-readable Markdown files stored in a git-backed wiki. When you start a new session, the agent retrieves relevant context from this wiki. It supports a "zero-LLM" mode by default, using full-text search and entity indexing to manage memory without needing API keys. Advanced features like LLM-based summarization are strictly opt-in.

Who it’s for

It is designed for developers who use multiple AI coding agents (like Claude Code, Cursor, or Devin) and want a unified, portable memory that follows them across different projects, machines, and team members.

Highlights

  • Cross-Agent Compatibility: Works with over 20 different coding harnesses, allowing you to switch agents mid-task without losing progress.
  • Git-Backed Truth: Memory is stored as standard Markdown files, meaning you can edit, search, or version-control your agent's knowledge manually.
  • Zero-LLM Default: Captures, searches, and manages memory without requiring any external AI API calls.
  • Team-Ready: Supports multi-user environments with built-in attribution and audit logs for shared project knowledge.
  • Smart Aging: Automatically compacts and prunes old memory based on usage, ensuring the most relevant information remains accessible.
  • Portable: Syncs your work context across machines and environments, from local laptops to servers.

Related

  • Project
  • Project
  • Project
  • Project
  • Project