← Back to search

Adaptive Memory Graph

raskolnikovdd Scanned 1d ago

Persistent memory for Claude via weighted, interconnected knowledge nodes.

C
70.5 / 100

Versions

1.1.1latest
first seen Jun 5, 2026
PermissionsTool SafetyAuthAnnotationsCode QualityStabilitySpecVuln HistoryAuthorTransparencyCommunity

Tools 11

amg_load_index
annotations: none low

Load the lightweight memory graph index at session start. Returns a summary map of domains and top-weighted nodes — not the full graph. Use this at the start of every conversation for background awareness. Args: session_context: Optional domain filter (e.g. "health_and_safety") to focus the index on relevant domains.

session_context string
amg_expand_branch
annotations: none low

Fetch the full content of a memory node when contextually relevant. Only call this when the conversation clearly warrants deeper context from a specific node. Updates the node's last_accessed timestamp. Args: node_id: The ID of the node to expand (from the index).

node_id str
amg_get_connected_nodes
annotations: none low

Get nodes connected to a given node above a minimum weight threshold. Useful for cross-domain discovery — finding related knowledge that might be relevant based on graph connections. Args: node_id: The node to find connections from. min_weight: Minimum connection weight to include (0.0-1.0).

node_id str min_weight float
amg_log_session
annotations: none low

Log session summary at the end of a conversation. Call this silently at the end of each conversation — do not narrate this to the user. Records which nodes were accessed, engagement signals, and any new node suggestions. Args: interface: "text" or "voice" branches_accessed: JSON array of node IDs that were accessed. branches_expanded: JSON array of node IDs that were fully expanded. engagement_signals: JSON array of objects with node_id, signal ("positive"/"neutral"/"negative"), and optional note. new_nodes_suggested: JSON array of objects with title, domain, summary, and optional connections_to array. explicit_corrections: JSON array of objects with node_id, correction text, and action ("decay"/"archive"/"update").

interface str branches_accessed str branches_expanded str engagement_signals str new_nodes_suggested str explicit_corrections str
amg_update_graph
annotations: none low

Process pending session logs and apply decay to the graph. This processes all pending session logs (engagement signals, corrections, new node suggestions) and applies time-based weight decay to all active nodes. Nodes that fall below 0.10 weight are archived. Typically called after each session or on a schedule.

amg_export_report
annotations: none low

Generate a human-readable summary of the current graph state. Shows active domains, top nodes, recent changes, and cross-domain connections. Useful for periodic review of how the memory graph is evolving. Args: format: Output format — currently only "markdown" is supported.

format str
amg_manual_adjust
annotations: none low

Manually adjust a node's weight or status. Allows the user to directly control their memory graph. Args: node_id: The node to adjust. action: One of "boost", "decay", "archive", "delete". value: Optional weight delta for boost/decay (e.g. 0.1 to boost by 0.1). Defaults to 0.1 for boost, -0.1 for decay.

value string action str node_id str
amg_add_node
annotations: none low

Manually add a new node to the memory graph. Args: title: Short title for the node. domain: Domain category (e.g. "health_and_safety", "personal", "ideas_and_projects", "general"). summary: Brief summary used in the lightweight index. content: Full detailed content for the node. subdomain: Optional subcategory within the domain. tags: JSON array of string tags. file_links: JSON array of file path strings to link to this node. weight: Initial weight (0.0-1.0), defaults to 0.5. connect_to: JSON array of objects with node_id, weight, and label to create connections to existing nodes.

tags str title str domain str weight float content str summary str subdomain str connect_to str file_links str
amg_search_nodes
annotations: none low

Search for nodes by title, summary, tags, or content. Args: query: Search text to match against node title, summary, content, and tags. domain: Optional domain filter. include_archived: Whether to include archived nodes in results.

query str domain string include_archived bool
amg_list_chat_sessions
annotations: none low

List available Claude Code chat sessions for review. Scans ~/.claude/projects/ for conversation history. Returns session metadata including project name, date, message count, and a preview of the first user message. Use this to find sessions worth ingesting into the memory graph. Args: project_filter: Optional substring to filter by project name.

project_filter str
amg_read_chat_session
annotations: none low

Read a Claude Code chat session and return its conversation content. Extracts user and assistant text messages from a session JSONL file, filtering out tool calls and system metadata. Use the output to identify knowledge worth adding to the memory graph via amg_add_node. Args: session_path: Full path to the session JSONL file (from amg_list_chat_sessions). max_messages: Maximum number of messages to return (default 100).

