Local Semantic Memory Search for OpenClaw Agents Using Harrier Embeddings

A new repo shows how to give an OpenClaw agent local semantic memory search without sending embeddings to an external service. The approach runs a small local embedding server around Microsoft's Harrier model (microsoft/harrier-oss-v1-0.6b), exposes an Ollama-compatible API, and wires it to OpenClaw's memorySearch config.
How it works
The embedding server runs Harrier locally and provides /api/embed and /api/embeddings endpoints that match Ollama's API format. OpenClaw's memorySearch already supports Ollama-style endpoints, so pointing it at http://localhost:8000 gives the agent a local SOTA semantic memory layer.
Why this matters for agent memory
Most agent memory systems have two pain points:
- Shoving too much memory into the prompt burns tokens and makes context messy.
- Keeping memory files small and manual becomes hard to maintain as history grows.
Semantic memory search offers a middle path. Long-term memory stays in normal markdown files (MEMORY.md, daily logs, notes, project files) that are human-readable and editable. At runtime, the agent retrieves only relevant chunks.
Benefits
- Less token waste — not stuffing every durable fact into every prompt.
- Cleaner memory files — no need to compress into one giant context blob.
- Better recall — finds conceptually related notes even when wording doesn't match exactly.
- Easier debugging — source of truth is plain text, not an opaque vector database.
- Better privacy — embeddings computed locally, no data shipped to hosted API.
What the repo includes
- Small Python embedding server implementing Ollama-compatible endpoints
- Example OpenClaw
memorySearchconfig - macOS launchd service template
- Mock markdown memory corpus
- Smoke tests and local query demo
The repo is at github.com/promptclickrun/harrier-openclaw-memory-search.
📖 Read the full source: r/openclaw
👀 See Also

Antibody System: Out-of-Band Watchdog for OpenClaw Agents
The Antibody System is an open-source watchdog that runs on a separate machine and monitors OpenClaw agents over SSH, implementing tiered responses from detection to service recovery. It's designed to survive failures that take down the primary agent.

MCP Gateway for Secure Remote Access to Internal Tools
An open-source MCP gateway aggregates multiple MCP tool servers into a single connection, enabling secure access via Claude Desktop without exposing public endpoints. It uses OpenZiti/zrok for zero-trust networking and requires only one configuration entry with a share token.

WinRemote MCP: Open Source MCP Server for Full Control of Windows Desktops
WinRemote MCP provides AI agents with full control over Windows desktops, allowing for UI detection, file operations, registry access, and more, utilizing over 40 tools.

Claude Code Skill Delegates Coding to Mistral/DeepSeek: 57M Tokens Saved, 90-100% Cost Reduction
A Claude Code skill called vibe-skill delegates low-level coding to cheap models like Mistral or DeepSeek while keeping Claude's planning. After 254 runs over 10 days, it saved 57M tokens and achieved 90-100% cost savings with 98% success rate.