akitaonrails

ai-memory: Share Long-Term Memory Across Coding Agents

A self-hosted Rust service that captures coding-agent activity into a searchable, git-backed Markdown wiki and hands work between agents. It suits developers and teams who want portable project memory without requiring LLM calls.

View on GitHub Compare
Stars
9.1k
Forks
632
Stars, last 30 days
+6,342
Last commit
today
Contributors
100+

Our take

Newless than six months old and changing fast

Health score

84/100

How it is scored
Activity
90
Community
71
Issues
90
Pull requests
84

+6,342 stars in the last 30 days

  • Merges more pull requests than 96% of the projects we track
  • Releases more often than 93% of the projects we track
  • Closes issues faster than 81% of the projects we track

ai-memory is a promising, actively developed option for agent users who value portable Markdown memory and cross-agent handoffs, though its new and fast-changing status calls for a measured rollout.

Good fit if

  • You use multiple coding-agent harnesses and want project memory and handoffs to carry across them.
  • You prefer self-hosted, inspectable Markdown storage and want the core workflow to operate without LLM calls.
  • You can run the Rust-based service and are comfortable evaluating a rapidly evolving project; the repository is MIT-licensed.

Look elsewhere if

  • You need a mature, long-established system with a longer operating history; the project is less than six months old and changing quickly.
  • Your workflow depends on a hosted memory service rather than operating a local or shared server.
  • Your agent is not covered by the documented support matrix and you are unwilling to assess or add an integration.
All health signals
Last commit2026-10-10 (today)
Commits, last 90 days100+
Releases, last 12 months100+ (latest v2.6.2, 2026-10-08)
Contributors100+ (top contributor: 68% of commits)
Issues closed, last 90 days26+ (typically closed in 0 days)
Pull requests merged, last 90 days94 (typically merged in 0 days)
Project age5 months

Checked on 2026-10-10 with the GitHub API.

Project history

Daily GitHub snapshots since Oct 7, 2026. History covers stars and forks; health signals are not tracked historically.

Selected snapshot

Stars

15,232

Forks

1,105

Change since Nov 5, 2026: +77 stars·+13 forks

Overview

ai-memory gives coding agents a shared, persistent memory that can outlast a session, machine, or agent vendor. Lifecycle hooks capture work, then the service turns observations into Markdown pages that agents can search and use for handoffs. The default capture, search, and handoff paths do not require an LLM API key.

The project is designed for people who want to own and inspect their memory files rather than rely on separate, vendor-specific notes. It can run locally or as a shared server for multiple machines and teammates, with project knowledge shared while personal handoffs remain separate.

Key Features

  • Captures prompts, tool calls, and session boundaries through agent lifecycle hooks, with sanitization and configurable capture rules.
  • Stores the source of truth as git-backed Markdown pages; SQLite provides a derived search index.
  • Supports retrieval through full-text search, entities, links, and optional vector search.
  • Provides typed, claim-once handoffs so another supported agent can pick up unfinished work.
  • Offers integrations for a broad range of coding-agent harnesses through MCP registration, hooks, or both.
  • Supports a shared server with multi-user authentication, per-person attribution, and an audit log.
  • Includes optional LLM features for summaries and semantic search, while the default path works without them.

Use Cases

  • A solo developer switches from one coding agent to another mid-task and wants the next session to retrieve prior decisions, failed approaches, and open questions.
  • A developer works on the same project across machines and wants the project wiki and handoffs available from a self-hosted server.
  • A team wants agents to retrieve shared project knowledge while keeping individual handoffs personal and recording who made changes.
  • A developer wants to inspect, edit, or version-control agent memory as ordinary Markdown instead of depending on a vendor-specific memory store.

What you need

Detected in the repository

  • Rust 1.95 or newer (from Cargo.toml)
  • A test suite and automated checks on GitHub Actions

License in plain words

MITpermissive

  • Commercial use: yes
  • Modify and redistribute: yes
  • You must keep: the copyright and license notice
  • Share your changes: no

A summary, not legal advice: the LICENSE file is what applies.

Getting Started

See the README for platform-specific installation and agent setup. Once installed and configured, launch a harness through ai-memory to enable its managed continuity workflow:

ai-memory run claude

Alternatives

  • EverOS: EverOS preserves conversations and context for agents across apps, while ai-memory captures coding-agent activity in a git-backed project wiki.
  • OpenViking: OpenViking organizes agent knowledge, memories, and skills in a virtual filesystem, rather than recording coding work as a git-backed Markdown wiki.
  • atlas: Atlas captures coding-agent sessions in a desktop workspace tied to Git, while ai-memory is a self-hosted service for searchable project memory and handoffs.
  • memoripy: Memoripy is a Python memory runtime for screening evidence and tracking changing facts, rather than a Rust service that records coding-agent activity.
ProjectLanguageLicenseStarsStatus
ai-memoryRustMIT9.1kNew
EverOSPythonApache-2.013.4kActive
OpenVikingPythonAGPL-3.039.2kActive
atlasTypeScriptApache-2.09.6kNew
memoripyPythonApache-2.0694Active

Considerations

  • The project is new and changing quickly, despite frequent recent commits and releases. Treat upgrades and data recovery as operational concerns, and review the project’s backup and lifecycle guidance before relying on it for important work.
  • The core service requires Rust 1.95 or newer when building from source. SQLite is part of its indexed storage design; the README does not list a GPU requirement.
  • LLM-backed summaries and semantic search are optional, but require configuring supported providers. The default path avoids that dependency.
  • Integrations differ: some are MCP-only, hooks-only, managed-only, or experimental, and native Windows is listed as experimental. Check the support matrix for your target setup.
  • A shared server introduces deployment and access-control responsibilities. The README recommends loopback binding for a single-user setup and describes authentication and TLS options for broader access.

Found this useful?

Share it with someone who would like ai-memory.

Comparisons