ai-memory

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

399 articles 2.7k View on GitHub ↗
399 articles
What Are the MCP Tools Exposed by the ai-memory Server?

Discover the 19 MCP tools in ai-memory server for agents. Learn about read-only queries, hand-off coordination, and write/maintenance operations for stable long-term memory access.

deep-dive
Sep 12, 2026
How `[auto_improve] require_approval = true` Enables Human-in-the-Loop Review for AI-Memory

Learn how `require_approval = true` in AI-Memory enables human-in-the-loop review for AI-Memory auto-improvement. Approve changes manually via CLI.

how-to-guide
Sep 12, 2026
ai-memory ignore_paths Configuration: How to Exclude Files from Capture

Learn how to use ai-memory ignore_paths to exclude specific files from capture. Prevent sensitive data from entering your LLM pipeline with custom glob patterns.

how-to-guide
Sep 12, 2026
ai-memory Configuration: Using TOML Files and Environment Variables

Learn how ai-memory configures itself using TOML files and environment variables. Discover how the AI_MEMORY_ prefix and Figment library manage settings for robust runtime configuration.

how-to-guide
Sep 12, 2026
What is the ai-memory-consolidate Crate? Karpathy-Style LLM Ingest Pipeline Explained

Discover the ai-memory-consolidate crate, implementing Karpathy-style LLM ingest for structured wiki pages. Learn about automated consolidation, embedding backfill, and iterative improvement.

deep-dive
Sep 12, 2026
How ai-memory Handles Fallback Search When Compiled Wiki Pages Miss

Discover how ai-memory uses raw observation fallback search to ensure users always get relevant data when compiled wiki pages miss.

internals
Sep 12, 2026
What Is AI_MEMORY_RERANKER=llm? Optional LLM Relevance Reranking in ai-memory

Discover the purpose of AI_MEMORY_RERANKER=llm. This optional pass uses LLM relevance reranking to reorder search results for improved accuracy in ai-memory.

deep-dive
Sep 12, 2026
How ai-memory Adjusts Search Relevance Using Frontmatter Tags and Page Kind

Discover how ai-memory enhances search relevance using frontmatter tags and page kind. Learn about configurable multipliers and the retrieval tuning layer for optimized results.

how-to-guide
Sep 12, 2026
How ai-memory's Retrieval Architecture Combines FTS5, Entity Matching, and Vector Embeddings

Discover how ai-memory's retrieval architecture integrates FTS5, entity matching, and vector embeddings with RRF for powerful semantic search. Learn about its robust design.

architecture
Sep 12, 2026
How ai-memory's Auto-Improvement Feature Works with LLM Providers: A Technical Deep Dive

Explore how ai-memory's auto-improvement feature automatically refines LLM provider performance. Learn about the deterministic pipeline, wiki edits, and optional human approval for enhanced AI.

deep-dive
Sep 12, 2026
What Is the Purpose of memory_consolidate in ai-memory?

Discover how memory_consolidate in ai-memory transforms raw data into searchable knowledge using an LLM pipeline for project auto-improvement.

deep-dive
Sep 12, 2026
How SessionEnd Events Are Synthesized and Drive Agent Handoffs in ai-memory

Learn how SessionEnd events synthesize summaries and drive agent handoffs in ai-memory with atomic SQLite transactions for zero-duplication context transfer. Read now!

internals
Sep 12, 2026
…

Have a question about this repo?

These articles cover the highlights, but your codebase questions are specific. Give your agent direct access to the source. Share this with your agent to get started:

Share the following with your agent to get started:
curl -s "https://instagit.com/install.md"

Works with
Claude Codex Cursor VS Code OpenClaw Any MCP Client

Maintain an open-source project? Get it listed too →