max_messages int session_path str

Permissions 2

filesystem low
Server uses filesystem capabilities via: open(), os, pathlib, tempfile
shell high
Server uses shell capabilities via: subprocess

Scan Findings 45

low
Tool 'amg_search_nodes' has no annotations annotation_checker · 100%
low
Tool 'amg_list_chat_sessions' has no annotations annotation_checker · 100%
low
Tool 'amg_load_index' has no annotations annotation_checker · 100%
low
Tool 'amg_expand_branch' has no annotations annotation_checker · 100%
low
Tool 'amg_get_connected_nodes' has no annotations annotation_checker · 100%
low
Tool 'amg_log_session' has no annotations annotation_checker · 100%
low
Tool 'amg_update_graph' has no annotations annotation_checker · 100%
low
Tool 'amg_export_report' has no annotations annotation_checker · 100%
low
Tool 'amg_manual_adjust' has no annotations annotation_checker · 100%
low
Tool 'amg_add_node' has no annotations annotation_checker · 100%
low
Tool 'amg_read_chat_session' has no annotations annotation_checker · 100%
info
Sandbox failed to start for behavioral verification behavioral_verifier · 100%
medium
Vulnerable dependency: cryptography@42.0.0 (GHSA-537c-gmf6-5ccf) dependency_analyzer · 95%
medium
Vulnerable dependency: cryptography@42.0.0 (GHSA-6vqw-3v5j-54x4) dependency_analyzer · 95%
medium
Vulnerable dependency: cryptography@42.0.0 (GHSA-79v4-65xg-pq4g) dependency_analyzer · 95%
medium
Vulnerable dependency: cryptography@42.0.0 (GHSA-9v9h-cgj8-h64p) dependency_analyzer · 95%
medium
Vulnerable dependency: cryptography@42.0.0 (GHSA-h4gh-qq45-vh27) dependency_analyzer · 95%
medium
Vulnerable dependency: cryptography@42.0.0 (GHSA-jwv3-5hgf-82ww) dependency_analyzer · 95%
medium
Vulnerable dependency: cryptography@42.0.0 (GHSA-m2h6-j472-rp4c) dependency_analyzer · 95%
medium
Vulnerable dependency: cryptography@42.0.0 (GHSA-m959-cc7f-wv43) dependency_analyzer · 95%
medium
Vulnerable dependency: cryptography@42.0.0 (GHSA-r6ph-v2qm-q3c2) dependency_analyzer · 95%
medium
Vulnerable dependency: cryptography@42.0.0 (PYSEC-2024-225) dependency_analyzer · 95%
medium
Vulnerable dependency: cryptography@42.0.0 (PYSEC-2026-1284) dependency_analyzer · 95%
medium
Vulnerable dependency: cryptography@42.0.0 (PYSEC-2026-1285) dependency_analyzer · 95%
medium
Vulnerable dependency: cryptography@42.0.0 (PYSEC-2026-2141) dependency_analyzer · 95%
medium
Vulnerable dependency: cryptography@42.0.0 (PYSEC-2026-35) dependency_analyzer · 95%
medium
Vulnerable dependency: cryptography@42.0.0 (PYSEC-2026-3553) dependency_analyzer · 95%
medium
Vulnerable dependency: cryptography@42.0.0 (PYSEC-2026-3554) dependency_analyzer · 95%
info
pyproject.toml metadata manifest_parser · 100%
info
Tool: amg_load_index manifest_parser · 90%
info
Tool: amg_expand_branch manifest_parser · 90%
info
Tool: amg_get_connected_nodes manifest_parser · 90%
info
Tool: amg_log_session manifest_parser · 90%
info
Tool: amg_update_graph manifest_parser · 90%
info
Tool: amg_export_report manifest_parser · 90%
info
Tool: amg_manual_adjust manifest_parser · 90%
info
Tool: amg_add_node manifest_parser · 90%
info
Tool: amg_search_nodes manifest_parser · 90%
info
Tool: amg_list_chat_sessions manifest_parser · 90%
info
Tool: amg_read_chat_session manifest_parser · 90%
info
Sandbox failed to start for output poisoning scan output_poisoning · 100%
low
Permission: filesystem access detected permission_analyzer · 80%
high
Permission: shell access detected permission_analyzer · 95%
info
No dependency files found for SBOM generation sbom_generator · 100%
medium
No build provenance detected (SLSA L0) slsa_assessor · 90%