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
AI Coding2025

Extracts local chat logs, code context, diffs, and tool outputs from AI coding assistants and exports them as ML-ready JSONL. Auto-discovers common storage locations and handles SQLite/JSONL formats; scan extracted files for secrets before sharing.

GitHub

Provides a unified integration layer that lets AI agents call and manage third‑party service APIs while keeping credentials and approval workflows out of the agent's reach. Offers plugin-based integrations, per-tenant envelope encryption (KEK), configurable permission modes, and an optional Hub to host OAuth/webhook surfaces.

GitHub
AI Infra2026

Ingests and normalizes security telemetry, runs multi-model AI agents to produce replayable investigations and automated triage/response; key features include a step-by-step Investigation Ledger, CI-gated eval harness, and self-hostable deployments.