个人 GitHub 账号下公开仓库的所有者可以登录并验证所有权,自行管理介绍,无需管理员批准。
登录并生成验证文件,在 30 分钟内将其提交到此仓库的默认分支。其他分支或分叉仓库中的文件无效。然后在下方检查文件,即可无需管理员批准直接管理项目。请保留文件以维持管理权限。
如需登录,将前往登录页面。登录后请回到此处,再次点击所选的验证按钮。
在项目文件夹中运行 /nomorevibe verify,即可验证所有权并自行管理介绍。
一分钟完成验证Frozen public snapshot (8 May 2026) of ZenAI — the self-hosted AI OS that remembers. 60 AI tools, 12,000+ tests, 440K+ LOC, 7-layer neuroscience-inspired memory. Not the living tree; active development continues in ZenBrain.
翻译准备中
取自仓库 README
正在加载完整 README。 以下为已保存的摘录。
ZenAI
The AI OS that remembers. Self-hosted. Open source.
60 AI tools. 12,000+ tests. 440K+ LOC. 7-layer neuroscience-inspired memory. Built on ZenBrain .
The application code here was synced from the development tree on 8 May 2026; only
documentation and CLI packaging changed after that, up to 25 May 2026. It is a
faithful copy of what ZenAI was on that date — readable, citable and runnable — but it
is not the current state of development, and it does not receive fixes.查看完整 README ↗📌 This repository is a snapshot, not the living tree
The application code here was synced from the development tree on 8 May 2026; only documentation and CLI packaging changed after that, up to 25 May 2026. It is a faithful copy of what ZenAI was on that date — readable, citable and runnable — but it is not the current state of development, and it does not receive fixes.
The CI pipeline is set to manual dispatch for the same reason: it tests files that the development tree has since removed, so an automatic run reported a failure that nobody here could act on. That says nothing about the snapshot itself.
What is current: the memory library ZenBrain is actively developed and released to npm, and the research record behind both is kept up to date at zensation.ai/en/publikationen. The terminal agent in
cli/was published as@zensation/cli. It is retired: every version is deprecated on npm (1 October 2026), because it readsAPI_URLandVITE_API_KEYfrom the environment as undocumented fallbacks. Maintained memory tooling:@zensation/mcp.Questions about the state of ZenAI: [email protected]
ZenAI is a self-hosted AI platform with neuroscience-inspired memory. Unlike ChatGPT or Claude, ZenAI remembers your conversations, learns from your preferences, and improves over time — using the same mechanisms your brain uses.
Frontend: React + TypeScript (Vite)
Backend: Express.js + TypeScript
AI: Claude API (primary), Mistral (fallback), Ollama (local)
Database: PostgreSQL + pgvector (4 isolated schemas)
Memory: ZenBrain 7-layer architecture
Cache: Redis (optional)
"node": "20.x")# Clone
git clone https://github.com/zensation-ai/zenai.git
cd zenai
# Backend
cd backend
cp .env.example .env
# Edit .env with your DATABASE_URL and ANTHROPIC_API_KEY
npm install
npm run build
npm run dev
# Frontend (new terminal)
cd frontend
npm install
npm run dev
Open http://localhost:5173 in your browser.
Two compose files ship with this snapshot.
# Self-hosting: Postgres (pgvector) + Redis + backend on :3000
cp .env.docker .env
docker compose up -d
# Infrastructure only — Postgres + Redis, run backend and frontend locally
docker compose -f docker-compose.dev.yml up -d
The frontend is not part of the compose stack; run it as shown under Setup.
ZenAI exposes 250+ API endpoints. Key areas:
| Area | Endpoints | Description |
|---|---|---|
| Chat | /api/chat/* | Streaming chat with tool use, vision, artifacts |
| Memory | /api/:context/memory/* | FSRS review, procedures, hybrid search |
| Ideas | /api/:context/ideas/* | CRUD with semantic search, topics, drafts |
| Tasks | /api/:context/tasks/* | Kanban, Gantt, dependencies, projects |
/api/:context/emails/* | Send/receive with AI categorization | |
| Agents | /api/agents/* | Multi-agent execution, templates, streaming |
| Knowledge Graph | /api/:context/graphrag/* | Entity extraction, hybrid retrieval |
| Voice | /api/:context/voice/* | Real-time STT/TTS pipeline |
Full API documentation: /api-docs (Swagger UI when running)
# Backend (~11,500+ tests)
cd backend && npm test
# Frontend (~1,400+ tests)
cd frontend && npx vitest run
# CLI (108 tests)
cd cli && npm test
ZenAI's memory is powered by ZenBrain — the neuroscience-inspired memory system:
| Layer | Inspired By | Function |
|---|---|---|
| Working Memory | Baddeley (1974) | Active task focus (7±2 items) |
| Short-Term | Session context | Current conversation |
| Episodic | Tulving (1972) | Concrete experiences |
| Semantic | FSRS + Ebbinghaus | Facts with spaced repetition |
| Procedural | Cognitive psychology | "How to do X" skills |
| Core | Letta/MemGPT | Pinned, user-editable facts |
| Cross-Context | ZenBrain architecture | Shared knowledge across domains |
The memory architecture underneath ZenAI is documented and peer-reviewable:
@article{bering2026zenbrain,
title = {ZenBrain: A Neuroscience-Inspired 7-Layer Memory Architecture for Autonomous AI Systems},
author = {Bering, Alexander},
year = {2026},
eprint = {2604.23878},
archivePrefix = {arXiv},
primaryClass = {cs.AI},
url = {https://arxiv.org/abs/2604.23878}
}
To cite this snapshot itself rather than the architecture, see CITATION.cff.
See CONTRIBUTING.md for guidelines.