@openclaw-memory/daemon
v0.3.0
Published
Memory daemon for OpenClaw agents with MongoDB and Voyage AI semantic search
Maintainers
Readme
@openclaw-memory/daemon
Memory daemon for OpenClaw agents with MongoDB and Voyage AI semantic search.
Installation
npm install @openclaw-memory/daemonQuick Start
# Set environment variables
export MONGODB_URI="mongodb+srv://user:[email protected]/openclaw_memory"
export VOYAGE_API_KEY="your-voyage-api-key" # Optional: defaults to mock embeddings
# Start the daemon
npx @openclaw-memory/daemonThe daemon will start on http://localhost:7654 by default.
API Endpoints
POST /remember- Store a memoryGET /recall- Search memories semanticallyDELETE /forget/:id- Delete a memoryGET /status- Daemon status & memory statsGET /health- Health check
Environment Variables
| Variable | Required | Default | Description |
|----------|----------|---------|-------------|
| MONGODB_URI | Yes | - | MongoDB connection string |
| MONGODB_DB_NAME | No | openclaw_memory | Database name |
| VOYAGE_API_KEY | No | - | Voyage AI API key (uses mock if absent) |
| VOYAGE_MOCK | No | false | Force mock embeddings (free, deterministic) |
| PORT | No | 7654 | HTTP server port |
Documentation
Full documentation: github.com/mrlynn/openclaw-mongodb-memory
License
MIT
