celiums-memory
Celiums
你的 AI 不知道它所不知道的。而且它会忘记一切。
这是一个开源引擎,为 AI 提供持久记忆和对 5,100 多个专家知识模块的即时访问——并配有能适应每位用户的生物钟。
尝试在线演示 · 快速开始 · 6 个工具 · 如何使用 · 架构 · 部署 · 文档
问题所在
每当你的 AI 助手开启一个新会话时,它都会从零开始。它不记得你的偏好、项目决策、调试历史,也不记得你昨天在做什么。它会产生幻觉,因为它没有专业知识——只有在截止日期前冻结的通用训练数据。
你花费在重新解释上下文上的时间比实际工作的时间还要多。
Related MCP server: memora
解决方案
Celiums 将两个引擎合二为一:
引擎 | 功能 | 实现方式 |
记忆 (Memory) | 记住一切——且带有情绪 | PAD 向量、多巴胺、昼夜节律、15 个认知模块 |
知识 (Knowledge) | 掌握专家所知 | 5,100 个精选技术模块、全文搜索、18 个类别 |
两个引擎都提供了 6 个 MCP 工具,任何 AI IDE 都可以自主调用。安装一次,你的 AI 将永远拥有持久记忆和专家知识。
查看实际效果:ask.celiums.ai
直接与 Celiums AI 对话——它使用了全部 5,100 个模块,能跨会话记住你,并拥有真实的昼夜节律。零知识:你的数据绝不会被用于训练。
快速开始
选项 1:npm(本地,60 秒)
npm install -g @celiums/cli
celiums init就是这样。celiums init 会:
询问你的姓名、时区以及你是早起型还是夜猫子
加载 5,100 个专家知识模块
自动配置 Claude Code、Cursor 和 VS Code
创建你的个人认知档案(昼夜节律会适应你)
选项 2:Docker(VPS,3 分钟)
# 1. Clone
git clone https://github.com/terrizoaguimor/celiums-memory.git
cd celiums-memory
# 2. Configure
cp .env.example .env # edit passwords
# 3. Start infrastructure (PostgreSQL + Qdrant + Valkey)
docker compose up -d
# 4. Install dependencies
pnpm install
# 5. Build + start Celiums
pnpm setup你将获得:运行在 3210 端口的 Celiums API + PostgreSQL + Qdrant + Valkey。 首次运行时,5,100 个专家模块会自动加载。
选项 3:DigitalOcean 一键部署(即将推出)
一键操作。在你的 DO droplet 上部署所有内容。
6 个工具
当通过 MCP 连接时,你的 AI 可以自主调用这些工具:
知识工具(搜索 5,100 个专家模块)
工具 | 功能 | 示例 |
| 搜索专家知识 | "查找关于 Kubernetes 安全的模块" |
| 加载特定模块 | "加载 react-server-components 模块" |
| 获取目标建议 | "构建 REST API 我应该用什么?" |
| 浏览所有类别 | "向我展示涵盖了哪些知识领域" |
记忆工具(持久化情绪记忆)
工具 | 功能 | 示例 |
| 存储记忆 | "记住我们选择了 Hono 而不是 Express" |
| 按语义相关性检索 | "我们做了哪些框架决策?" |
remember 背后的运作机制(用户无需感知,它会自动运行):
User: "remember that we chose Hono over Express for the API"
|
PAD Emotional Vector (pleasure: 0.4, arousal: 0.3, dominance: 0.5)
|
Theory of Mind (empathy matrix transforms user emotion)
|
Dopamine / Habituation (novelty detection, reward modulation)
|
Per-User Circadian (your timezone, your peak hour, your rhythm)
|
PFC Regulation (clamp safe bounds, suppress extremes)
|
Triple-Store Persist (PostgreSQL + Qdrant + Valkey)
|
"Remembered (importance: 0.72)"15 个认知系统会在一次 remember 调用时触发。用户只需输入一句话。
如何使用
连接到你的 IDE
执行 celiums init 后,它会自动连接。或者手动连接:
Claude Code:
claude mcp add celiums -- celiums start --mcpCursor — 添加到 ~/.cursor/mcp.json:
{
"mcpServers": {
"celiums": { "command": "celiums", "args": ["start", "--mcp"] }
}
}VS Code — 添加到 settings.json:
{
"mcp.servers": {
"celiums": { "type": "stdio", "command": "celiums", "args": ["start", "--mcp"] }
}
}在对话中使用工具
连接后,你的 AI 会自动使用这些工具。像平时一样交流即可:
You: "Find me best practices for PostgreSQL optimization"
AI: -> calls forage(query="PostgreSQL optimization")
-> finds postgresql-best-practices-v2 (eval: 4.0)
-> presents the expert module content
You: "Remember that we decided to use JSONB for metadata columns"
AI: -> calls remember(content="decided to use JSONB for metadata columns")
-> stored with importance 0.68, mood: focused
You: "What database decisions have we made?"
AI: -> calls recall(query="database decisions")
-> finds: "decided to use JSONB for metadata" (score: 0.89)
-> presents with emotional contextREST API
如果作为服务器运行(Docker/VPS),可以使用完整的 API:
# Search modules
curl http://localhost:3210/v1/modules?q=react+hooks
# Get a specific module
curl http://localhost:3210/v1/modules/typescript-mastery
# Browse categories
curl http://localhost:3210/v1/categories
# Store a memory
curl -X POST http://localhost:3210/store \
-H "Content-Type: application/json" \
-d '{"content": "The API uses Hono framework", "userId": "dev1"}'
# Recall memories
curl -X POST http://localhost:3210/recall \
-H "Content-Type: application/json" \
-d '{"query": "what framework", "userId": "dev1"}'
# Check your circadian rhythm
curl http://localhost:3210/circadian?userId=dev1
# Update your timezone
curl -X PUT http://localhost:3210/profile \
-H "Content-Type: application/json" \
-d '{"userId": "dev1", "timezoneIana": "Asia/Tokyo", "timezoneOffset": 9}'
# MCP protocol (for AI clients)
curl -X POST http://localhost:3210/mcp \
-H "Content-Type: application/json" \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
# Health check
curl http://localhost:3210/health配置
所有设置均通过环境变量进行:
# Core
DATABASE_URL=postgresql://user:pass@localhost:5432/celiums_memory
QDRANT_URL=http://localhost:6333
VALKEY_URL=redis://localhost:6379
PORT=3210
# SQLite mode (alternative, single file, zero infrastructure)
SQLITE_PATH=./celiums.db
# Knowledge engine
KNOWLEDGE_DATABASE_URL=postgresql://user:pass@localhost:5432/celiums
# Onboarding (auto-configure on first run)
CELIUMS_USER_NAME=dev1
CELIUMS_LANGUAGE=en # en, es, pt-BR, zh-CN, ja
CELIUMS_TIMEZONE=America/New_York
CELIUMS_CHRONOTYPE=morning # morning, neutral, night架构
Your AI (Claude Code, Cursor, VS Code, any MCP client)
|
| MCP JSON-RPC (6 tools)
v
CELIUMS ENGINE (1 process, 1 port)
| |
| Knowledge Engine | Memory Engine
| forage, absorb, | remember, recall
| sense, map_network |
| | 15 cognitive modules:
| 5,100 modules | limbic, circadian, dopamine,
| 18 dev categories | personality, ToM, PFC, ANS,
| full-text search | habituation, reward,
| | interoception, consolidation,
| | lifecycle, autonomy,
| | recall engine, importance
| |
v v
Modules DB Memory DB
(SQLite or PostgreSQL) (SQLite or PG + Qdrant + Valkey)用户个性化昼夜节律
每个用户都有自己的生物钟:
curl http://localhost:3210/circadian?userId=dev1
# {
# "localHour": 10.5,
# "rhythmComponent": 0.99,
# "timeOfDay": "morning-peak",
# "circadianContribution": 0.30
# }在同一时刻,东京的用户与纽约的用户会产生不同的唤醒水平。
能力门控
工具会根据你的配置显示。没有升级提示,也不会看到锁定的功能。
层级 | 工具 | 你将获得 |
OpenCore (免费) | 6 | forage, absorb, sense, map_network, remember, recall + 5,100 个模块 |
+ Fleet (即将推出) | +8 | synthesize, bloom, cultivate, pollinate, decompose, fleet, construct |
+ Atlas (即将推出) | +12 | 实时协作,451K+ 模块 |
部署模式
本地 (SQLite)
SQLITE_PATH=./celiums.db celiums start所有内容都在一个文件中。非常适合个人开发者。
Docker (全栈)
docker compose up -dPostgreSQL 17 + pgvector, Qdrant, Valkey。可选 Cloudflare Tunnel:
docker compose --profile tunnel up -dDigitalOcean 一键部署(即将推出)
一键创建一个预配置好所有内容的 droplet。
语言
语言 | 状态 | |
英语 | 默认 | |
西班牙语 | 支持 | |
葡萄牙语 (巴西) | 支持 | |
中文 (简体) | 支持 | |
日语 | 支持 |
在 celiums init 期间会自动检测你的操作系统语言。
包
包 | 描述 |
| 认知引擎 (15 个模块, PAD, 昼夜节律) |
| TypeScript 类型 |
| 5,100 个精选专家模块 |
| 知识引擎 (搜索, 模块, 工具) |
| CLI ( |
| MCP 协议适配器 |
| REST API 适配器 |
| OpenAI 函数调用适配器 |
| Google A2A 协议适配器 |
安全性
本地优先。 你的记忆仅存储在你的机器或你自己的服务器上。没有任何数据发送给我们。
API 密钥认证。 所有非 localhost 请求都需要 Bearer 令牌。
用户隔离。 每个用户都有自己的内存空间、情绪状态和昼夜节律档案。
无遥测。 零分析、零追踪、零回传。
贡献
请参阅 CONTRIBUTING.md。
git clone https://github.com/terrizoaguimor/celiums-memory.git
cd celiums-memory
pnpm install
pnpm build支持本项目
这个项目建立在 ADHD 的超专注力、过量的咖啡以及一种固执的信念之上:AI 应该拥有真正的大脑。这 11,000 多行代码中的每一行都是在 20 小时的编码会话中写就的,由好奇心和执着驱动。
如果 Celiums 对你有用,或者你认为 AI 应该拥有情感而不仅仅是计算能力,请考虑支持这项工作。
你的贡献能让 GPU 持续运转,让咖啡不断供应,并让这个项目保持活力。
许可证
Apache 2.0 — 请参阅 LICENSE
以极致的细节关注度构建。
celiums.ai · npm · GitHub
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/terrizoaguimor/celiums-memory'
If you have feedback or need assistance with the MCP directory API, please join our Discord server