返回目录

memos

编辑精选维护状态: 活跃

memtensor/memos

面向 LLM 与 AI 智能体的自进化记忆系统,提供超持久记忆、混合检索与跨任务技能复用,可显著节省 Token。

前往 GitHub项目主页
$ curl -fsSL https://raw.githubusercontent.com/MemTensor/MemOS/main/apps/memos-local-plugin/install.sh | bash -s -- --agent dsh --profile web

11,184

星标

1,022

Fork

TypeScript

语言

Apache-2.0

许可证

2025-07-06

创建于

2026-09-03

最近推送

Apache-2.0 的 LLM Agent 记忆操作系统,通过官方本地插件(100% 本机 SQLite)或托管云端插件接入 DeepSeek Harness,实现任务前自动召回、回合后自动沉淀记忆。

DSH 适配

兼容

作者声明

安全审计

未审计

最后核验

2026-08-21

许可证

Apache-2.0

01它能帮你完成什么?

  • Give DeepSeek Harness sessions persistent, self-evolving agent memory

    Automatic recall of relevant context before the first model step of each request, and automatic saving of new user/assistant messages back to memory after a successful turn — without modifying DSH's core

    Developers running DeepSeek Harness (dsh) who want their agent to remember context and grow across sessions

  • Keep all agent memory 100% on-device

    Local-first memory with hybrid retrieval (FTS5 + vector), smart dedup, tiered skill evolution (L1 traces / L2 policies / L3 world model), multi-agent collaboration, SQLite storage and a Memory Viewer dashboard

    Privacy-sensitive developers and teams who want agent memory in DeepSeek Harness, Hermes or OpenClaw with nothing leaving their machine

02如何接入 DeepSeek Harness?

前置条件

  • Local plugin: Node.js and an already-installed DeepSeek Harness (dsh), OpenClaw, or Hermes
  • Cloud plugin: a MemOS Cloud API key (starts with `mpg-`) created on the MemOS dashboard

安装步骤

  1. 01

    Local plugin (macOS / Linux) for DeepSeek Harness: `curl -fsSL https://raw.githubusercontent.com/MemTensor/MemOS/main/apps/memos-local-plugin/install.sh | bash -s -- --agent dsh --profile web` — the installer deploys MemOS as an out-of-tree DSH bundle

    $ curl -fsSL https://raw.githubusercontent.com/MemTensor/MemOS/main/apps/memos-local-plugin/install.sh | bash -s -- --agent dsh --profile web

  2. 02

    Local plugin (Windows PowerShell): `irm https://raw.githubusercontent.com/MemTensor/MemOS/main/apps/memos-local-plugin/install.ps1 -OutFile "$env:TEMP\memos-install.ps1"; powershell -ExecutionPolicy Bypass -File "$env:TEMP\memos-install.ps1"`

  3. 03

    Cloud plugin: create a MemOS API Key on the MemOS dashboard, then install into the default DSH `web` profile: `npx @deepseek-ai/dsh plugin --profile web add @memtensor/memos-cloud-dsh-plugin@latest`

    $ npx @deepseek-ai/dsh plugin --profile web add @memtensor/memos-cloud-dsh-plugin@latest

  4. 04

    Cloud plugin: add `MEMOS_API_KEY: mpg-your-key` to `~/.dsh/.credentials.yaml`

  5. 05

    Cloud plugin: add the minimal plugin configuration to `~/.dsh/settings.yaml`: `memos-cloud:` with `apiKeyEnv: MEMOS_API_KEY`

  6. 06

    Cloud plugin: restart the DSH Web profile: `npx @deepseek-ai/dsh web`

    $ npx @deepseek-ai/dsh web

验证接入成功

作者未说明

03DSH 适配与能力边界

DSH 适配兼容

Official memory plugin installed inside DeepSeek Harness via DSH's native plugin mechanism (cloud plugin via `dsh plugin add`, local plugin as an out-of-tree DSH bundle)

  • Automatic recall & capture for DeepSeek Harness

    DSH user requests and completed turnsRelevant memories recalled before the first model step; new user and assistant messages saved after a successful turn

    Cloud plugin sends conversation messages to MemOS Cloud and requires a MemOS API key
  • Local-first hybrid memory (memos-local-plugin)

    Agent conversations and task traces from DeepSeek Harness, Hermes or OpenClawHybrid retrieval (FTS5 + vector), smart dedup, tiered skill evolution (L1 traces / L2 policies / L3 world model), multi-agent collaboration, Memory Viewer dashboard

    Writes a local SQLite database on your machine
  • Self-hosted MemOS REST service

    Docker Compose deployment (MemOS API + Neo4j + Qdrant) or uvicorn without DockerMemory API served at `http://localhost:8000` — create cubes, add memories, search memories

    Requires Neo4j and Qdrant infrastructure; `.env` must be filled with LLM/embedder API keys

