Skip to content
Agentmart
Submit a tool

Total Agent Memory

Persistent local memory for coding agents: temporal knowledge graph, procedural and episodic recall

Connector by vbcherepanov · GitHub account verified by the MCP Registry

IndexedMITLocal (stdio)★ 73
Write a review

Install

Works with Claude Code, Codex, VS Code, Cursor, Windsurf, Claude Desktop. Read the repository before you give any tool access to your data.

npx agentmarket install connector/vbcherepanov-total-agent-memory

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Persistent local memory for coding agents: temporal knowledge graph, procedural and episodic recall

Use cases: agent-memory, knowledge-base

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this server can do and what it asks for, from its tool list, install config and code. Checked Oct 25, 2026.

Tools
40 read · 34 write · 2 delete · 1 not yet classified
Secrets
None asked for
Install scripts
None found
Runs as
Python package

Tools by what they do 77

Read from the source code; the running server may list different tools.

Read 40 · Look things up without changing anything.

  • analogize
  • classify_task
  • file_context
  • ingest_codebase
  • kg_at
  • kg_timeline
  • list_intents
  • memory_answer
  • memory_associate
  • memory_concepts
  • memory_consolidate
  • memory_consolidate_status
Show 28 more tools
  • memory_entity_resolve
  • memory_episode_recall
  • memory_eval_contradictions
  • memory_eval_recall
  • memory_eval_temporal
  • memory_explain_search
  • memory_export
  • memory_extract_session
  • memory_get
  • memory_graph
  • memory_graph_stats
  • memory_history
  • memory_perf_report
  • memory_recall
  • memory_recall_iterative
  • memory_search_by_tag
  • memory_search_fast
  • memory_self_assess
  • memory_skill_get
  • memory_stats
  • memory_temporal_query
  • memory_timeline
  • respond
  • search_intents
  • self_patterns
  • self_rules_context
  • task_phases_list
  • workflow_predict

Write 34 · Create, change, send or run things.

  • benchmark
  • kg_add_fact
  • kg_invalidate_fact
  • learn_error
  • memory_context_build
  • memory_episode_save
  • memory_eval_entity_consistency
  • memory_eval_locomo
  • memory_eval_long_context
  • memory_forget
  • memory_graph_index
  • memory_index_passages
Show 22 more tools
  • memory_observe
  • memory_rebuild_embeddings
  • memory_rebuild_fts
  • memory_reflect_now
  • memory_relate
  • memory_save
  • memory_save_fast
  • memory_skill_update
  • memory_update
  • memory_warmup
  • memory_wiki_generate
  • phase_transition
  • save_decision
  • save_intent
  • self_error_log
  • self_insight
  • self_reflect
  • session_end
  • session_init
  • task_create
  • workflow_learn
  • workflow_track

Delete 2 · Delete, drop, revoke or wipe things.

  • memory_delete
  • rule_set_phase

Not yet classified 1 · We could not tell from the name and description.

  • self_rules

Network hosts it talks to 29

  • agentmemoryleaderboard.ai · found in code
  • api.anthropic.com · found in code
  • api.cohere.com · found in code
  • api.deepinfra.com · found in code
  • api.deepseek.com · found in code
  • api.github.com · found in code
  • api.groq.com · found in code
  • api.openai.com · found in code
  • api.telegram.org · found in code
  • api.together.xyz · found in code
  • api.typesafe.ai · found in code
  • apple.com · found in code
  • dashscope-intl.aliyuncs.com · found in code
  • developer.vimeo.com · found in code
  • developers.openai.com · found in code
  • get.totalmemory.dev · found in code
  • github.com · found in code
  • glama.ai · found in code
  • host.docker.internal · found in code
  • html.duckduckgo.com · found in code
  • huggingface.co · found in code
  • litestream.io · found in code
  • ollama.ai · found in code
  • ollama.com · found in code
  • opencode.ai · found in code
  • openrouter.ai · found in code
  • s3.amazonaws.com · found in code
  • supermemory.ai · found in code
  • totalmemory.dev · found in code

Files it touches

  • /Users/vitalii-macpro/PROJECT/claude-memory/.claude/worktrees/agent-aff79c1fb7fee3b2b/src
  • ~/.claude-memory
  • ~/.claude-memory/.venv
  • ~/.claude-memory/nli_calibration.json
  • ~/.claude/plans/hashed-juggling-willow.md
  • /etc/localtime
  • /private/tmp/claude-501/-Users-vitalii-macpro-PROJECT-claude-memory/f7d28575-4acf-466d-bd6c-d420683474a4/scratchpad/mainbase2/src
  • /private/tmp/claude-501/-Users-vitalii-macpro-PROJECT-claude-memory/f7d28575-4acf-466d-bd6c-d420683474a4/scratchpad/mainwork2/src
  • /private/tmp/claude-501/-Users-vitalii-macpro-PROJECT-claude-memory/f7d28575-4acf-466d-bd6c-d420683474a4/scratchpad/pre/src
  • /tmp/beam_bench_db
  • /tmp/beam_bench_db_100K
  • /tmp/beam_bench_db_1M
  • /tmp/beam_bench_db_500K
  • /tmp/claude-memory-update.log
  • /tmp/locomo_bench_db
  • /tmp/locomo_clean_db
  • /Users/vitalii-macpro/claude-memory-server/benchmarks/data/longmemeval_s_cleaned.json
  • /Users/vitalii-macpro/claude-memory-server/src
  • /Users/vitalii-macpro/PROJECT/claude-memory/src
  • /Users/vitalii-macpro/PROJECT/claude-statusline
  • /Users/vitalii-macpro/PROJECT/gitlab
  • /Users/vitalii-macpro/Projects/olymp-update_20260410_100314
  • /Users/vitalii-macpro/VBCHEREPANOV/Mattermost
  • /var/folders/ys/0_4g85rs1rjbmpp03_0hsbrr0000gn/T/fastembed_cache
  • Your home directory (~)
  • ~/.codex/hooks/on-bash-error.sh
  • ~/.codex/hooks/on-stop.sh
  • ~/.codex/hooks/pre-edit.sh
  • ~/.codex/hooks/session-start.sh
  • ~/.codex/hooks/user-prompt-submit.sh
  • ~/.tam
  • ~/.tam-server
  • ~/.tam/.venv
  • ~/Documents/project/Projects
  • ~/MemoryInbox
  • ~/paths
  • Any path the agent passes to its tools

Tools (77)

