LearnNewsExamplesServices
Frontmatter
id8285
titleReinforce 'add_memory' usage via Tool Description and Agents Protocol
stateClosed
labels
documentationenhancementai
assigneestobiu
createdAtJan 2, 2026, 4:50 AM
updatedAtJan 2, 2026, 4:52 AM
githubUrlhttps://github.com/neomjs/neo/issues/8285
authortobiu
commentsCount0
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtJan 2, 2026, 4:52 AM

Reinforce 'add_memory' usage via Tool Description and Agents Protocol

Closed v11.18.0 documentationenhancementai
tobiu
tobiu commented on Jan 2, 2026, 4:50 AM

The agent frequently forgets to call add_memory in the middle of sessions or when rushing to complete a task. To improve compliance without waiting for future architectural changes, we will strengthen the instructions in two places:

  1. Tool Description (ai/mcp/server/memory-core/openapi.yaml):

    • Update the add_memory description to be more imperative.
    • Explicitly state: "MANDATORY FINAL STEP: You MUST call this tool at the end of every turn, before generating your final response to the user."
  2. Agents Protocol (AGENTS.md):

    • Refine the "Consolidate-Then-Save" section to emphasize that add_memory is the gate for the final response.

Goal: Increase the reliability of session persistence by making the requirement more salient during tool selection.

tobiu added the documentation label on Jan 2, 2026, 4:50 AM
tobiu added the enhancement label on Jan 2, 2026, 4:50 AM
tobiu added the ai label on Jan 2, 2026, 4:50 AM
tobiu assigned to @tobiu on Jan 2, 2026, 4:51 AM
tobiu referenced in commit 02e88b1 - "Reinforce 'add_memory' usage via Tool Description and Agents Protocol #8285" on Jan 2, 2026, 4:52 AM
tobiu closed this issue on Jan 2, 2026, 4:52 AM