# agentmemory | Rohit Ghumare | Knowledge Base | Instagit

#1 Persistent memory for AI coding agents based on real-world benchmarks

GitHub Stars: 3.7k

Repository: https://github.com/rohitg00/agentmemory

---

## Articles

### [How to Migrate Memories from mem0 or Letta to AgentMemory: A Complete Guide](/rohitg00/agentmemory/agentmemory-migrate-mem0-letta-memories)

Easily migrate memories from mem0 or Letta to AgentMemory using the built-in export/import pipeline. Learn how to perform a seamless migration via CLI, REST API, or MCP tools.

- Tags: migration-guide
- Published: 2026-05-10

### [Full Lifecycle of the 12 agentmemory Hooks: I² Instrumentation & Integration Guide](/rohitg00/agentmemory/agentmemory-hooks-lifecycle)

Explore the full lifecycle of the 12 agentmemory hooks, from session-start to post-tool-failure. Understand Node.js instrumentation and integration for Claude Code observability.

- Tags: deep-dive
- Published: 2026-05-10

### [How to Configure AGENTMEMORY_SECRET for REST API Authentication](/rohitg00/agentmemory/agentmemory-configure-agentmemory-secret-rest-api)

Secure your AgentMemory REST API by configuring AGENTMEMORY_SECRET. Learn how to set this crucial environment variable and use it as a Bearer token for authentication.

- Tags: how-to-guide
- Published: 2026-05-10

### [memory_recall vs memory_smart_search in AgentMemory: Retrieval Strategy Comparison](/rohitg00/agentmemory/agentmemory-memory_recall-vs-memory_smart_search)

Discover the difference between memory_recall and memory_smart_search in AgentMemory. Learn how memory_smart_search uses hybrid retrieval for semantic discovery.

- Tags: comparison
- Published: 2026-05-10

### [How the Git Snapshot Feature Versions AgentMemory State: Complete Technical Guide](/rohitg00/agentmemory/agentmemory-git-snapshot-versioning)

Discover how the Git snapshot feature versions AgentMemory state by embedding code version into state.json. Learn this complete technical guide for rohitg00/agentmemory.

- Tags: deep-dive
- Published: 2026-05-10

### [How to Coordinate Multi-Agent Work Using Leases, Signals, and Checkpoints in AgentMemory](/rohitg00/agentmemory/agentmemory-multi-agent-coordination)

Learn to coordinate multi-agent work in AgentMemory using leases signals and checkpoints for safe scalable collaboration via a shared KV store. Maximize your agent system's efficiency today.

- Tags: how-to-guide
- Published: 2026-05-10

### [How AgentMemory Handles LLM Failures with Circuit Breaker and Fallback](/rohitg00/agentmemory/agentmemory-llm-failure-handling-circuit-breaker)

Discover how AgentMemory prevents LLM failures using circuit breakers and fallback strategies. Ensure your applications remain resilient by isolating LLM calls and retrying alternatives automatically.

- Tags: how-to-guide
- Published: 2026-05-10

### [Understanding the AgentMemory Real-Time Viewer Architecture](/rohitg00/agentmemory/agentmemory-real-time-viewer-architecture)

Explore the AgentMemory real-time viewer architecture. Discover its lightweight Node.js design combining a static file server, CSP injection, and reverse proxy for efficient real-time data access.

- Tags: architecture
- Published: 2026-05-10

### [How Session Replay Works with JSONL Transcript Imports in AgentMemory](/rohitg00/agentmemory/agentmemory-session-replay-jsonl-imports)

Learn how AgentMemory replays Claude Code sessions using JSONL transcript imports. Discover how it reconstructs timelines, extracts lessons, and compresses observations for a seamless replay experience.

- Tags: how-to-guide
- Published: 2026-05-10

### [How to Configure the Token Budget for SessionStart Context Injection in agentmemory](/rohitg00/agentmemory/agentmemory-configure-token-budget-sessionstart)

Configure agentmemory's token budget for SessionStart context injection using the TOKEN_BUDGET environment variable or pass a budget parameter to mem::context to optimize LLM token usage.

- Tags: how-to-guide
- Published: 2026-05-10

### [How AgentMemory Enables Knowledge Graph Extraction from Raw Observations](/rohitg00/agentmemory/agentmemory-knowledge-graph-extraction)

Discover how AgentMemory extracts knowledge graphs from raw observations. It embeds a full-text pipeline for LLM-powered entity and relation extraction with hybrid semantic retrieval.

- Tags: how-to-guide
- Published: 2026-05-10

### [mem::consolidate vs mem::consolidate-pipeline: Key Differences in agentmemory](/rohitg00/agentmemory/agentmemory-mem-consolidate-vs-consolidation-pipeline)

