← Back to Plugins
Tools

Pinclaw Mind

theastraway By theastraway 👁 7 views ▲ 0 votes

MIND persistent memory for Pinclaw / Nexting wearables: a mind_memory server tool for the Nexting OpenClaw plugin

Homepage GitHub

Install

npm install &&

README

# MIND memory for Pinclaw / Nexting

Press, speak, and your agent remembers. This adds [MIND](https://m-i-n-d.ai)
persistent memory to [Nexting](https://github.com/Nexting-ai/nexting) (formerly
Pinclaw), the wearable and phone remote for your own OpenClaw agent.

- *"Remember I parked on level 3, spot B12."* → saved to your MIND
- *"Where did I park?"* → recalled from your MIND, even from another app or agent

It's a `mind_memory` **server tool** for the Nexting OpenClaw plugin (`pinclaw` on
npm). Nexting auto-discovers server tools in `dist/src/tools/`, so it is one file
next to the plugin's own tools. It only turns on when `MIND_API_KEY` is set.
Memories are private entries in your own MIND, shared with your other MIND-connected
agents (Claude, Cursor, Daebot, the MIND app).

## Setup (under 2 minutes)

You need the Nexting plugin installed in OpenClaw (`openclaw plugins install pinclaw`,
see the [Nexting README](https://github.com/Nexting-ai/nexting/tree/main/plugin)).

1. Get a free MIND API key: [m-i-n-d.ai](https://m-i-n-d.ai) → **Settings → Developer → API Keys**.
2. Build the tool and drop it into the plugin's tools folder:

   ```bash
   git clone https://github.com/theastraway/pinclaw-mind && cd pinclaw-mind
   npm install && npm run build
   cp dist/mind-memory.js ~/.openclaw/npm/projects/pinclaw/node_modules/pinclaw/dist/src/tools/
   ```

   (If you set `OPENCLAW_STATE_DIR`, use that instead of `~/.openclaw`.)
3. Give the gateway your key and restart it:

   ```bash
   echo "MIND_API_KEY=mind_your_key_here" >> ~/.openclaw/.env
   openclaw gateway restart
   ```

The gateway log shows `Server tool registered: mind_memory`. Talk to your agent
through the Nexting app or PIN.

> Re-copy the file after updating the `pinclaw` plugin. We've also proposed the tool
> upstream so it ships with Nexting: [Nexting-ai/nexting#46](https://github.com/Nexting-ai/nexting/pull/46).

### Prefer a skill?

Nexting relays your voice to your own OpenClaw agent, so the
[MIND skill for OpenClaw](https://github.com/theastraway/mind-openclaw) works too,
with no file copying. It adds session logging to MIND Chat as well.

## How it works

The agent calls the tool the way Nexting server tools are called:

```
<server_tool name="mind_memory" params='{"action":"remember","text":"Parked on level 3, spot B12","title":"Parking"}'/>
<server_tool name="mind_memory" params='{"action":"recall","text":"where did I park"}'/>
```

| action | MIND REST API |
|---|---|
| `remember` | `POST /developer/v1/entries` (private entry, tags `nexting`, `voice`) |
| `recall` | `GET /developer/v1/entries/search` plus `POST /developer/v1/query` (retrieve only, 0 credits) |

`MIND_BASE_URL` overrides the API host (default `https://m-i-n-d.ai`).

## Tests

```bash
npm test                                   # standalone unit tests
MIND_E2E_API_KEY=mind_test_key npm test    # adds a live remember → recall round trip
```

CI also clones Nexting, drops the tool into `plugin/src/tools/`, builds the plugin and
runs `test/nexting-integration.test.ts` through Nexting's real `ToolRegistry` and
`<server_tool>` parser, weekly as well as on every push.

Verified end to end against the published `pinclaw@0.3.1` installed in OpenClaw
2026.11.12: the plugin's own registry auto-loaded `mind_memory`, a parsed
`<server_tool>` call saved a memory to MIND, and recall returned it.

Use a throwaway test MIND account for live tests, never a personal key.

## License

MIT. Built by [Astra AI](https://m-i-n-d.ai), makers of MIND. Not affiliated with
Nexting AI; `src/types.ts` mirrors Nexting's MIT-licensed server tool contract.
tools

Comments

Sign in to leave a comment

Loading comments...