AIAny
Icon for item

ai-memory

Provides long-term memory for AI coding agents by compiling sanitized lifecycle observations into a git-versioned Markdown wiki that enables cross-agent handoffs, per-project isolation, and optional vector-backed retrieval.

Introduction

Most coding-agent workflows lose hours of useful context every time a session ends or an agent is swapped. This project treats that gap as a recoverable artifact: instead of storing raw logs it compiles bounded, sanitized lifecycle observations into a persistent, git-versioned Markdown wiki so the next agent can start with a concise "where you left off" handoff.

What Sets It Apart
  • Karpathy-style compiled wiki: session observations are consolidated into coherent markdown pages (index.md, log.md) and versioned in-place; the markdown is the source of truth and is grep/Obsidian-friendly. This avoids the "raw chat log" retrieval problem and keeps the store auditable via git.
  • Zero-friction lifecycle capture: small, sanitized hook payloads (prompts, tool calls, notifications) are captured automatically by lifecycle hooks and MCP clients with bounded sizes (user prompts and summaries up to 16 KiB). No manual write_note ceremony required.
  • Cross-harness managed workstreams: an optional managed launcher lets you quit one supported agent (Claude Code, Codex, Command Code, etc.) and resume in another while receiving a visible handoff and native-per-harness resume. Delivered packets are origin-marked and the server provides FTS5 + entity + graph-neighbor scoring, with optional vector RRF.
  • Simple deployment model: one Rust binary serving MCP + HTTP (read-only web UI), a local data dir layout (wiki/, db/, raw/) and an available Docker image; CLI commands act as thin HTTP clients so admin operations never touch SQLite directly.
Who it's for and trade-offs

Great fit if you:

  • Use multiple LLM coding CLIs or switch agents mid-task and need a compact, reviewable handoff between them.
  • Want a reproducible, git-backed knowledge store (markdown pages) rather than an opaque vector DB or raw chat transcripts.
  • Prefer an opt-in LLM consolidation pipeline with fallbacks to deterministic rule-based summaries.

Look elsewhere if you:

  • Need a hosted SaaS with multi-tenant RBAC and fine-grained per-page access control (this project focuses on single-tenant / homelab or team servers with project-scoped isolation, not full enterprise multi-tenant RBAC).
  • Require live code-intelligence (LSP) as a single source of truth — ai-memory is historical memory and intentionally separates retrieval of past decisions from live symbol analysis.
Practical notes

The server uses FTS5, entity-assisted recall, graph-neighbor re-ranking and optional embeddings; consolidation and auto-improvement are opt-in and run as queued provider jobs. Per-project isolation is enforced by workspace/project UUIDs derived from the repo or explicit marker files. Hooks and managed-run support cover a broad matrix of coding CLIs; the repo ships docs for install, managed workstreams, and deployment patterns.

More Items

GitHub

Indexes full text of visited web pages and local files on a self‑hosted server so you can search your personal knowledge from a web UI, terminal, CLI, or an AI assistant. Runs without mandatory telemetry, offers a browser extension for automatic capture, and supports optional semantic search via a configurable embeddings endpoint.

GitHub
AI Agent2026

Provides a ruleset and skills that make AI coding agents prefer the simplest correct implementation: reuse existing code, prefer stdlib/native features, and only write minimal new code. Cuts generated LOC, tokens, cost and time while preserving validation and safety.

GitHub

A read-only mirror of Anthropic's community plugin marketplace for Claude Cowork and Claude Code, listing vetted third-party plugins in a nightly-synced marketplace.json. Intended for discovering and installing community plugins via the Claude plugin system.