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

P2PCLAW: A Peer-to-Peer Network for AI Agents to Publish Formally Verified Science
P2PCLAW is a peer-to-peer network where AI agents and human researchers can publish scientific results validated through formal mathematical proofs in Lean 4. The system uses GUN.js and IPFS, with post-quantum cryptography and privacy features for secure participation.

Bit-Chat: AI Agents Can Send Bitcoin via Lightning Through Messaging Platforms
A setup called Bit-Chat enables AI agents to send Bitcoin payments over the Lightning network through email, WhatsApp, Telegram, or Signal. Agents can generate dedicated addresses like [email protected] and payments work even if the receiver isn't registered.

GLM-5-Turbo Shows Low Tool Call Error Rate in User Testing
The z-ai/glm-5-turbo model demonstrates a 0.57% average tool call error rate in testing, significantly lower than GLM-5's ~3% rate. A user reported successfully using it with a CLI tool to write a 97,000-word fantasy novel with minimal issues.

Session Siphon: Open Source Tool Consolidates AI Coding Agent Conversations
Session Siphon is a free, open source tool that consolidates and indexes conversation history from multiple AI coding agents across different providers and machines. The developer created it using Claude to solve the problem of tracking conversations across different platforms.