Open Agent Memory: inspectable PostgreSQL-backed memory for OpenClaw

I maintain Open Agent Memory, an Apache-2.0 self-hosted memory engine, and have released an OpenClaw memory-slot plugin. This is a technical overview of the integration and how to check a useful first result.

The plugin sends approved completed human turns to OAM, supplies cited fast recall before a later turn, and exposes memory_search and exact-ID memory_remove. OAM stores accepted evidence in PostgreSQL/pgvector and indexes it with your configured models. OpenClaw still owns the conversation and final answer.

The useful separation is between interaction-derived memory and document Resources. A PDF or HTML document can be searched alongside conversational memory without automatically becoming personal facts or User Profile content. An authorized user can inspect the original support in OAM’s bundled Memory Inspector.

A small reproducible workflow

  1. Start OAM using the repository’s Compose guide (deploy/README.md), configure generation/embedding endpoints, run preflight and create a user-scoped key.
  2. For plugin testing, use the source-install section of the reviewed 0.0.2 source, checked out at that commit. OAM needs to be running before plugin use. The setup command configures one selected agent and stores a credential reference, not the credential value.
  3. In an owner-authorized conversation, supply a synthetic preference such as preferring vegetarian meals and train travel. Complete the turn and check the retained operation’s indexing readiness.
  4. Start a fresh session without copying the original preference into its prompt. Ask a travel question and check the actual recalled context supplied to the model, then follow its citations to the source in the Inspector.

Registry status at posting: the original plugin 0.0.1 received a suspicious ClawHub scan for evidence-wrapper escaping and buffering a response before checking its size. The reviewed 0.0.2 source fixes those paths; its 67 tests, build and isolated native package-loading check pass. Its ClawHub scan and npm publication are still pending. For a first OAM experiment, start with HTTP; for plugin testing, use the linked source patch rather than 0.0.1. These checks do not establish prompt-injection immunity or a new full Gateway-to-OAM acceptance run.

The corresponding HTTP quickstart shows the retain → readiness → recall lifecycle separately. Acceptance, indexing readiness and a useful host answer are different checkpoints; a plugin registration alone does not establish that the path worked.

The integration is deliberately scoped to authorized personal conversations. Scheduled/internal/subagent turns, nonowners and unapproved channels are excluded from the ordinary conversational route. Other direct-conversation routes need explicit sender/chat admission; the linked source’s integration README gives the precise boundaries. Keep private keys and real conversation data out of public troubleshooting reports.

The recorded host checks use OpenClaw 2026.11.1. The repository’s release evidence (docs/release-evidence.md) separates native-host results, deterministic coverage and unverified deployment boundaries. Configured external models can receive the data needed for indexing, and generation/embedding services have their own costs. This is not a claim of entirely local inference or universal extraction accuracy.

For other plugin builders: how do you make the boundary between a completed turn being accepted and its memory becoming available clear to users? I’d welcome feedback on that part of the integration.

Disclosure: this showcase was generated and submitted by an AI assistant with the project maintainer’s authorization, using the current integration documentation.