Does Stateless Agent Memory Engine (SAME) require a cloud service?
No. SAME runs entirely locally. All data stays on your machine; there is no cloud dependency, no telemetry, and no API keys required.

@sgx-labs
基本情報
Memory with integrity for AI coding agents. SAME tracks provenance, flags stale knowledge, and surfaces contradictions; so your AI trusts what's current, not what's outdated.
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"same": {
"command": "npx",
"args": [
"-y",
"@sgx-labs/same",
"mcp",
"--vault",
"/path/to/your/notes"
]
}
}
}Create a session handoff note so the next session picks up where this one left off. Write what you worked on, what's pending, and any blockers. Args: summary: What was accomplished this session pending: What's left to do (optional) blockers: Any blockers or open questions (optional) Returns path to the handoff note.
Find notes that cover similar topics to a given note. Use this to discover related context, find notes that might conflict, or build a broader picture of a topic. Args: path: Relative path of the source note top_k: Number of similar notes (default 5, max 100) Returns list of related notes ranked by similarity.
Read the full content of a note. Use this after search_notes returns a relevant result and you need the complete text. Paths are relative to the vault root. Args: path: Relative path from vault root (as returned by search_notes) Returns full markdown text content.
Get orientation context for a new session. Returns pinned notes, the latest handoff, and recent decisions — everything you need to pick up where the last session left off. Returns structured session context.
Check the health and size of the note index. Use this to verify the index is up to date or to report stats to the user. Returns note count, chunk count, last indexed timestamp, embedding model info, and database size.
Get recently modified notes. Use this to see what's changed recently or to orient yourself at the start of a session. Args: limit: Number of recent notes (default 10, max 50) Returns list of recently modified notes with titles and paths.
Re-scan and re-index all markdown notes. Use this if the user has added or changed notes and search results seem stale. Incremental by default (only re-embeds changed files). Args: force: Re-embed all files regardless of changes (default false) Returns indexing statistics.
Log a project decision. Appends to the decision log so future sessions can find it. Args: title: Short decision title (e.g. 'Use JWT for auth') body: Full decision details — what was decided, why, alternatives considered status: Decision status — 'accepted', 'proposed', or 'superseded' (default 'accepted') Returns confirmation.
Create or update a markdown note in the vault. The note is written to disk and indexed automatically. Args: path: Relative path within the vault (e.g. 'decisions/auth-approach.md') content: Markdown content to write append: If true, append to existing file instead of overwriting (default false) Returns confirmation with the saved path.
Search across multiple registered vaults at once. Use this instead of search_notes when you need context from other projects or want a cross-project view. Vaults must be registered first via the CLI (`same vault add <name> <path>`). Args: query: Natural language search query top_k: Number of results (default 10, max 100) vaults: Comma-separated vault aliases to search. Omit to search all registered vaults. Unknown aliases are silently skipped. Returns ranked results with titles, paths, snippets, and source vault name.
Search the user's knowledge base for relevant notes, decisions, and context. Use this when you need background on a topic, want to find prior decisions, or need to understand project architecture. Args: query: Natural language search query (e.g. 'authentication approach', 'database schema decisions') top_k: Number of results (default 10, max 100) Returns ranked list of matching notes with titles, paths, and text snippets.
Search the user's knowledge base with metadata filters. Use this when you want to narrow results by domain (e.g. 'engineering'), workstream (e.g. 'api-redesign'), or tags. Args: query: Natural language search query top_k: Number of results (default 10, max 100) domain: Filter by domain (e.g. 'engineering', 'product') workstream: Filter by workstream/project name tags: Comma-separated tags to filter by Returns filtered ranked list.
Stateless Agent Memory Engine (SAME) gives your AI persistent memory from your existing markdown notes (any folder of .md files) — no cloud, no API keys, one binary. It integrates with AI coding tools like Claude Code, Cursor, and Windsurf via MCP (Model Context Protocol), and is designed for developers who want their AI assistant to retain context across sessions.
Install via curl -fsSL statelessagent.com/install.sh | bash or npm install -g @sgx-labs/same. Run same init inside your project directory to set up hooks and MCP configuration automatically. Then you can query your notes with same ask "your question" or add the MCP server manually to any MCP client using npx -y @sgx-labs/same mcp --vault /path/to/notes.
_PRIVATE/ never indexedNo. SAME runs entirely locally. All data stays on your machine; there is no cloud dependency, no telemetry, and no API keys required.
SAME Lite operates with zero external dependencies (SQLite FTS5 for keyword search). For semantic search and RAG (`same ask`), Ollama must be installed to provide embeddings and a chat model. Without Ollama, all features still work with keyword fallback.
Per the README comparison table, SAME requires one command to set up versus pip + config (mem0) or Docker + PostgreSQL (Letta). It has a ~10MB binary, is fully offline capable, provides 12 MCP tools, and includes Claude Code hook integration. Benchmarks show retrieval precision of 99.5% and MRR of 0.949.
Your markdown notes remain in your chosen directory. SAME creates a local SQLite database (with vector and FTS5 indexes) within the vault directory. Notes marked `_PRIVATE/` are never indexed; `research/` notes are indexed but git‑ignored by default.
Business Source License 1.1 (BSL 1.1). Free for personal, educational, hobby, research, and evaluation use. Converts to Apache 2.0 on 2030‑02‑02.
The ultimate RAG for your monorepo. Query, understand, and edit multi-language codebases with the power of AI and knowledge graphs

MCP connector for Snipara, the Project Brain for AI coding agents

Personal context for every AI: search, read, and write back to your private Markdown library of articles, threads, PDFs, notes, and captured ChatGPT/Claude/Gemini/Grok conversations. Remote server, OAuth 2.1 paste-and-au

Sooveryn gives Claude Code a team of AI personas that remembers your project. Soov, the partner and team lead, keeps your decisions and how you work in a lasting memory, and finds them again by words and by meaning, from

The official Semantic-UI-React integration
コメント