04适合谁?何时不该用?

适合

  • Developers running DeepSeek Harness (dsh) who want their agent to remember context and grow across sessions
  • Privacy-sensitive developers and teams who want agent memory in DeepSeek Harness, Hermes or OpenClaw with nothing leaving their machine

不适合

  • The cloud plugin stores memories on MemOS Cloud and requires a MemOS API key plus network access; it is fail-open, so a temporary outage does not interrupt the current DSH task, but recall/capture is unavailable while offline.
  • The full self-hosted MemOS service needs Neo4j and Qdrant infrastructure (and LLM/embedder API keys in `.env`); only the local plugin runs with no infra on local SQLite.

05兼容性、维护与安全提示

  • The cloud plugin stores memories on MemOS Cloud and requires a MemOS API key plus network access; it is fail-open, so a temporary outage does not interrupt the current DSH task, but recall/capture is unavailable while offline.
  • The local plugin installer requires Node.js and an already-installed DeepSeek Harness (or OpenClaw / Hermes); for DSH it deploys MemOS as an out-of-tree bundle, so a working dsh installation is mandatory first.
  • The full self-hosted MemOS service needs Neo4j and Qdrant infrastructure (and LLM/embedder API keys in `.env`); only the local plugin runs with no infra on local SQLite.
2025-07-062026-08-19memos-local-plugin-v2.0.16

Apache-2.0 · actively maintained (latest release memos-local-plugin-v2.0.16, 2026-08-16)

06常见问题

MemOS 如何接入 DeepSeek Harness?

两种官方方式。本地插件:macOS / Linux 用一行安装脚本加 `--agent dsh --profile web` 参数,Windows 用 PowerShell 安装脚本,MemOS 会以 out-of-tree DSH bundle 形式部署。云端插件:执行 `npx @deepseek-ai/dsh plugin --profile web add @memtensor/memos-cloud-dsh-plugin@latest`,再把 `MEMOS_API_KEY` 写入 `~/.dsh/.credentials.yaml`、在 `~/.dsh/settings.yaml` 添加 `memos-cloud` 配置,最后用 `npx @deepseek-ai/dsh web` 重启。

是 DSH 原生插件还是走 MCP?

通过 DeepSeek Harness 的原生插件机制接入,README 明确写明 DSH 经由 'native plugin mechanism' 连接 MemOS Cloud,不走 MCP。

需要什么前置条件?

本地插件需要 Node.js 和已经安装好的 DeepSeek Harness;云端插件需要在 MemOS 控制台创建 API Key(以 `mpg-` 开头)。

记忆数据存在哪里?

本地插件 100% 本机运行,采用本地优先的 SQLite 存储,数据不出你的机器;云端插件的记忆保存在托管服务 MemOS Cloud。

MemOS Cloud 宕机会有影响吗?

云端插件是 fail-open 设计:MemOS Cloud 临时故障不会打断当前 DSH 任务。

08数据与来源

  • 作者声明github.combe68e2fb5370…

    Add automatic recall, background capture, hybrid retrieval, and a local Memory Viewer to DeepSeek Harness—powered by the…

  • 作者声明github.combe68e2fb5370…

    Connect DeepSeek Harness to MemOS Cloud through its native plugin mechanism.

  • 作者声明github.combe68e2fb5370…

    MemOS now brings persistent memory to **DeepSeek Harness** through both local and cloud plugins.

页面基于项目公开文档、仓库元数据和 DSH Plugins 的结构化解析生成;最后核验于 2026-08-21。发现错误?提交更正。

🏆

最佳 DeepSeek Harness 插件

从全目录挑出的 12 个值得优先安装的插件,覆盖各个分类。

DSH Plugins 是独立的 DeepSeek Harness 插件市场,与 DeepSeek 官方无关,也不代表官方背书。第三方插件未经安全审计,安装前请审查源码。

每周获取最新的 DeepSeek Harness 插件,绝不滥发。