Skip to content

feat: Add memory delete/remove API to Hermes MemOS plugin #2354

Description

@jiangduoqiang

Problem

The MemOS Cloud API supports add, retrieve, edit, and delete operations on memories (as documented in the README: "A single API to add, retrieve, edit, and delete memory"). However, the Hermes Agent MemOS plugin only exposes three tools:

  • memos_conclude — add/write memory
  • memos_search — search memories
  • memos_profile — retrieve all memories

There is no delete/remove tool exposed to the agent.

Use Case

Over time, MemOS accumulates stale, outdated, or incorrect memories (e.g., session logs that should be in session history, outdated configuration facts, completed task records). Without a delete capability:

  1. The memory database grows indefinitely with low-value entries
  2. Stale information can interfere with retrieval relevance
  3. Users have no way to correct or clean up their memory store

Proposed Solution

Add a memos_delete (or memos_remove) tool to the Hermes MemOS plugin that:

  • Accepts a memory ID or content match pattern
  • Deletes the specified memory entry from the cloud store
  • Returns confirmation of deletion

Optionally, also add memos_list to enumerate all stored memories with filtering/pagination (currently only memos_profile exists, which returns all entries without filtering).

Environment

  • Hermes Agent version: latest (2026-09-10)
  • MemOS Cloud API: memtensor.cn
  • Plugin: built-in MemOS plugin

Additional Context

The MemOS Cloud API already supports delete operations — this is a request to expose that capability through the Hermes plugin's tool interface so agents can manage their own memory lifecycle.

Thank you! 🙏

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

area:pluginOpenClaw & Hermesstatus:needs-triageNeeds initial triage | 需要初步判断 & 问题复现

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions