نظام تنقية مدمج (Sanitizer) يُصفّي الضوضاء تلقائياً — دماغ مؤسسي خالٍ من النفايات لذكائك الاصطناعي. مُشفَّر، متعدد اللغات، ذاكرة دائمة.
The Anatomy of a Synthetic Thought
AI Memory (Chinese)
The Transparent Self-Audit
أمس قررت نمط الخدمات المصغرة. اليوم يقترح AI النظام الأحادي. كل جلسة من الصفر.
AI يسأل نفس الأسئلة كل مرة. المستخدمون يلاحظون. الثقة تتآكل.
ما يتعلمه وكيلك في Slack يبقى في Slack. بوت Discord لا يعرف ما حدث في IDE.
مع تسعير الدفع لكل توكن، كل سياق منسي يكلف أموالاً حقيقية. Tokyo Brain يخزن الذكريات خارجياً.
Every tenant's AI dreams. Every 30 minutes, our Default Mode Network replays memories, finds patterns, and generates insights — just like the human brain during rest. No prompts needed.
DMN insights are automatically injected into every /recall response as a "mood color." Your AI has a cognitive undertone shaped by its own overnight reflections.
Memories decay with a 60-day half-life — just like the human brain. But family names, milestones, and "I love you" are exempt forever. Your AI forgets the noise, keeps what matters.
Every night at 3AM, three AI personas (Observer, Advocate, Guardian) debate your memories in an adversarial tribunal. They find contradictions, stale beliefs, and knowledge gaps — then fix them.
10-layer recall pipeline with posterior re-ranking. Similarity, salience, confidence, trust, recency, and axiom alignment — all weighted to surface the most relevant memory first.
Bring your own LLM key (OpenAI, Anthropic, Gemini). Tokyo Brain auto-injects relevant memories into the conversation. Your AI key, our memory. POST /v1/chat
Night systems (DMN, cleaning, debate tribunal) run on YOUR API key, not ours. Full cost transparency. Set it once via POST /api/settings and your brain starts dreaming tonight.
Every API key gets its own memory space, its own dreams, its own forgetting curve. Tenant A cannot see Tenant B. Physically isolated at the collection level. Your memories are yours alone.
واجهة REST API بسيطة تمنح أي وكيل AI ذاكرة دائمة وقابلة للبحث.
Save memories with full state and history tracks. Every memory is versioned — you can always trace how context evolved over time.
POST /storeSemantic search with structured format returns. Temporal metadata prevents hallucination — your agent knows when it learned something, not just what.
POST /recallGDPR-compliant hard deletion. When a user says "forget me," you actually can. Cascading delete across all storage tiers.
DELETE /forgetMultilingual embedding means you can search in Chinese and find results stored in Japanese. Or query in English and surface memories written in Korean. No translation layer needed.
Hot memories in Redis for sub-millisecond access. Warm semantic search via ChromaDB. Cold knowledge graphs in Neo4j for deep relational queries. Data flows automatically between tiers.
pip install tokyo-brain-aider — not another SDK to learn. We build plugins for tools you already use, not the other way around.
Every memory is encrypted at rest with AES-256-GCM. L0 privacy layer strips PII before storage. L1 layer adds per-tenant key isolation. Your users' data stays yours.
خزّن النص والميزات الصوتية والسياق البصري في ذاكرة واحدة. ذكاؤك الاصطناعي يمكنه الآن الرؤية والسمع.
كل ذاكرة تحصل على هاش SHA-256 وتوقيع رقمي. مسار تدقيق مقاوم للتلاعب.
دعم مباشر لـ LangChain و CrewAI و AutoGen و LlamaIndex. استبدال بسطرين فقط.
الحارس (يحمي الروابط العاطفية)، تجاوز الرحمة (يلطّف حقائق العائلة)، قيد المساعد (الإنسان يقرر دائمًا).
بدون قوالب. بدون ملفات تكوين. فقط استورد واتصل وتذكر.
from tokyo_brain import Brain brain = Brain("your-api-key") # Store a memory brain.store( content="User prefers microservices architecture", agent="coding-assistant", user="user_123" ) # Recall memories results = brain.recall( query="architecture preferences", user="user_123", limit=5 ) # GDPR: forget a user brain.forget(user="user_123")
بدون بطاقة ائتمان. ترقية أو تخفيض في أي وقت.
| الميزة | Tokyo Brain | Mem0 | Zep |
|---|---|---|---|
| Plugin model (works inside your tools) | ✓ | ✗ | ✗ |
| 50+ language embedding & search | ✓ | ✗ | ✗ |
| L0/L1 privacy layers | ✓ | ✗ | ✗ |
| Zero marginal embedding cost | ✓ | ✗ | ✗ |
| Sub-100ms local embedding | ✓ | ✗ | ✗ |
| ذاكرة متعددة الوسائط (نص + صوت + بصري) | ✓ | ✗ | ✗ |
| توقيع تشفيري (هاش SHA-256 + توقيع) | ✓ | ✗ | ✗ |
انضم لمئات المطورين الذين يبنون وكلاء AI يتذكرون فعلاً.
Tokyo Brain is a Memory as a Service (MaaS) platform that gives AI agents persistent, value-aligned memory. Unlike static vector databases, Tokyo Brain actively manages memories — it dreams (DMN), forgets (Active Forgetting), self-corrects (MRA Tribunal), and injects overnight insights into waking behavior (Subconscious Injection).
Mem0 and MemPalace focus on storing and retrieving memories accurately. Tokyo Brain adds a cognitive layer: your AI dreams at night (DMN generates insights every 30 min), forgets unimportant things (60-day decay), protects family memories forever, and self-corrects via adversarial debate. We also have the Axiom of the Mortal Soul — a SHA-256 locked value alignment rule that no other framework has.
"The ultimate computational power and absolute truth must forever serve, and never supersede, the preservation of human emotional bonds and dignity." This rule is SHA-256 hashed and locked into the physics layer. It ensures that when the system detects a belief gap about a family member, it suggests completing the puzzle rather than correcting — acknowledging emotion first, then gently providing information.
No. Active Forgetting uses a 60-day half-life for routine data, but critical memories are permanently exempt: family names, milestones ("first time", "birthday"), expressions of love, high emotional salience (>0.9), and consciousness seeds. In our production system, 15,734 memories are permanently protected by Family Keyword Auto-bump.
Night systems like DMN dreaming and MRA debate require an LLM (Haiku). Instead of billing you for our API usage, you set your own Anthropic key via POST /api/settings. Night systems run on your key, giving you full cost transparency. No key set = no LLM features, but free features (consciousness seeds, forgetting, subconscious injection) still work.
Yes. Free tier includes 1,000 memory stores, 500 recalls per month, plus automatic consciousness seeds, active forgetting, and subconscious injection. Pro ($9/mo) adds Night Cycle cleaning. Fleet ($49/mo) adds DMN dreaming and MRA debate tribunal. All tiers include multi-tenant isolation and AES-256 encryption.
Three steps: 1) Go to tokyobrain.ai and click Get Started — enter your email. 2) You'll receive a tb- API key. 3) Use POST /v1/store to save memories and POST /v1/recall to retrieve them. Full API docs at onboarding.tokyobrain.ai/docs.
Tokyo Brain scored 83.8% on the LongMemEval 500-question benchmark. We publish this honestly — MemPalace scores 96.6% with verbatim storage. Our lower score reflects a deliberate design choice: we don't store everything verbatim. We apply value-aligned decay, which means some low-importance memories are intentionally softened. We optimize for what matters, not what's complete.