EverMind-AI/EverOS
One portable memory layer for every AI agent: local-first, Markdown-native, user-owned, and self-evolving across apps, tools, and workflows.
EverMind-AI/EverOS
One portable memory layer for every AI agent: local-first, Markdown-native, user-owned, and self-evolving across apps, tools, and workflows.
EverOS 是 EverMind 开源的 本地优先 Agent 记忆运行时:以可读、可 diff、可 Git 版本化的 Markdown 作为真相源,在本地用 SQLite 与 LanceDB 建立检索索引,为编程助手、应用、设备与工作流提供同一套可移植记忆层。它区分用户侧 episodes/profile 与 Agent 侧 cases/skills 两条轨道,支持按 user_id、agent_id、app_id、project_id、session_id 正交检索,并具备离线 Reflection 在会话间合并记忆簇、精炼画像与技能。
.md,可直接编辑;文件变更经 cascade watcher 同步回索引,无需依赖专有仪表盘或黑盒数据库.env 切换 *__BASE_URLeveros demo 无需 API Key 即可体验记忆生命周期可视化;everos demo --live 连接真实服务端完成写入与召回多数 Agent 记忆方案把状态锁在向量库、图谱或 SaaS 仪表盘里,难以审计、迁移或手工修正。EverOS 把可读 Markdown + 本地索引作为默认路径:你能打开 ~/.everos 直接查看记忆文件,也能在 Claude Code、Codex、OpenCode 等不同工具间复用同一记忆层,避免「每个助手各记各的」。对个人开发者,everos demo 零配置即可理解 ingest → extract → index → recall 闭环;对团队,Apache-2.0 许可与自托管服务端降低数据出境与供应商锁定顾虑。
/api/v1/memory/*),减少从零设计记忆 schema 与离线巩固逻辑的工作量;若你只需要极简 RAG 片段,轻量向量库可能够用。everos demo(教育向 TUI 可视化)无需 API Key。EVEROS_LLM__API_KEY、EVEROS_MULTIMODAL__API_KEY)与 DeepInfra(EVEROS_EMBEDDING__API_KEY、EVEROS_RERANK__API_KEY),也可改 .env 中 *__BASE_URL 指向其他 OpenAI 兼容提供商。.doc/.ppt/.xls 等),宿主机须安装 LibreOffice(soffice);PDF/图片/音频不受影响。uv pip install everos# 或: pip install everos可选多模态扩展:
uv pip install 'everos[multimodal]'从源码贡献/开发:
git clone https://github.com/EverMind-AI/EverOS.gitcd EverOSuv syncsource .venv/bin/activate1. 先体验 Demo(无需 Key)
everos demo# 非交互环境: everos demo --plain# 循环展示: everos demo --cinematic2. 生成配置并填入 API Key
everos init# 或从源码: cp .env.example .env# XDG 路径: everos init --xdg3. 启动服务端
everos server start4. 连接真实记忆的 Live Demo
everos demo --live# 非默认地址: everos demo --live --server-url http://127.0.0.1:80005. 写入并召回第一条记忆(第二终端)
TS=$(($(date +%s)*1000))
curl -X POST http://127.0.0.1:8000/api/v1/memory/add \ -H 'Content-Type: application/json' \ -d "{ \"session_id\": \"demo-001\", \"app_id\": \"default\", \"project_id\": \"default\", \"messages\": [ {\"sender_id\": \"alice\", \"role\": \"user\", \"timestamp\": $TS, \"content\": \"I love climbing in Yosemite every spring.\"}, {\"sender_id\": \"alice\", \"role\": \"user\", \"timestamp\": $((TS+10000)), \"content\": \"My favorite coffee shop is Blue Bottle in SOMA.\"} ] }"
curl -X POST http://127.0.0.1:8000/api/v1/memory/flush \ -H 'Content-Type: application/json' \ -d '{"session_id":"demo-001","app_id":"default","project_id":"default"}'
curl -X POST http://127.0.0.1:8000/api/v1/memory/search \ -H 'Content-Type: application/json' \ -d '{ "user_id": "alice", "app_id": "default", "project_id": "default", "query": "Where do I like to climb?", "top_k": 5 }'curl http://127.0.0.1:8000/health 返回 {"status":"ok"}。~/.everos(或你配置的 XDG 路径)可看到生成的 Markdown 记忆文件。make test 通过测试。everos demo 默认是本地教学可视化,不连服务端;要验证真实写入/召回请用 everos demo --live 或上述 curl 流程。everos server start 按顺序查找 .env:--env-file → ./.env → ${XDG_CONFIG_HOME}/everos/.env → ~/.everos/.env;Key 放错路径会导致服务启动但调用失败。.env 提交进仓库;升级前阅读 Releases 与 文档。