Remote script. The installer is a script piped from the network into bash, so download and read it first if your gateway policy requires review.
Who it is forAn operator of an OpenClaw gateway who wants agent memory that persists and wants live observations sent to team chat.
The problemOpenClaw gateway agents lose context between sessions, and the team has no view of what the agent observed.
The outcomeThe gateway runs Claude Mem as a persistent memory plugin, and optional real-time observation feeds go to chat tools the installer supports.
What you need first
- Node.js 20.0.0 or higher
- Claude Code with plugin support, or a supported agent host such as OpenCode or T3 Code
- A claude-mem sign-in or your own memory provider key, if you do not use the installer's local option
- Bun and uv, which the README says are auto-installed if missing
Steps
- Confirm Node.js 20.0.0 or higher is installed on the gateway host
- Run
curl -fsSL https://install.cmem.ai/openclaw.sh | bash - Follow the installer prompts for AI provider configuration and optional feeds to Telegram, Discord, Slack, or others
- Check that the worker started and that a test session produces an observation
Prompt for your agent
On the OpenClaw gateway at <gateway host>, run the claude-mem OpenClaw installer from https://install.cmem.ai/openclaw.sh, then confirm the worker is running. Report the provider chosen and any chat feed configured. Verify that a test session creates an observation in memory.
Caveat. The README names Telegram, Discord, and Slack as feed targets and says more are supported, but it does not list the others, so check the OpenClaw integration guide before you rely on a specific one.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for thedotmack/claude-mem and "Run persistent memory on an OpenClaw gateway with chat feeds"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer