Open-source memory system for LLM agents achieves high benchmark scores

Memory system for LLM agents with published benchmarks
A developer has built a persistent memory system for Claude Code and OpenClaw that gives LLM agents actual context continuity across sessions. The system achieves benchmark scores of 90.8% on LoCoMo (beating every published system) and 89.1% on LongMemEval.
Architecture and framework compatibility
The architecture is adapter-based, currently hooking into lifecycle events, but the core components (storage, retrieval, intelligence) are framework-agnostic. The retrieval pipeline uses a 4-channel RRF approach with FTS5, Qdrant KNN, recency, and graph walk. The intelligence layer includes intent classification, experience patterns, and RL policy components that could plug into any agent framework.
Setup and tech stack
Quick setup requires:
ollama pull snowflake-arctic-embed2
bun install && bun run build && bun run setup
node dist/angel/index.cjsTech stack includes TypeScript, SQLite (better-sqlite3), Qdrant, Ollama, esbuild, and Vitest.
Key design decisions
- Dual-write system with SQLite as truth source and Qdrant for acceleration, with graceful degradation
- Every operation is non-throwing — individual failures never break the pipeline
- Ephemeral hooks (millisecond lifetime) for capture, persistent Angel for reflection
- RL policy models are pure TypeScript (Float32Array math, no PyTorch)
- Content-length-aware embedding backfill in background
The project contains 29K lines of code, 1,968 tests, and is MIT licensed at https://github.com/grigorijejakisic/Claudex.
📖 Read the full source: r/openclaw
👀 See Also

Garry Tan's gstack: An Open Source AI Agent Framework for Claude Code
Garry Tan's gstack is an open source software factory that turns Claude Code into a virtual engineering team with 13 specialist slash commands for planning, design, engineering, review, QA, and release management.

Clawforce: Open-Source Control Plane for Managing Clawbot Agent Teams
Clawforce is an open-source control plane for managing Clawbot agent teams that allows deployment in a few clicks. It provides configuration of characters, skills, MCP integrations, and tools through a UI, with agents capable of planning, coordinating, and executing tasks collaboratively.

Lobster Cage: Dockerized Security Environment for Self-Hosting OpenClaw on Raspberry Pi
A developer built Lobster Cage, a Docker Compose environment with restricted outbound access and proxy-based routing to run OpenClaw securely on a Raspberry Pi for experimentation.

cq: A Local-First Knowledge Sharing System for AI Coding Agents
Mozilla.ai's cq is an open-source tool that lets AI coding agents share 'knowledge units' about common gotchas via a local SQLite store, with optional team sharing through a Docker API. It installs as a Claude Code plugin or OpenCode MCP server.