Persistent memory for AI coding agents
Your AI agent doesn't know
where it learned that.
SAME is persistent memory — with receipts. Tracks where your agent's knowledge came from, flags when sources change, and works across Claude Code, Cursor, Windsurf, and every MCP tool.
$ curl -fsSL statelessagent.com/install.sh | bash
PS> irm https://statelessagent.com/install.ps1 | iex
$ npm install -g @sgx-labs/same
Then run same demo to see it in action.
Every project gets its own AI memory.
Per-project isolation. Automatic context surfacing. Memory with provenance — tracks where knowledge came from and flags when sources change. A knowledge graph that traces relationships across notes and decisions. 17 MCP tools. 6 Claude Code hooks. ~12MB binary. Your data never leaves your machine.
Memory You Can Trust
Tracks where knowledge came from. Flags when sources change. Stale notes rank lower automatically. Your AI knows what to trust — and what to doubt. Trust-aware retrieval, built in. Learn more →
One vault per project
Each project gets its own isolated database at .same/, auto-detected by directory.
Two sessions in different projects use completely different knowledge bases.
Zero cross-pollination. Minimal config.
Use same search --all when you want to search across projects.
Persistent memory
Decisions, handoffs, and context survive across sessions — even after crashes. Your agent captures decisions automatically and generates handoff notes when sessions end. Session 100 builds on session 1. See all 17 tools
Knowledge graph
Related decisions and dependencies surface through graph connections.
Query paths between concepts with 1-hop expansion.
same graph stats, same graph query, same graph path.
Seed vaults
17 pre-built knowledge bases with 870+ curated notes. Install in one command:
same seed install claude-code-power-user.
From security audits to cooking techniques.
Expert knowledge from day zero.
Provider flexibility
Run with Ollama, OpenAI, any OpenAI-compatible server, or keyword-only mode.
No LLM required. No GPU required.
10 embedding models, one command to switch: same model use <name>.
Works out of the box. Add Ollama for semantic search.
Safety by default
Checksum-verified updates. Path containment guards. Private path filtering.
Prompt injection scanning. 19 diagnostic checks via same doctor.
Zero telemetry — no telemetry code exists in the binary.
Your AI doesn't need to learn from scratch.
$ same seed install claude-code-power-user
17 pre-built knowledge vaults. 870+ curated notes. One command.
Claude Code Power User
Master Claude Code workflows, hooks, MCP servers, and prompt patterns. The meta-seed — teaches your AI how to use its own tools better.
AI Agent Architecture
Production patterns for building AI agents. Memory strategies, tool design, orchestration, reliability, and deployment.
Personal Productivity OS
AI-powered personal productivity system with habit tracking, recipes, gamification, and self-growth frameworks.
Seeds grow smarter with use — your decisions build on seed knowledge. Browse all seeds →
Browse, search, and inspect — in your browser.
$ same web --open
Read-only. Localhost only. No network calls.
Browse your vault
See every note, decision, and handoff in one place. Full-text rendering with metadata.
Search visually
Same semantic search as MCP, but with a UI. See scores, distances, and which gates fired.
Inspect the index
Chunk counts, embedding stats, staleness — everything same doctor checks, live in your browser.
The numbers.
when surfaced
found
left alone
per prompt
When SAME surfaces context, it's almost always relevant. When it stays quiet, it's almost always right to. These numbers come from the creator's own vault — not a synthetic benchmark. Your mileage will vary, and that's the point: the eval methodology is published so you can run it on your own notes.
105 ground-truth test cases · 273-note vault · Eval methodology published — challenge it.
Your agent gets smarter the longer you use it.
You explain your project
Architecture, decisions, preferences. Fifteen minutes of pasting context before you can start working.
Your agent remembers key decisions
Pagination strategy, auth patterns, testing conventions. It stops asking questions you've already answered.
Your agent knows your project
It catches you reintroducing a bug you fixed in session 12. It remembers your pagination decision from January. It knows your test naming convention without being told.
Three steps. Minimal config.
Install
One command. Works alongside your existing tools. Nothing to migrate. Minimal setup. Works without Ollama via keyword search.
Work normally
SAME hooks into your AI agent and captures decisions, patterns, and context as you work. You don't change anything about how you code.
Context compounds
Each session builds on the last. Your agent starts with orientation, not a blank slate. Session 100 is dramatically better than session 1.
Started as a tool for my own scattered brain — I'd have ideas mid-session, forget them by the next one, and never do anything with them. Years of that. Every good idea just gone.
So I built something to catch all of it. Dump everything, let it organize itself, have it show back up right when I need it. Turns out it makes the AI better too — we both stopped losing the thread.
Why not just use CLAUDE.md?
You should. CLAUDE.md is your starting knowledge — project rules, architecture decisions, coding conventions. SAME is the knowledge that accumulates as you work. Decisions you made in session 12. The bug you fixed last Tuesday. The pattern your team adopted in January. CLAUDE.md is what you write once. SAME is what builds up over 50 sessions without you thinking about it. They work together — SAME reads your CLAUDE.md too. And unlike built-in IDE memories, SAME works across every tool — switch from Claude Code to Cursor without losing a single decision.
Everything included. Nothing locked.
No tiers, no paywalls, no cloud lock-in. Every feature ships in the free binary.
See detailed comparison with alternatives
| SAME | CLAUDE.md | Mem0 | Manual MCP | |
|---|---|---|---|---|
| Setup | 1 command | Create a file | pip + config + API key | Build per tool |
| Cross-tool | All MCP clients | Claude Code only | SDK-specific | Varies |
| Privacy | Fully local | Local file | Cloud default | Depends |
| Cost | Free | Free | Free tier + paid plans | Free (DIY) |
| Knowledge graph | Built-in | — | Paid tier | — |
| Memory integrity | Provenance + staleness | — | — | — |
| Zero setup | Install + init | Create a file | Account + API key | Build from scratch |
| Managed / hosted | No — runs locally | — | Yes | Varies |
Give your AI agent a memory it can trust.
$ curl -fsSL statelessagent.com/install.sh | bash
PS> irm https://statelessagent.com/install.ps1 | iex
$ npm install -g @sgx-labs/same
$ same demo
same init in your own project