opencode-v0.4.1

mem0ai/mem0opencode-v0.4.1Sep 23, 2026by kartik-mem0

Upgrading?

AI Summary

Optimizes the OpenCode plugin by refining search instructions to reduce redundant calls and aligning with other coding agents.

Key Highlights

  • Updated search_memories tool description to reduce redundancy
  • Removed aggressive parallel search instructions from session context
  • Optimized performance for /mem0-search and /mem0-context-loader

New Features

  • Modified search_memories tool description to avoid proactive or multi-part searches
  • Updated session context to remove 2-4 parallel search instructions
  • Context loader now uses standard skill descriptions from other coding agents

Full Release Notes

**Improvements:**
- **Search:** The `search_memories` tool description no longer asks the agent to search proactively or to run several searches for multi-part questions. It now asks for a search before repeating investigation or when earlier decisions, fixes, commands, or results may help, the same wording as the other coding-agent plugins ([#7420](https://github.com/mem0ai/mem0/pull/7420))
- **Session context:** Removed two system-context lines that told the agent to run 2 parallel searches before responding and 2-4 parallel searches for non-trivial tasks ([#7420](https://github.com/mem0ai/mem0/pull/7420))
- **Skills:** `/mem0-search` and `/mem0-context-loader` make one `search_memories` call instead of 2 and 2-4 parallel calls. `/mem0-context-loader` now uses the search skill description from the other coding-agent plugins instead of asking to load at every new task or context switch ([#7420](https://github.com/mem0ai/mem0/pull/7420))

Related Repositories