Read from the source code; the running server may differ. Descriptions are the server’s own words; hidden characters are shown as [U+…].

  • analogize

    Find past solutions/lessons from OTHER projects whose feature set overlaps with the given problem text (Jaccard similarity).

  • benchmark

    Run the eval harness: recall_at_k, prevention_rate, latency percentiles. Loads scenarios from evals/scenarios/*.json by default.

  • classify_task

    v8.0: classify task into L1-L4 complexity + suggested phases.

  • file_context

    BEFORE editing a file, call this to surface past errors, lessons, and related rules for that file path. Returns risk_score ∈ [0, 1].

  • ingest_codebase

    Parse a file or directory into semantic AST chunks (functions, classes, methods) across 8 languages. Returns chunk count + sample.

  • kg_add_fact

    Record a temporal fact assertion (subject, predicate, object). Supersedes any prior assertion with same (s,p) and different object — full history is preserved. Use for evolving architectural decisions.

  • kg_at

    Point-in-time query: return fact assertions valid at `timestamp` (ISO 8601). Omit timestamp for currently-valid facts.

  • kg_invalidate_fact

    Close a currently-valid fact assertion. History is retained.

  • kg_timeline

    Full chronological history of assertions for a subject.

  • learn_error

    Structured error capture: file, error, root_cause, fix, pattern. After N (default 3) errors share the same pattern, a prevention rule is auto-synthesized into the rules table.

  • list_intents

    List recent user prompts from the intents table, newest first. Filter by project and/or session. Max 500 rows.

  • memory_answer

    Generate and verify a cited answer using the configured reasoning LLM. Evidence carries recording dates; when records about the same subject disagree, the latest one gives the current value and the answer names the value it replaced. First runs negative retrieval: a contradiction-seeking second search; a score >= 0.60 hands both sides to the reader and answers with a caveat (MEMORY_CONTRADICTION_POLICY=abstain refuses instead), 0.30-0.60 answers with a caveat (see `negative`); MEMORY_CONTRADICTION_SCORER=jev scores the pairs with TypeSafe's Jev instead of the LLM. Up to one missing-relation re…

  • memory_associate

    Associative recall — brain-like spreading activation through knowledge graph. Finds memories through concept resonance, not keyword search. In 'composition' mode, finds minimum set of memories covering all needed concepts.

  • memory_concepts

    List or search concepts in the knowledge graph.

  • memory_consolidate

    Find and merge duplicate/similar knowledge records. Keeps the longest version, supersedes shorter duplicates. Reduces noise in recall results.

Show 62 more tools
  • memory_consolidate_status

    v11.0 W2-G: report the consolidation daemon state — per-project last-run, active locks, recent activity. Use to verify the idle-project worker is making progress without interfering with active work.

  • memory_context_build

    Build optimal context for a query. Combines: spreading activation + knowledge graph + episodes + skills + self-model. The 'brain thinking' tool.

  • memory_delete

    Delete a knowledge record. By default a soft delete: the record leaves search results and vectors but stays in the database. hard=true erases it for good, with its earlier versions, derived rows and its text in the raw call log (use for personal data or anything that must not be kept).

  • memory_entity_resolve

    v11.0 W1-F: resolve a mention to its canonical entity within a project+type. Cross-session coreference via name/alias index + embedding cosine. Returns canonical_id, matched_via, and is_new flag. Pronouns return -1.

  • memory_episode_recall

    Find past episodes (experiences). Search by concepts, outcome, project, or impact.

  • memory_episode_save

    Save an episode — narrative of WHAT HAPPENED and HOW. Not just facts, but the journey: what was tried, what failed, what worked.

  • memory_eval_contradictions

    v11.0 Phase 8: runs contradiction_detector against a labelled fixture. Requires balanced/deep mode (LLM). Returns {status: 'not_implemented', ...} if module is unavailable.

  • memory_eval_entity_consistency

    v11.0 Phase 8: verifies entity_dedup canonicalization is stable across repeated saves of variant tag spellings.

  • memory_eval_locomo

    v11.0 Phase 8: run the LongMemEval-style recall+prevention scenario suite (loaded from evals/scenarios/) against the live store. Forces MEMORY_MODE=fast by default. Returns {scenarios_total, scenarios_passed, recall_at_5, recall_at_10, latency_ms, mode, llm_calls_during_eval, network_calls_during_eval}.

  • memory_eval_long_context

    v11.0 Phase 8: large-context recall scenario. Saves N records and queries them at the tail. Reuses eval_harness scenarios tagged 'long_context' if present.

  • memory_eval_recall

    v11.0 Phase 8: generic recall benchmark on a dataset path or a small built-in fixture. Same payload shape as memory_eval_locomo.

  • memory_eval_temporal

    v11.0 Phase 8: temporal recall using temporal_kg + temporal_filter. Returns {status: 'not_implemented', ...} when modules are missing.

  • memory_explain_search

    v11.0: same as memory_search_fast but returns a per-tier breakdown (fts/semantic/graph/fuzzy/hyde with raw scores, the merged RRF list, rerank_applied flag, embedding_space). Use to debug why a record did or didn't surface for a query.

  • memory_export

    Export all knowledge as JSON for backup or migration. Includes knowledge, sessions, relations and the agent action log.

  • memory_extract_session

    Get pending session transcripts for knowledge extraction. Previous sessions are auto-captured on exit. Use action='list' to see pending, 'get' to read transcript, then save knowledge via memory_save, then 'complete' to mark as processed.

  • memory_forget

    Apply retention policy: archive stale records (>180d, never recalled, low confidence), purge very old archived records (>365d), prune the agent action log past TAM_ACTION_LOG_RETENTION_DAYS. Keeps memory clean.

  • memory_get

    Batched fetch by ID — complement to memory_recall(mode='index'). Returns full content for ONLY the IDs the caller chose after inspecting an index. Typical 3-layer flow: recall(mode='index') → pick IDs → memory_get(ids=[...]).

  • memory_graph

    Query the unified knowledge graph. Returns neighborhood of a node: connected rules, skills, memories, concepts, entities.

  • memory_graph_index

    Reindex CLAUDE.md rules and skills into the knowledge graph. Run after modifying CLAUDE.md or adding new skills.

  • memory_graph_stats

    Knowledge graph statistics: nodes, edges, communities, top concepts, health metrics.

  • memory_history

    View version history for a knowledge record. Shows the chain of superseded versions (newest → oldest), enabling time-travel through knowledge evolution.

  • memory_index_passages

    Build local passage indexes before evidence searches. Repeat using next_after_id until remaining=0.

  • memory_observe

    Save a lightweight observation (auto-capture). No dedup, no ChromaDB — fast and cheap. Use for tracking file changes, tool usage, and session activity. Observations auto-cleanup after 30 days.

  • memory_perf_report

    v11.0: dump in-process telemetry counters (search_total_ms, embed_ms, fts_ms, vector_ms, llm_calls, network_calls) plus persistent embedding_cache stats. Use to verify the fast hot path stays clean.

  • memory_rebuild_embeddings

    v11.0: re-encode every record (or every record in a given embedding space) and update the binary + float32 vectors. Idempotent. Pass embedding_space='code' to refresh only code rows after switching the code embedder. Returns {rebuilt: int, skipped: int}.

  • memory_rebuild_fts

    v11.0: drop and rebuild the SQLite FTS5 virtual table from `knowledge` rows. Useful after migrations or content_type column changes that the FTS triggers didn't see. Returns {rebuilt: int}.

  • memory_recall

    Search ALL memory: decisions, solutions, facts, lessons from ALL past sessions. 6-stage pipeline: FTS5+BM25 → semantic → fuzzy → graph → (optional) CrossEncoder → (optional) MMR. Default: hybrid mode (BM25 + semantic + RRF). Use BEFORE starting any task. v11.0: routes to fast hot path when MEMORY_MODE=fast (default). Use memory_search_fast / memory_explain_search for explicit fast routing.

  • memory_recall_iterative

    v11.0 W1-B: IRCoT-style iterative retrieval. Decomposes the query into sub-questions, retrieves per sub-question, and asks a planner LLM whether more retrieval is needed. Best for multi-hop questions. Returns unified evidence + provenance per iteration.

  • memory_reflect_now

    Run reflection (the 'sleep' process). Consolidates knowledge, finds patterns, generates skill proposals, updates self-model.

  • memory_relate

    Create a typed relation between two knowledge records. Enriches graph expansion in Tier 4 search. Types: causal, solution, context, related, contradicts.

  • memory_save

    Save knowledge explicitly. Types: decision (MUST include WHY in context), solution, lesson, fact, convention. Saving the same words again (case and punctuation aside) replaces the stored record, so it carries the latest date; any other text, including a changed value, is stored as a new record. v10: a quality gate scores the record before save; below-threshold records are rejected with a `rejected_by_quality_gate: true` response (override with MEMORY_QUALITY_GATE_ENABLED=false). Use `importance` to surface critical decisions at recall time (boosts the final RRF score). v11.0: routes to fast ho…

  • memory_save_fast

    v11.0: same as memory_save but routes through the fast hot path (skip_quality=True, no LLM, no async-blocking). Use when you want to bypass the v10 quality gate without flipping the env flag.

  • memory_search_by_tag

    Search knowledge by tag. Returns all active records with matching tag (partial match). Useful for categorical browsing.

  • memory_search_fast

    v11.0: like memory_recall but with rerank=False, diverse=False forced. Deterministic fast path — zero LLM, FastEmbed-only.

  • memory_self_assess

    Self-assessment: how competent am I in given domains? Shows level, confidence, blind spots.

  • memory_skill_get

    Find skills matching a trigger. Skills are learned procedures — HOW to do things.

  • memory_skill_update

    Record skill usage or refine a skill. Updates success rate and metrics.

  • memory_stats

    Memory statistics with health metrics: sessions, knowledge by type/project, retention zones (active/archived/consolidated), stale records, storage size, config, write path (embedding backfill queue, outbox intents, swallowed errors by component over 24h, importance budget clamps).

  • memory_temporal_query

    v11.0 W1-C: deterministic temporal reasoning — Allen interval relations, duration arithmetic (days/weeks/months/years), and natural-language date normalization (en + ru). Pass op=relation|duration_between|normalize.

  • memory_timeline

    Browse session history. sessions_ago=N for 'N sessions ago', session_number=1 for first session, date_from/date_to for date ranges.

  • memory_update

    Update existing knowledge. Replaces the record `id`, or the best match for `find` (within `project` when given): supersedes it and creates a new version.

  • memory_warmup

    v11.0: pre-load FastEmbed model and open the vector store, so the first save/search after process start doesn't pay model-load latency.

  • memory_wiki_generate

    v10 — Render the per-project wiki digest (top decisions, active solutions, conventions, recent changes) as Markdown. Pass `project` to refresh one wiki, omit it to refresh all active projects. Files land in <MEMORY_DIR>/wikis/<project>.md and are deterministic (no LLM call).

  • phase_transition

    v8.0: advance a task to the next phase.

  • respond

    Return the response object.

  • rule_set_phase

    Attach or remove a phase scope on a rule (v8.0 lazy rule loading). Tag-based: manages 'phase:<X>' on the rule's tags. phase=null clears the phase tag (rule becomes core — applies to every phase). Valid phases: van, plan, creative, build, reflect, archive.

  • save_decision

    v8.0: save a structured architectural decision (options + criteria matrix + rationale + discarded). Adds `structured` tag and a JSON blob in context. Use for Creative-phase outputs; plain type=decision memory_save still works.

  • save_intent

    Persist one user prompt into the `intents` table (same source as the UserPromptSubmit hook). Use when programmatically seeding intents — the hook covers normal interactive usage. Dedupes same prompt within 5 min per session.

  • search_intents

    Substring search over user prompts (LIKE). Returns newest match first. Useful for 'what did I ask about X' without mining transcripts.

  • self_error_log

    Log an error/failure for pattern analysis. Call AUTOMATICALLY when: bash command fails, wrong assumption discovered, API returns error, config issue found, loop detected, or any mistake occurs. System detects patterns (3+ same category) and suggests insights.

  • self_insight

    Manage insights from error patterns (ExpeL-style). Actions: add (create, importance=2), upvote (+1), downvote (-1, auto-archive at 0), edit, list, promote (to rule when importance>=5 AND confidence>=0.8). Call 'add' when pattern detected. Call 'upvote' when insight confirmed again.

  • self_patterns

    Analyze error patterns and self-improvement stats. Views: error_patterns (frequency, repeating 3+), insight_candidates (ready for promotion), rule_effectiveness (success rates, stale rules), improvement_trend (weekly errors), full_report (all). Call periodically to track improvement.

  • self_reflect

    Save a verbal self-reflection (Reflexion pattern). Call after completing a task or encountering difficulty. NOT for errors (use self_error_log). For meta-observations about strategy, approach effectiveness, process improvements.

  • self_rules

    Description is built at runtime.

  • self_rules_context

    Get active behavioral rules for current session. Call at SESSION START to load rules. Returns rules filtered by project and scope. v8.0: pass `phase` to lazy-load rules relevant to current task phase — core rules (no phase tag) + rules tagged phase:<X>. Cuts prompt tokens ~70%. After task completion, rate rules: self_rules(action='rate', id=X, success=true/false).

  • session_end

    End-of-session capture: summary + highlights + pitfalls + next_steps so the next session can resume cleanly. Set auto_compress=true to have the LLM generate the missing summary/next_steps/pitfalls from stored session artifacts (or from an optional `transcript`).

  • session_init

    At session start: return the most recent unconsumed end-of-session summary with highlights / pitfalls / next_steps.

  • task_create

    v8.0: start a task in `van` phase (auto-classifies level if missing).

  • task_phases_list

    v8.0: list all phases of a task in chronological order.

  • workflow_learn

    Record a learned workflow (named sequence of steps) for future reuse.

  • workflow_predict

    Predict outcome (success probability, avg duration) for a workflow by id OR by trigger keyword. Uses Laplace-smoothed success rate.

  • workflow_track

    Record a workflow execution outcome. Outcome ∈ {success|failure|partial|aborted}. Aggregates update automatically.

Compare and alternatives

    Featured in

    Signals

    Stars
    73
    Forks
    18
    Open issues
    0
    Contributors
    5
    Weekly downloads
    252
    Last commit
    Oct 14, 2026 (14 days ago)
    Last release
    Oct 14, 2026 (14 days ago)
    Last package publish
    Oct 14, 2026 (14 days ago)

    From GitHub (fetched Oct 24, 2026) and the package registry.

    Details

    Registry name
    io.github.vbcherepanov/total-agent-memory
    Version
    14.9.0
    Auth
    No auth
    Packages
    pypi total-agent-memory
    License
    MIT
    First seen
    Oct 24, 2026
    Last checked
    Oct 24, 2026
    Cite this page

    Total Agent Memory MCP server. Agent Mart. https://agentmart.dev/connectors/vbcherepanov-total-agent-memory (last updated 2026-10-24)