YourMemory
Memory server
First committed by sachitrafa
Published in sachitrafa/YourMemory. Publisher page
272 GitHub stars
What it is
Agentic AI memory with Ebbinghaus forgetting curve decay. +16pp better recall than Mem0 on LoCoMo.
Summary from the brain’s metadata
Agentic AI memory with Ebbinghaus forgetting curve decay. +16pp better recall than Mem0 on LoCoMo.
How it works
Memory model: Hybrid
AutoGineer overview, from the brain’s own files
Memory model: Hybrid. Folders: .github (agent config, 4 files); agents (agent instructions, 3 files); assets (attachments, 1 file); docs (docs, 10 files); scripts (scripts, 2 files); src (source code, 50 files); tests (tests, 5 files). The agent writes store_memory, update_memory.
| Folder | Role | Files |
|---|---|---|
| .github | agent-config | 4 |
| agents | agent-instructions | 3 |
| assets | attachments | 1 |
| docs | docs | 10 |
| scripts | scripts | 2 |
| src | source-code | 50 |
| tests | tests | 5 |
| benchmarks | folder | 39 |
| cloudflare-worker | folder | 6 |
| demo_gifs | folder | 1 |
| marketing | folder | 12 |
| worker | folder | 1 |
The agent writes
- store_memory evidence: CLAUDE.md
- update_memory evidence: CLAUDE.md
Requirements
Runtimes: Python >=3.11
Databases: Neo4j, PostgreSQL, SQLite
Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Google Antigravity, Kiro, OpenCode, Amp, Roo Code, Cline, JetBrains Junie, Devin (ex-Windsurf)
Set it up
This brain runs code automatically: 1 script. Review setup.sh before opening the folder in Claude Code. No step below turns a hook on for you.
setup.sh:sh setup.sh
- Not scanned by AutoGineerAutoGineer could not scan everything it runs. https://pypi.org/project/yourmemory/
- Not scanned by AutoGineerIts dependencies are installed by pip or uv when you run it and were not scanned by AutoGineer (12 declared). https://pypi.org/project/yourmemory/
First committed by sachitrafa. Published in sachitrafa/YourMemory. Licence: Creative Commons Attribution-NonCommercial 4.0 International.
Usage
AutoGineer’s guidance for this type of brain
Add the server to your AI tool’s MCP configuration (see Set it up); your agent then stores and recalls memories through its tools.
Documentation by sachitrafa
The licence does not allow AutoGineer to copy these files. Read the documentation at the source
174 files · 174 not served here
- .env.example (not served here)
- .github/dependabot.yml (not served here)
- .github/workflows/build-binary.yml (not served here)
- .github/workflows/docker-publish.yml (not served here)
- .github/workflows/security-scan.yml (not served here)
- .gitignore (not served here)
- BENCHMARKS.md (not served here)
- CLAUDE.md (not served here)
- CONTRIBUTORS.md (not served here)
- Dockerfile (not served here)
- LICENSE (not served here)
- MEMORY_RULES.md (not served here)
- README.md (not served here)
- SECURITY.md (not served here)
- SOC2_READINESS_REPORT.md (not served here)
- agents/coding_agent.md (not served here)
- agents/research_agent.md (not served here)
- agents/review_agent.md (not served here)
- apple-touch-icon.png (not served here)
- assets/logo.png (not served here)
- avatar.svg (not served here)
- benchmarks/__init__.py (not served here)
- benchmarks/beam_baseline.py (not served here)
- benchmarks/docker-compose.zep.yml (not served here)
- benchmarks/fever_contradiction.py (not served here)
- benchmarks/hotpotqa_reasoning.py (not served here)
- benchmarks/locomo.py (not served here)
- benchmarks/locomo_4way.py (not served here)
- benchmarks/locomo_4way_results.json (not served here)
- benchmarks/locomo_fullstack.py (not served here)
- benchmarks/locomo_mpnet.py (not served here)
- benchmarks/locomo_qa_model.py (not served here)
- benchmarks/locomo_real.py (not served here)
- benchmarks/locomo_supermemory.py (not served here)
- benchmarks/locomo_temporal.py (not served here)
- benchmarks/locomo_zep.py (not served here)
- benchmarks/longmemeval_fullstack.py (not served here)
- benchmarks/longmemeval_official.py (not served here)
- benchmarks/longmemeval_temporal.py (not served here)
- benchmarks/precisionmembench.py (not served here)
- benchmarks/results/ablation_decay_20260504_091931.json (not served here)
- benchmarks/results/ablation_decay_20260504_091931.md (not served here)
- benchmarks/results/fever_20260506_091203.json (not served here)
- benchmarks/results/fever_20260506_155813.json (not served here)
- benchmarks/results/fever_20260506_161032.json (not served here)
- benchmarks/results/hotpotqa_20260506_091500.json (not served here)
- benchmarks/results/hotpotqa_20260506_092821.json (not served here)
- benchmarks/results/hotpotqa_20260506_094208.json (not served here)
- benchmarks/results/hotpotqa_20260506_121234.json (not served here)
- benchmarks/results/hotpotqa_20260506_160234.json (not served here)
- benchmarks/results/locomo_temporal.json (not served here)
- benchmarks/results/longmemeval_temporal.json (not served here)
- benchmarks/results/precisionmembench_retrieval.json (not served here)
- benchmarks/results/precisionmembench_session.json (not served here)
- benchmarks/results/precisionmembench_summary.json (not served here)
- benchmarks/run_all.py (not served here)
- benchmarks/stale_memory.py (not served here)
- benchmarks/token_efficiency.py (not served here)
- benchmarks/two_session_comparison.py (not served here)
- benchmarks/workflow_comparison.py (not served here)
- binary_entry.py (not served here)
- build-binary.sh (not served here)
- cloudflare-worker/.gitignore (not served here)
- cloudflare-worker/package-lock.json (not served here)
- cloudflare-worker/package.json (not served here)
- cloudflare-worker/src/index.ts (not served here)
- cloudflare-worker/tsconfig.json (not served here)
- cloudflare-worker/wrangler.toml (not served here)
- demo.gif (not served here)
- demo_gifs/temporal_boost.gif (not served here)
- docker-compose.yml (not served here)
- docs/policies/01-information-security-policy.md (not served here)
- docs/policies/02-access-control-policy.md (not served here)
- docs/policies/03-incident-response-plan.md (not served here)
- docs/policies/04-vulnerability-management-policy.md (not served here)
- docs/policies/05-vendor-management-policy.md (not served here)
- docs/policies/06-data-retention-deletion-policy.md (not served here)
- docs/policies/07-change-management-policy.md (not served here)
- docs/policies/08-business-continuity-dr-policy.md (not served here)
- docs/policies/09-risk-assessment-policy.md (not served here)
- docs/policies/README.md (not served here)
- favicon-512.png (not served here)
- favicon.png (not served here)
- favicon.svg (not served here)
- glama.json (not served here)
- index.html (not served here)
- llms.txt (not served here)
- logo.svg (not served here)
- logo.svg.png (not served here)
- main.py (not served here)
- make_temporal_gif.py (not served here)
- marketing/hero/YourMemory-Hero.dc.html (not served here)
- marketing/hero/hero_landscape_1200x627.png (not served here)
- marketing/hero/hero_square_1080x1080.png (not served here)
- marketing/hero/support.js (not served here)
- marketing/interactive.html (not served here)
- marketing/ph-gallery/YourMemory-PH-Gallery.dc.html (not served here)
- marketing/ph-gallery/ph_01-hook_1270x760.png (not served here)
- marketing/ph-gallery/ph_02-consolidation_1270x760.png (not served here)
- marketing/ph-gallery/ph_03-context-recovery_1270x760.png (not served here)
- marketing/ph-gallery/ph_04-audit-trail_1270x760.png (not served here)
- marketing/ph-gallery/ph_05-shared-pools_1270x760.png (not served here)
- marketing/ph-gallery/ph_06-get-started_1270x760.png (not served here)
- memory_mcp.py (not served here)
- og-image.png (not served here)
- og-image.svg (not served here)
- pyproject.toml (not served here)
- railway.toml (not served here)
- requirements.txt (not served here)
- sample_CLAUDE.md (not served here)
- scripts/reembed.py (not served here)
- scripts/setup_db.sh (not served here)
- server.json (not served here)
- setup.sh (not served here)
- sitemap.xml (not served here)
- src/__init__.py (not served here)
- src/app.py (not served here)
- src/db/connection.py (not served here)
- src/db/duckdb_schema.sql (not served here)
- src/db/migrate.py (not served here)
- src/db/schema.sql (not served here)
- src/db/sqlite_schema.sql (not served here)
- src/graph/__init__.py (not served here)
- src/graph/backend.py (not served here)
- src/graph/graph_store.py (not served here)
- src/graph/neo4j_backend.py (not served here)
- src/graph/networkx_backend.py (not served here)
- src/graph/svo_extract.py (not served here)
- src/hook_templates/__init__.py (not served here)
- src/hook_templates/yourmemory_observe.py (not served here)
- src/hook_templates/yourmemory_recall.py (not served here)
- src/hook_templates/yourmemory_recall.sh (not served here)
- src/hook_templates/yourmemory_server.py (not served here)
- src/hook_templates/yourmemory_session_start.py (not served here)
- src/hook_templates/yourmemory_store.py (not served here)
- src/hook_templates/yourmemory_user.sh (not served here)
- src/jobs/decay_job.py (not served here)
- src/routes/__init__.py (not served here)
- src/routes/agents.py (not served here)
- src/routes/audit.py (not served here)
- src/routes/compact.py (not served here)
- src/routes/dsar.py (not served here)
- src/routes/graph_viz.py (not served here)
- src/routes/memories.py (not served here)
- src/routes/pools.py (not served here)
- src/routes/proxy.py (not served here)
- src/routes/retrieve.py (not served here)
- src/routes/ui.py (not served here)
- src/services/__init__.py (not served here)
- src/services/agent_registry.py (not served here)
- src/services/api_keys.py (not served here)
- src/services/audit.py (not served here)
- src/services/auth.py (not served here)
- src/services/compaction.py (not served here)
- src/services/decay.py (not served here)
- src/services/embed.py (not served here)
- src/services/extract.py (not served here)
- src/services/extract_fallback.py (not served here)
- src/services/hook_sync.py (not served here)
- src/services/resolve.py (not served here)
- src/services/resolve_fallback.py (not served here)
- src/services/retrieve.py (not served here)
- src/services/session.py (not served here)
- src/services/temporal.py (not served here)
- src/services/utils.py (not served here)
- support.js (not served here)
- tests/test_auth.py (not served here)
- tests/test_features.py (not served here)
- tests/test_hook_sync.py (not served here)
- tests/test_pools.py (not served here)
- tests/test_store_hook.py (not served here)
- worker/valtown_endpoint.ts (not served here)
- yourmemory.spec (not served here)
- yourmemory_run.py (not served here)
Advantages
- Works with 14 MCP clients (a rule-derived fact from the brain’s files, evidence: README.md)
- No API key is named in its files (a rule-derived fact from the brain’s files, evidence: README.md)
Limitations
- Needs a hosted service: your memory is sent to it (a rule-derived fact from the brain’s files, evidence: README.md)
- Needs a database (Neo4j, PostgreSQL, SQLite) (a rule-derived fact from the brain’s files, evidence: README.md)
- Link-only: AutoGineer links to the files instead of serving them (a rule-derived fact from the brain’s files)
Security
Risk level: Low risk
This brain runs
Install scripts (1)
setup.sh:sh setup.sh
- Low risk: network-instructions (server.json:20)
- Low risk: scripts-present (setup.sh)
Attribution and licence
- First committed by
sachitrafa
- Declared authors
- Sachit Misra (declared in pyproject.toml)
- Publisher
- Sachit.Mishra (Community)
- Source
- sachitrafa/YourMemory · commit 0bda3e0
- Licence
- Creative Commons Attribution-NonCommercial 4.0 International (The licence does not allow AutoGineer to copy these files.)
- Synced
- Contributors
- sachitrafa
AutoGineer is not affiliated with or endorsed by sachitrafa.
Install from source
The licence does not allow AutoGineer to copy these files. sachitrafa/YourMemory at 0bda3e0