← Back to PRs

#9818: coremem-tools: add coremem_recent/coremem_find agent tools

by Itslouisbaby open 2026-02-05 18:26 View on GitHub →
stale
### What Adds two agent-callable tools for reading CoreMemories as **meeting-style bullet points** (not raw transcript): - `coremem_recent` — summarize recent Flash (+ optional Warm) entries - defaults: `hours=48`, `preset=normal` (limit=100) - presets: quick=20, normal=100, deep=250 - hard cap: 500 - `coremem_find` — keyword search via CoreMemories index + bullet summary ### Why Gives the agent a lightweight, structured recall mechanism so users can simply ask in chat ("recap last night", "what did we decide") and get a compact meeting-notes summary. ### Notes - This is a *tooling/UX* layer on top of CoreMemories; it does not modify ingestion. - Output is intentionally short and grouped (Decisions / Next actions / Notes). ### Testing - Manual: after enabling CoreMemories ingestion, call the tools and verify output quality. - Lint: `pnpm lint extensions/coremem-tools/index.ts extensions/coremem-tools/src/tools.ts` <!-- greptile_comment --> <h2>Greptile Overview</h2> <h3>Greptile Summary</h3> This PR adds a new `coremem-tools` extension that registers two agent-callable tools: - `coremem_recent`: loads recent Flash (and optionally Warm) CoreMemories entries and formats them into short “meeting notes” sections (Decisions / Next actions / Notes). - `coremem_find`: keyword-searches CoreMemories and returns the matches in the same bullet-summary format. The extension is wired via `extensions/coremem-tools/package.json` and `index.ts`, and includes a plugin config schema in `extensions/coremem-tools/openclaw.plugin.json` for default window/limits. <h3>Confidence Score: 2/5</h3> - Not safe to merge as-is due to likely runtime load failures in the new extension. - The new extension appears to import a TS module path and depends on a workspace package (`@openclaw/core-memories` linked to `packages/core-memories`) that doesn’t exist in this repo and has no other usage, so tool invocation/extension loading is likely to fail at runtime. - extensions/coremem-tools/index.ts; extensions/coremem-tools/src/tools.ts; pnpm-lock.yaml <!-- greptile_other_comments_section --> <!-- /greptile_comment -->

Most Similar PRs