Understand mem::consolidate vs mem::consolidate-pipeline in agentmemory. Learn how mem::consolidate creates immediate memories while mem::consolidate-pipeline offers a staged workflow for advanced memory management.

- Tags: deep-dive
- Published: 2026-05-10

### [How to Integrate agentmemory with Claude Code's MEMORY.md Bidirectional Bridge](/rohitg00/agentmemory/agentmemory-integrate-claude-code-memory-md-bridge)

Seamlessly integrate agentmemory with Claude Code's MEMORY.md using the memory_claude_bridge_sync MCP tool. Achieve bidirectional sync for effortless knowledge transfer.

- Tags: how-to-guide
- Published: 2026-05-10

### [How Agentmemory's Privacy Filter Protects Sensitive Information](/rohitg00/agentmemory/agentmemory-privacy-filter-api-keys)

Learn how Agentmemory's privacy filter safeguards sensitive data by automatically redacting PII. Protect your information effortlessly with the stripPrivateData function.

- Tags: how-to-guide
- Published: 2026-05-10

### [Architectural Differences Between AgentMemory REST Endpoints and MCP Tools](/rohitg00/agentmemory/agentmemory-rest-endpoints-vs-mcp-tools-architecture)

Explore the architectural differences between AgentMemory REST endpoints and MCP tools. Discover how they handle registration, routing, and payloads differently while using the same internal memory functions.

- Tags: architecture
- Published: 2026-05-10

### [How to Set Up a Standalone AgentMemory MCP Server: Complete Configuration Guide](/rohitg00/agentmemory/agentmemory-standalone-mcp-server-setup)

Learn how to set up a standalone agentmemory MCP server using environment variables and a simple command. This guide details its in-memory store with JSON persistence, removing the need for a remote engine.

- Tags: how-to-guide
- Published: 2026-05-10

### [How Team Memory Sharing Works in AgentMemory with TEAM_ID and USER_ID](/rohitg00/agentmemory/agentmemory-team-memory-sharing)

Learn how AgentMemory uses TEAM_ID and USER_ID for secure team memory sharing. Discover per-team KV namespaces and multi-user functions like team-share and team-feed.

- Tags: how-to-guide
- Published: 2026-05-10

### [How to Enable and Use Editable Memory Slots in AgentMemory](/rohitg00/agentmemory/agentmemory-editable-memory-slots)

Enable and use editable memory slots in AgentMemory by setting AGENTMEMORY_SLOTS true and using /agentmemory/slot endpoints to manage persona and preferences.

- Tags: how-to-guide
- Published: 2026-05-10

### [How Memory Decay and Auto-Forgetting Work in AgentMemory Using the Ebbinghaus Curve](/rohitg00/agentmemory/agentmemory-memory-decay-ebbinghaus-curve)

Understand how AgentMemory uses the Ebbinghaus curve for memory decay and auto-forgetting. Discover TTL-based decay, deduplication, and pruning for efficient memory management.

- Tags: deep-dive
- Published: 2026-05-10

### [PostToolUse vs PreToolUse Hooks in AgentMemory: Capture Pipeline Differences](/rohitg00/agentmemory/agentmemory-posttooluse-vs-pretooluse-hooks)

Understand PostToolUse vs PreToolUse hooks in agentmemory capture pipelines. Learn how PreToolUse prepares context and PostToolUse records tool outputs for indexing and replay.

- Tags: internals
- Published: 2026-05-10

### [How to Configure Different Embedding Providers in agentmemory: 7 Provider Setup Guide](/rohitg00/agentmemory/agentmemory-configure-embedding-providers)

Configure seven embedding providers in agentmemory like OpenAI, Cohere, and local Xenova. Select providers at runtime via environment variables for seamless integration.

- Tags: how-to-guide
- Published: 2026-05-10

### [How agentmemory Hybrid Search Combines BM25, Vector Embeddings, and Knowledge Graphs](/rohitg00/agentmemory/agentmemory-hybrid-search-combination)

Discover how agentmemory's hybrid search unifies BM25, vector embeddings, and knowledge graphs using RRF. Learn how it dynamically adjusts weights for optimal performance, even with missing indices.

- Tags: deep-dive
- Published: 2026-05-10

### [Agentmemory's 4-Tier Memory Consolidation System: From Working Memory to Procedural Knowledge](/rohitg00/agentmemory/agentmemory-4-tier-memory-consolidation)

Discover Agentmemory's 4-tier memory consolidation system. Learn how it transforms raw tool observations into procedural knowledge using LLM-driven pipelines and a biological memory hierarchy.

- Tags: deep-dive
- Published: 2026-05-10

