@fielddd/openclaw-aionis-memory
v0.1.0
Published
OpenClaw memory plugin powered by Aionis standalone or hosted API
Maintainers
Readme
OpenClaw Aionis Memory Plugin
Independent OpenClaw memory plugin that uses Aionis as the memory and policy backend.
This project is intentionally separate from the Aionis core repository so it can evolve independently.
What it does
- Auto-recall on
before_agent_startviaPOST /v1/memory/context/assemble - Auto-capture on
agent_endviaPOST /v1/memory/write - Optional policy loop calls:
POST /v1/memory/tools/selectPOST /v1/memory/tools/feedback
- Manual tools available in agent runtime:
aionis_memory_searchaionis_memory_storeaionis_memory_contextaionis_policy_selectaionis_policy_feedback
Quick start (local standalone)
- Start local Aionis standalone:
./bootstrap-local-standalone.shIf 3001 is occupied, the script auto-falls back to 3002-3010.
You can also force a port manually:
AIONIS_PORT=3002 ./bootstrap-local-standalone.shOptional: set a dedicated Docker volume name (recommended when running multiple standalone containers):
AIONIS_DATA_VOLUME=aionis-local-data ./bootstrap-local-standalone.shThis script writes the generated API key to:
~/.openclaw/plugins/aionis/aionis.env~/.openclaw/plugins/aionis/clawbot.env
- Build plugin:
npm install
npm run build- Install into OpenClaw from local path:
openclaw plugins install /Users/lucio/Desktop/aionis-openclaw-pluginOr install from a packaged tarball:
npm run -s release:tgz
openclaw plugins install ./artifacts/fielddd-openclaw-aionis-memory-0.1.0.tgz- Configure plugin in
~/.openclaw/openclaw.json:
{
"plugins": {
"entries": {
"openclaw-aionis-memory": {
"enabled": true,
"config": {
"baseUrl": "http://127.0.0.1:3001",
"apiKey": "<your-memory-api-key>",
"tenantId": "default",
"scopeMode": "session",
"scopePrefix": "clawbot",
"autoRecall": true,
"autoCapture": true
}
}
}
}
}Config keys
baseUrl: Aionis API base URLapiKey: API key sent asx-api-keytenantId: tenant idscope: default scopescopeMode:fixedorsessionscopePrefix: used forscopeMode=sessionautoRecall: inject memory context before each turnautoCapture: store dialogue summary after successful turnincludeShadow: include shadow rules in policy callsstrictTools: strict mode fortools/selectrecallLimit: default limit for recall/contextcaptureMessageLimit: max recent messages capturedcontextCharBudget: clip injected context sizedebug: verbose plugin logs
Notes
- This plugin targets Aionis endpoints with
/v1/memory/*paths. - If you see
404 Route ... not found, checkbaseUrland Aionis version. - If you see
400 invalid_request, verify payload shape and required fields.
Release flow
npm run -s release:preflight
npm run -s release:tgzFull checklist: RELEASE_CHECKLIST.md
User-facing full setup flow: USAGE_FULL.md
