Agentra LabsAgentra Labs DocsPublic Documentation

AgenticMemory

Command Surface

Install commands are documented in Installation.

Install commands are documented in Installation.

Binaries

  • amem (CLI engine)
  • agentic-memory-mcp (MCP server)

amem top-level

amem create
amem info
amem add
amem link
amem get
amem traverse
amem search
amem impact
amem resolve
amem sessions
amem export
amem import
amem decay
amem stats
amem quality
amem runtime-sync
amem budget
amem text-search
amem hybrid-search
amem centrality
amem path
amem revise
amem gaps
amem analogy
amem consolidate
amem drift
amem completions

agentic-memory-mcp commands

agentic-memory-mcp serve
agentic-memory-mcp validate
agentic-memory-mcp info
agentic-memory-mcp delete
agentic-memory-mcp export
agentic-memory-mcp compact
agentic-memory-mcp stats

New reliability commands

amem quality my_agent.amem
amem quality my_agent.amem --low-confidence 0.4 --stale-decay 0.2 --limit 25

amem runtime-sync my_agent.amem --workspace . --max-depth 4
amem runtime-sync my_agent.amem --workspace . --write-episode
amem budget my_agent.amem --horizon-years 20 --max-bytes 2147483648

MCP Tools

All tools exposed by the agentic-memory-mcp MCP server:

Core Tools

ToolPurpose
memory_addAdd a new cognitive event to the memory graph
memory_queryFind memories matching conditions (pattern query)
memory_qualityEvaluate memory reliability: confidence, staleness, orphan nodes
memory_traverseWalk the graph from a starting node, following edge types
memory_correctRecord a correction to a previous belief
memory_resolveFollow the supersedes chain to get latest version of a belief
memory_contextGet the full context (subgraph) around a node
memory_similarFind semantically similar memories using vector similarity
memory_causalImpact analysis — find everything that depends on a given node
memory_temporalCompare knowledge across two time periods
memory_statsGet statistics about the memory graph

Context Capture Tools

ToolPurpose
conversation_logLog conversation context and auto-capture interactions

Grounding Tools (v0.3)

ToolPurpose
memory_groundVerify a claim has memory backing
memory_evidenceGet evidence for a claim from stored memories
memory_suggestFind similar memories when a claim doesn't match exactly

Workspace Tools (v0.3)

ToolPurpose
memory_workspace_createCreate a multi-memory workspace
memory_workspace_addAdd a .amem file to a workspace
memory_workspace_listList loaded memories in a workspace
memory_workspace_queryQuery across all loaded memories
memory_workspace_compareCompare topics across memory contexts
memory_workspace_xrefFind topic distribution across contexts

Session Tools

ToolPurpose
session_startStart a new interaction session
session_endEnd a session and optionally create episode summary
memory_session_resumeLoad context from previous sessions (last summary, recent decisions, key facts)

Compact Facade Tools (v0.4+)

Use these to keep MCP tool surfaces small while preserving backward compatibility:

ToolPurpose
memory_coreUnified core operations via operation
memory_groundingUnified grounding operations via operation
memory_workspaceUnified workspace operations via operation
memory_sessionUnified session operations via operation
memory_infiniteUnified INFINITE invention operations via operation
memory_propheticUnified PROPHETIC invention operations via operation
memory_collectiveUnified COLLECTIVE invention operations via operation
memory_resurrectionUnified RESURRECTION invention operations via operation
memory_metamemoryUnified METAMEMORY invention operations via operation
memory_transcendentUnified TRANSCENDENT invention operations via operation

Compact list mode:

export AMEM_MCP_TOOL_SURFACE=compact

In compact mode, tools/list returns only the 10 facade tools above, while all legacy tool names remain callable.

V3 MCP Tools (v0.4)

V3 adds 13 immutable-capture MCP tools and 6 session resources.

Capture Tools

ToolPurpose
memory_capture_messageCapture user/assistant messages
memory_capture_toolCapture tool calls with input/output
memory_capture_fileCapture file operations
memory_capture_decisionCapture decisions with reasoning
memory_capture_boundaryCapture session boundaries (compaction, etc.)

Retrieval Tools

ToolPurpose
memory_retrieveSmart context assembly with token budgeting
memory_resurrectRestore full state at any timestamp
memory_v3_session_resumeLoad context for session continuation

Search Tools

ToolPurpose
memory_search_temporalSearch by time range
memory_search_semanticSearch by meaning/text
memory_search_entitySearch by file/person/entity

Stats Tools

ToolPurpose
memory_v3_statsStorage and index statistics
memory_verify_integrityCryptographic integrity verification

V3 MCP Resources

Resource URIContent
memory://v3/session/contextFull session context
memory://v3/session/decisionsRecent decisions
memory://v3/session/filesFiles modified
memory://v3/session/errorsErrors resolved
memory://v3/session/activityRecent activity
memory://v3/statsStorage statistics

MCP runtime capture controls

export AMEM_AUTO_CAPTURE_MODE=safe
export AMEM_AUTO_CAPTURE_REDACT=true
export AMEM_AUTO_CAPTURE_MAX_CHARS=2048

Universal MCP entry

{
  "mcpServers": {
    "agentic-memory": {
      "command": "$HOME/.local/bin/agentic-memory-mcp",
      "args": ["serve"]
    }
  }
}

Artifact

  • Primary artifact: .amem