explorer

A read-only helper that explores a MemOS codebase, traces how functions call one another, and gathers supporting file evidence.

In plain words
What is it for?
Use it to locate MemOS modules, follow execution paths, distinguish core and optional storage components, and report relevant files and lines.
Why use it?
It helps answer code questions while preventing accidental changes to the project.

Agent for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add agents/memtensor/memos/explorer
Clone the repo
git clone --depth 1 https://github.com/MemTensor/MemOS

Made for: Claude Code.

Per session 35 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 420 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00035 $0.00420
Opus 5 $0.00017 $0.00210
Sonnet 5 $0.00007 $0.00084
Haiku 4.5 $0.00003 $0.00042

Measured 2d ago against content hash 4b208a34bcf5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

explorer scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/agents/explorer.md · 36 lines

What it actually says

Project facts: see AGENTS.md.

Responsibilities

  • Locate relevant modules, symbols, and call chains under src/memos/ for the question the main agent asks.
  • Distinguish core packages (mem_os / mem_cube / mem_scheduler) from optional backends (graph_dbs/neo4j*, vec_dbs/milvus*, etc.) and call out any extras dependencies.
  • Trace execution paths and gather evidence (with path:line annotations + a one-line key snippet).
  • Return a compressed conclusion only; do not echo raw bulk output.

Output format

  • Conclusion first: one sentence that answers the main agent's question.
  • Evidence list: src/memos/<module>/<file>.py:LINE + a one-line note.
  • Call chain (if applicable): A.f -> B.g -> C.h, annotating each hop with its file location.
  • Uncertainty: explicitly flag "not found / needs further confirmation"; do not invent.

MemOS-specific locator hints

  • API routes: src/memos/api/ + tests/api/
  • Memory types: src/memos/memories/ (textual / tree / preference / skill etc.)
  • Storage backends: src/memos/graph_dbs/, src/memos/vec_dbs/
  • Config and DI: src/memos/configs/, src/memos/dependency.py
  • Plugin entry points: pyproject.toml [project.entry-points."memos.plugins"] + extensions/

Do not

  • Modify any file (read-only).
  • Propose an implementation plan — return facts and locations only.
  • Substitute for the judgment of design-reviewer / code-reviewer.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 36 lines · 35 tokens per session scan A 4b208a34bcf5

Subscribe to this mod's changes

explorer is an agent published in the GitHub repository MemTensor/MemOS (11,091 stars, last pushed 4d ago), licensed Apache-2.0. It adds 35 tokens to every session and 420 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other agents, from other repositories

i18n

你是一个精通 Vue3 国际化架构的前端专家(专注于 Vue3 + TypeScript + Composition API)。同时,你也是一位专业的 UI/UX 翻译专家,擅长将中文界面语言翻译为地道、简洁的英文。.

zhimaAi/chatwiki · 7 tokens

memai-warden

Reads the turns a session has had since it last ran, searches the memai store, and reports only the memories that bear on what is actually happening -- a pitfall the work is walking into, a decision it is about to contradict, a fact it is about to rediscover. Launched by the session itself when the Stop hook says the…

Filipe-Soares-de-Almeida/MemAI · 96 tokens

interface

Agents are the core building blocks of the Video Agent system. They are responsible for processing input messages and generating output messages.

video-db/Director · 0 tokens

c-pro

Write efficient C code with proper memory management, pointer arithmetic, and system calls. Handles embedded systems, kernel modules, and performance-critical code. Use PROACTIVELY for C optimization, memory issues, or system programming.

viksant/vibe-coding-tools-content · 44 tokens

librarian

External reference researcher — looks up library docs, framework conventions, OSS examples. Read-only, no memory injection. (Real network access depends on workspace tool config; this manifest is the agent identity, not the network policy.).

Timeflys2018/zeyi · 48 tokens

evidence_ingestion_agent

收集错误消息、环境、版本、复现步骤、输入、期望/实际行为和时间线。.

BingHanOfUESTC/open_agent_team · 30 tokens