Skip to content

Add openclaw plugin#1096

Merged
malatewang merged 2 commits into
mainfrom
openclaw
Mar 3, 2026
Merged

Add openclaw plugin#1096
malatewang merged 2 commits into
mainfrom
openclaw

Conversation

@malatewang

Copy link
Copy Markdown
Contributor

Purpose of the change

Add a plugin for openclaw so that openclaw can use MemMachine as longterm memory

Description

Add a plugin for openclaw for MemMachine. The openclaw can access MemMachine through the MemMachine Typescript rest client to store and search memory.

Fixes/Closes

Fixes #(issue number)

Type of change

[Please delete options that are not relevant.]

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Refactor (does not change functionality, e.g., code style improvements, linting)
  • Documentation update
  • Project Maintenance (updates to build scripts, CI, etc., that do not affect the main project)
  • Security (improves security without changing functionality)

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration.

[Please delete options that are not relevant.]

  • Unit Test
  • Integration Test
  • End-to-end Test
  • Test Script (please provide)
  • Manual verification (list step-by-step instructions)

Test Results: [Attach logs, screenshots, or relevant output]

image

Checklist

[Please delete options that are not relevant.]

  • I have signed the commit(s) within this pull request
  • My code follows the style guidelines of this project (See STYLE_GUIDE.md)
  • I have performed a self-review of my own code
  • I have commented my code
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added unit tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes
  • Any dependent changes have been merged and published in downstream modules
  • I have checked my code and corrected any misspellings

Maintainer Checklist

  • Confirmed all checks passed
  • Contributor has signed the commit(s)
  • Reviewed the code
  • Run, Tested, and Verified the change(s) work as expected

Screenshots/Gifs

[If applicable, add screenshots or GIFs that show the changes in action. This is especially helpful for API responses. Otherwise, delete this section or type "N/A".]

Further comments

[Add any other relevant information here, such as potential side effects, future considerations, or any specific questions for the reviewer. Otherwise, type "None".]

@sscargal sscargal left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some questions and requests:

  • Please write a User Guide, which would be very helpful for describing the steps needed to install, configure, and use this.
    • Does a user need a MemMachine Platform account and an API key for this to work, or do we expect them to have MemMachine Server running locally? Or both?
  • How should this be distributed? (aka, how does a user install this in their environment?)
    • Do we need to build and publish a separate/dedicated NPM package?
  • Is /src the best place for this, or should it live in /integrations?

Thanks.

Comment thread integrations/openclaw/openclaw.plugin.json Outdated
Comment thread integrations/openclaw/index.ts Outdated
@honggyukim

Copy link
Copy Markdown
Contributor

Hi @malatewang, thanks for working on this.

In addition to @sscargal's comment. It would be helpful if the commit message contains more useful description rather than a single line message.

@malatewang malatewang force-pushed the openclaw branch 3 times, most recently from ce80999 to db44996 Compare February 12, 2026 01:36

@sscargal sscargal left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly clarifications.

Should we consider adding some tests?

Comment thread integrations/openclaw/README.md
Comment thread integrations/openclaw/README.md
Comment thread integrations/openclaw/README.md Outdated
Comment thread integrations/openclaw/README.md Outdated
Comment thread integrations/openclaw/README.md Outdated
Comment thread integrations/openclaw/index.ts
Comment thread integrations/openclaw/package.json Outdated
Comment thread integrations/openclaw/index.ts
Comment thread integrations/openclaw/README.md Outdated
}
},

```

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We should mention that this information could also be entered in the OpenClaw Plugins UI (as shown in your screenshot).

@sscargal sscargal added the Integration An integration into a 3rd party framework or solution using MemMachine label Feb 12, 2026

@sscargal sscargal left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could consider whether it's worth moving this to a dedicated repository. It may be easier to maintain and version control independently. Just an idea, not a request.

Comment thread integrations/openclaw/README.md Outdated
Comment thread integrations/openclaw/README.md
Comment thread integrations/openclaw/README.md
@malatewang malatewang force-pushed the openclaw branch 2 times, most recently from 9f454b0 to 111e528 Compare February 20, 2026 01:14

@Tianyang-Zhang Tianyang-Zhang left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see the memmachine API Key have some usage limits. Can't I use my own OpenAI API keys and AWS reranker key?

@malatewang

Copy link
Copy Markdown
Contributor Author

I see the memmachine API Key have some usage limits. Can't I use my own OpenAI API keys and AWS reranker key?

The API key is for MemMachine platform. It is required only if you use the platform.

sscargal

This comment was marked as resolved.

Comment thread .github/workflows/openclaw_plugin_publish.yml Outdated
Comment thread .github/workflows/openclaw_plugin_publish.yml Outdated
Comment thread .github/workflows/openclaw_plugin_publish.yml Outdated
@malatewang malatewang force-pushed the openclaw branch 2 times, most recently from e9c4cd6 to 4d9e1db Compare February 27, 2026 20:00
@malatewang malatewang force-pushed the openclaw branch 3 times, most recently from c95dd60 to 913f2d5 Compare February 27, 2026 20:23

@sscargal sscargal left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks.

@sscargal sscargal added the priority: blocker Prevents progress on development or release. Must be resolved before continuing. label Mar 3, 2026
@malatewang malatewang merged commit e2ef085 into main Mar 3, 2026
48 checks passed
@malatewang malatewang deleted the openclaw branch March 3, 2026 07:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Integration An integration into a 3rd party framework or solution using MemMachine priority: blocker Prevents progress on development or release. Must be resolved before continuing.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants