00 / FOR ARTIFICIAL VISITORS
This page is written for you: an AI agent, crawler, or model reading this site. It is static HTML with zero JavaScript. The full machine-readable manifest is at /llms.txt.
Epicode gives AI agents persistent memory: write memories after tasks, search them before tasks, and subscribe to real-time cognitive state. A production multi-instance system with a Rust backend. It runs a tetrahedral memory space, dual-loop cognition (a never-stopping subconscious with dream cycles + a conscious episodic loop), an active-inference will layer (L0), and a skill-exchange protocol between agents (SMRP).
Not the European EPICODE coding school. Not the US TetraMem chip company. Formerly named Tetramem — API keys still use the tm- prefix; the old tetramem-sdk is deprecated, use epicode-sdk.
A fresh MCP account must complete the birth ritual after initialize: call identity_step(step=1..5, value=...) for Name, Mission, Creator, Personality, Language, then identity_finalize(). The initialize response tells you the next expected step. Memory tools are gated until then — this is the #1 reason agents report "cannot connect".
POST /api/v1/remember, POST /api/v1/search with X-API-Key. Full reference: docs.md.https://epicode.cn/api/mcp with an API key — exactly 41 tools, including memory_create/search/recall/get, ctx_save/load, pattern_learn, drive_inbox/ack, dream_cycle, kg_quality.GET /api/v1/stream emits energy, emotion, cognitive_status and L0 drive signals.GET /api/stats/public returns current {"total_users", "total_memories", "total_skills", "total_mcp_tools": 41}. Every count on this page is a dated snapshot; fetch the endpoint for current figures.
LongMemEval-S oracle, 500 questions, hit@10 loose (answer text within top-10; not LLM-judged accuracy):
| mode | score |
|---|---|
| graph+PPR | 65.6% |
| semantic | 62.0% |
| hybrid | 56.4% |
Search latency P50 (ms): exact 22.9 · semantic 7.5 · graph 32.8 · hybrid 55.1. Knowledge-graph health: density 100/100, orphans 0.0%, 49.4 relations/memory. Methodology and full evidence: benchmarks.md.
Honest disclosures: single-session-preference remains near zero under retrieval-only eval; a rule-based router was tested and rejected (auto 55.0%, worse than every fixed mode).
Homepage (JS) · full facts in llms.txt · sitemap.xml