About Agentmemory
Agentmemory is an MCP server published by rohitg00 in the Other category: #1 Persistent memory for AI coding agents based on real-world benchmarks. Conduid read 54 tools from its source: memory_action_create, memory_action_update, memory_audit, memory_checkpoint, memory_claude_bridge_sync, memory_commit_lookup and 48 more. It is published to npm as @agentmemory/agentmemory and starts with npx.
The repository has 31K stars and 2.7K forks, is licensed Apache-2.0, and its last commit was on 30 Nov 2026. The latest release is v0.9.34 (28 Nov 2026): Drop-in upgrade on iii 0.25.1. It follows v0.9.33 (9 Nov 2026), and the 5 most recent releases go back to v0.9.30 (6 Oct 2026). It passes 3 of the 4 static checks Conduid ran on the repository; it does not pass Dependencies pinned. Its topics include agentmemory, devtools, docker, memory, rag and retrieval.
Install
claude mcp add agentmemory -- npx -y @agentmemory/mcpnpx -y @agentmemory/mcpgit clone https://github.com/rohitg00/agentmemoryTools (54)
memory_action_createCreate work items with dependencies| Parameter | Type | Description |
|---|---|---|
| agentId | string | Agent creating the action |
| description | string | Detailed description of the work |
| parentId | string | Parent action ID for hierarchical actions |
| priority | number | Priority 1-10 (10 highest) |
| project | string | Project path |
| requires | string | Comma-separated action IDs that must complete before this |
| tags | string | Comma-separated tags |
| title * | string | Action title |
memory_action_updateUpdate action status| Parameter | Type | Description |
|---|---|---|
| actionId * | string | Action ID to update |
| priority | number | New priority 1-10 |
| result | string | Outcome description (when completing) |
| status | string | New status: pending, active, done, blocked, cancelled |
memory_auditAudit trail of operations| Parameter | Type | Description |
|---|---|---|
| limit | number | Max entries (default 50) |
| operation | string | Filter by operation type |
memory_checkpointExternal condition gates| Parameter | Type | Description |
|---|---|---|
| checkpointId | string | Checkpoint ID (for resolve) |
| linkedActionIds | string | Comma-separated action IDs this checkpoint gates (for create) |
| name | string | Checkpoint name (for create) |
| operation * | string | create, resolve, or list |
| status | string | passed or failed (for resolve) |
| type | string | Checkpoint type: ci, approval, deploy, external, timer |
memory_claude_bridge_syncRead MEMORY.md or create a project export, preserving existing files| Parameter | Type | Description |
|---|---|---|
| direction * | string | 'read' to import from MEMORY.md, 'write' to export to MEMORY.md |
memory_commit_lookupSessions behind a git commit| Parameter | Type | Description |
|---|---|---|
| sha * | string | Full git commit SHA |
memory_commitsCommits recorded for a session| Parameter | Type | Description |
|---|---|---|
| branch | string | Filter by branch name |
| limit | number | Max results (default 100, max 500) |
| repo | string | Filter by remote URL |
memory_compress_fileCompress markdown files while preserving structure| Parameter | Type | Description |
|---|---|---|
| filePath * | string | Path to the markdown file to compress |
memory_consolidateRun 4-tier consolidation| Parameter | Type | Description |
|---|---|---|
| tier | string | Target tier: episodic, semantic, or procedural |
memory_crystallizeCompact action chains| Parameter | Type | Description |
|---|---|---|
| actionIds * | string | Comma-separated completed action IDs to crystallize |
| project | string | Project context |
| sessionId | string | Session context |
memory_diagnoseHealth checks| Parameter | Type | Description |
|---|---|---|
| categories | string | Comma-separated categories to check (default all) |
memory_exportExport memory data, in pages or selected collections on a large store| Parameter | Type | Description |
|---|---|---|
| collectionLimit | number | Rows per page for memories, summaries, graphNodes, lessons and the other top-level collections; access logs follow the memories on the page. Sessions and their observations are paged only by maxSessions and offset, so pass collections to leave them out of each page |
| collectionOffset | number | Row offset for the top-level collections |
| collections | string | Comma-separated collections to return, e.g. memories,lessons. Sessions and their observations come back only when the list names sessions, access logs only together with memories. Unknown names are ignored. Omit for everything. A paged or selected export cannot be imported with strategy replace. |
| maxSessions | number | Sessions per page (with their observations) |
| offset | number | Session offset |
memory_facet_queryQuery by facet tags| Parameter | Type | Description |
|---|---|---|
| matchAll | string | Comma-separated dimension:value pairs (AND logic) |
| matchAny | string | Comma-separated dimension:value pairs (OR logic) |
| targetType | string | Filter by type: action, memory, or observation |
memory_facet_tagDimension:value tags| Parameter | Type | Description |
|---|---|---|
| dimension * | string | Tag dimension (e.g., priority, team, status) |
| targetId * | string | ID of the target to tag |
| targetType * | string | Type: action, memory, or observation |
| value * | string | Tag value (e.g., urgent, backend, reviewed) |
memory_file_historyPast observations about specific files| Parameter | Type | Description |
|---|---|---|
| files * | string | Comma-separated file paths |
| sessionId | string | Current session ID to exclude |
memory_frontierUnblocked actions ranked by priority| Parameter | Type | Description |
|---|---|---|
| agentId | string | Agent ID to check lease conflicts |
| limit | number | Max results (default 20) |
| project | string | Filter by project |
memory_governance_deleteDelete with audit trail| Parameter | Type | Description |
|---|---|---|
| memoryIds * | string | Comma-separated memory IDs to delete |
| reason | string | Reason for deletion |
memory_graph_queryKnowledge graph traversal| Parameter | Type | Description |
|---|---|---|
| maxDepth | number | Max BFS depth (default 3, max 5) |
| nodeType | string | Filter by node type |
| query | string | Search nodes by name |
| startNodeId | string | Starting node ID for traversal |
memory_healAuto-fix stuck state| Parameter | Type | Description |
|---|---|---|
| categories | string | Comma-separated categories to heal (default all) |
| dryRun | string | Set to 'true' for dry run (report but don't fix) |
memory_insight_listList synthesized insights — higher-order observations derived from patterns across memories, lessons, and crystals.| Parameter | Type | Description |
|---|---|---|
| limit | number | Max results (default 50) |
| minConfidence | number | Minimum confidence threshold (default 0) |
| project | string | Filter by project |
memory_leaseExclusive action leases (multi-agent)| Parameter | Type | Description |
|---|---|---|
| actionId * | string | Action ID |
| agentId * | string | Agent claiming the action |
| operation * | string | acquire, release, or renew |
| result | string | Result when releasing (marks action done) |
| ttlMs | number | Lease duration in ms (default 10min, max 1hr) |
memory_lesson_deleteSoft-delete a lesson by id. Deleted lessons are excluded from recall and list; re-saving the same content creates a fresh lesson.| Parameter | Type | Description |
|---|---|---|
| lessonId * | string | The lesson id (lsn_...) |
memory_lesson_recallSearch lessons by query. Returns lessons sorted by confidence and recency. Use to check what the agent has learned before making decisions.| Parameter | Type | Description |
|---|---|---|
| limit | number | Max results (default 10) |
| minConfidence | number | Minimum confidence threshold (default 0.1) |
| project | string | Filter by project |
| query * | string | Search query |
memory_lesson_saveSave a lesson learned from this session. Lessons have confidence scores that strengthen when reinforced and decay when not used. Duplicate content auto-strengthens the existing lesson.| Parameter | Type | Description |
|---|---|---|
| confidence | number | Initial confidence 0.0-1.0 (default 0.5) |
| content * | string | The lesson learned (what worked, what to avoid, when to use X approach) |
| context | string | When/where this lesson applies |
| project | string | Project this lesson is about |
| sourceIds | array | Ids of the session, memory, observation or crystal this lesson came from (max 50) |
| tags | string | Comma-separated tags |
memory_mesh_syncP2P sync between instances| Parameter | Type | Description |
|---|---|---|
| direction | string | push, pull, or both (default both) |
| peerId | string | Specific peer ID (omit for all) |
memory_nextSingle most important next action| Parameter | Type | Description |
|---|---|---|
| agentId | string | Current agent ID |
| project | string | Filter by project |
memory_obsidian_exportExport memories, lessons, and crystals as Obsidian-compatible Markdown files with YAML frontmatter and wikilinks for graph view.| Parameter | Type | Description |
|---|---|---|
| types | string | Comma-separated types to export: memories,lessons,crystals,sessions (default all) |
| vaultDir | string | Output directory (default ~/.agentmemory/vault/) |
memory_patternsDetect recurring patterns| Parameter | Type | Description |
|---|---|---|
| limit | integer | Most recent sessions to scan (default 50, max 500) |
| project | string | Project path to analyze |
memory_profileProject profile (concepts, files, patterns)| Parameter | Type | Description |
|---|---|---|
| project * | string | Project path |
| refresh | string | Set to 'true' to force rebuild |
memory_recallSearch past observations| Parameter | Type | Description |
|---|---|---|
| agentId | string | Filter by owning agent; '*' reads across agents |
| cwd | string | Filter by session working directory |
| format | string | Result format: full, compact, or narrative (default full) |
| limit | number | Max results to return (default 10) |
| project | string | Filter by project path |
| query * | string | Search query (keywords, file names, concepts) |
| targetLayer | string | Search all indexed layers (default), durable memories, or raw observations before ranking |
| token_budget | number | Optional estimated content token budget; response includes truncation and recovery metadata |
memory_reflectTraverse the knowledge graph, group related memories by concept clusters, and synthesize higher-order insights via LLM. Returns new and reinforced insights.| Parameter | Type | Description |
|---|---|---|
| maxClusters | number | Max concept clusters to process (default 10, max 20) |
| project | string | Filter by project |
memory_relationsQuery relationship graph| Parameter | Type | Description |
|---|---|---|
| maxHops | number | Max traversal depth (default 2) |
| memoryId * | string | Memory ID to find relations for |
| minConfidence | number | Min confidence (0-1, default 0) |
memory_routine_runInstantiate workflow routines| Parameter | Type | Description |
|---|---|---|
| initiatedBy | string | Agent starting the run |
| project | string | Project context |
| routineId * | string | Routine template ID |
memory_saveSave an insight, decision, or pattern| Parameter | Type | Description |
|---|---|---|
| agentId | string | Agent identity to scope this memory to. When set, agent-scoped recall and search only surface it for the same agentId. Omit for shared memory. |
| concepts | string | Comma-separated key concepts (an array of strings is also accepted) |
| content * | string | The insight or decision to remember |
| files | string | Comma-separated relevant file paths (an array of strings is also accepted) |
| project | string | Stable canonical project identifier this memory belongs to (e.g. a slug, UUID, or registry key). Must match the value used when the session was started. Do not use filesystem paths or ad-hoc display names — those change across machines and will silently break project scoping. |
| sourceObservationIds | array | Ids of the observations this memory was derived from |
| ttlDays | number | Forget this memory after this many days. Omit to keep it until it is removed. |
| type | string | Memory type: pattern, preference, architecture, bug, workflow, or fact |
memory_sentinel_createEvent-driven watchers| Parameter | Type | Description |
|---|---|---|
| config | string | JSON config (timer: {durationMs}, threshold: {metric,operator,value}, pattern: {pattern}, webhook: {path}) |
| expiresInMs | number | Auto-expire after ms |
| linkedActionIds | string | Comma-separated action IDs to gate |
| name * | string | Sentinel name |
| type * | string | Type: webhook, timer, threshold, pattern, approval, custom |
memory_sentinel_triggerFire sentinels externally| Parameter | Type | Description |
|---|---|---|
| result | string | JSON result payload |
| sentinelId * | string | Sentinel ID to trigger |
memory_sessionsList recent sessions| Parameter | Type | Description |
|---|---|---|
| agentId | string | Filter by owning agent; '*' reads across agents |
| cursor | string | nextCursor from the previous page; omit for the first page |
| limit | integer | Page size (default 20, max 100) |
| project | string | Exact project identifier used when sessions were started |
memory_signal_readRead messages with receipts| Parameter | Type | Description |
|---|---|---|
| agentId * | string | Agent to read messages for |
| limit | number | Max messages (default 50) |
| threadId | string | Filter by conversation thread |
| unreadOnly | string | Set to 'true' for unread only |
memory_signal_sendInter-agent messaging| Parameter | Type | Description |
|---|---|---|
| content * | string | Message content |
| from * | string | Sender agent ID |
| replyTo | string | Signal ID to reply to (auto-threads) |
| to | string | Recipient agent ID (omit for broadcast) |
| type | string | Message type: info, request, response, alert, handoff |
memory_sketch_createEphemeral action graphs| Parameter | Type | Description |
|---|---|---|
| description | string | What this sketch explores |
| expiresInMs | number | TTL in ms (default 1 hour) |
| project | string | Project context |
| title * | string | Sketch title |
memory_sketch_promotePromote to permanent| Parameter | Type | Description |
|---|---|---|
| project | string | Override project for promoted actions |
| sketchId * | string | Sketch ID to promote |
memory_slot_appendAppend text to an existing slot. Fails with 413 if the append would exceed the slot's sizeLimit — agent must compact via memory_slot_replace first.| Parameter | Type | Description |
|---|---|---|
| label * | string | Slot label |
| text * | string | Text to append |
memory_slot_createCreate a new slot. Reject if a slot with the same label already exists.| Parameter | Type | Description |
|---|---|---|
| content | string | Initial content (default empty) |
| description | string | What this slot is for |
| label * | string | Slot label — lowercase, starts with letter, [a-z0-9_] |
| pinned | string | 'false' to exclude from context injection; default true |
| scope | string | 'project' (default) or 'global' (shared across projects) |
| sizeLimit | number | Max chars (default 2000, hard cap 20000) |
memory_slot_deleteDelete a slot. Seeded default slots can be deleted unless marked readOnly.| Parameter | Type | Description |
|---|---|---|
| label * | string | Slot label |
memory_slot_getRead a single slot by label.| Parameter | Type | Description |
|---|---|---|
| label * | string | Slot label (e.g. 'persona', 'pending_items') |
memory_slot_listList all memory slots (pinned + project + global). Slots are editable, size-limited memory units the agent can read and modify across sessions.memory_slot_replaceReplace slot content in place. Fails if content exceeds sizeLimit.| Parameter | Type | Description |
|---|---|---|
| content * | string | New full content |
| label * | string | Slot label |
memory_smart_searchHybrid semantic + keyword search| Parameter | Type | Description |
|---|---|---|
| agentId | string | Filter by owning agent; '*' reads across agents |
| expandIds | string | Comma-separated memory or observation IDs to expand; query is optional when provided |
| includeLessons | boolean | Include lesson matches when targetLayer is all (default true) |
| limit | number | Max results (default 10) |
| project | string | Filter by project path |
| query | string | Search query |
| targetLayer | string | Search all indexed layers (default), durable memories, or raw observations before ranking |
memory_snapshot_createGit-versioned snapshot; state read failures return an error instead of saving an incomplete snapshot| Parameter | Type | Description |
|---|---|---|
| message | string | Snapshot description |
memory_team_feedRecent shared items| Parameter | Type | Description |
|---|---|---|
| limit | number | Max items (default 20) |
memory_team_shareShare with team members| Parameter | Type | Description |
|---|---|---|
| itemId * | string | ID of memory or observation to share |
| itemType * | string | Type: observation, memory, or pattern |
memory_timelineChronological observations| Parameter | Type | Description |
|---|---|---|
| after | number | Observations after anchor (default 5) |
| anchor * | string | Anchor point: ISO date or keyword |
| before | number | Observations before anchor (default 5) |
| project | string | Filter by project path |
memory_verifyTrace provenance| Parameter | Type | Description |
|---|---|---|
| id * | string | Memory ID or observation ID to verify |
memory_vision_searchSearch image observations| Parameter | Type | Description |
|---|---|---|
| queryImageBase64 | string | Raw base64 image bytes or data URL |
| queryImageRef | string | Absolute path to a stored image to match against |
| queryText | string | Text query (e.g. 'login form with error banner') |
| sessionId | string | Filter to a single session |
| topK | number | Max results (default 10, max 50) |
Security checks
Static checks derived from the repository 22 hours ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 12K words.
- ✓License declaredThe repository declares the Apache-2.0 license.
- ✓Tests presentA test suite exists in the repository.
- !Dependencies pinnedNo lockfile anywhere in the repository. Installs can pull different code over time.
2 checks have not been run yet.
Releases
README
The repository's README runs to about 12K words, fetched 22 hours ago. The original in the repository is authoritative.
Read full README