agentscope-extensions-reme integrates with the self-hosted ReMe memory service. Its distinguishing features are trajectory-based memory extraction and workspace-level isolation.
When to use
- You want a lightweight self-hosted memory service that’s easy to spin up.
- You care about summarizing whole conversation trajectories rather than individual messages.
- You can express logical workspaces by
userId(one workspace per user).
Add the dependency
Quickstart
userId is mapped to ReMe’s workspace_id — the smallest unit of memory partitioning in ReMe.
How it works
- Write (record): filtered messages are joined into a single
ReMeTrajectoryand posted to ReMe’saddendpoint; the server then runs LLM extraction over the trajectory to produce searchable memory snippets. - Retrieve: the current message is used as the query against ReMe’s
search. The server-aggregatedanswerfield is returned when present, otherwise multiple memory snippets are joined.
- Only
USERandASSISTANTmessages are kept. - Assistant messages containing
ToolUseBlock(tool-call requests) are skipped. - Messages containing the
<compressed_history>marker are skipped.
Builder reference
ReMe does not yet expose finer-grained metadata filtering. If you need tag-based segmentation, encode it insideuserId(e.g.tenant-a:project-1).