Nablo · open source · Apache-2.0
Lerim reads a finished agent run and keeps the durable parts — decisions, constraints, facts — as cited records, so the next run starts smarter. It is an open-source project by the Nablo team.
Most memory tools write while the agent is still working. Lerim waits until the run is done, then decides what was worth keeping.
Lerim runs on completed sessions, not mid-conversation. There is no race to write memory while the agent is still deciding what happened.
Each compiled record links back to the session that produced it. You can always ask why a record exists and read the original run.
Most routine traces produce no durable record. Lerim drops weak and source-derivable signal instead of growing an ever-larger memory.
Capture, compile, reuse. A finished session becomes compact, cited context only after the compiler decides the signal is reusable.
Read completed runs natively from coding agents, or import clean JSONL from any other workflow.
LLM-driven extraction with DSPy pulls out durable decisions, constraints, facts, and evidence. Weak or source-derivable signal is rejected.
Serve cited context back into the next run through the MCP server and the CLI, for agents and for people.
LerimBench, the eval that ships in the core, measures whether the compiled context actually helps the next run — not just whether records were written.
The whole core is open. Here is exactly what it does — and where it stops.
Native adapters for coding-agent histories, plus generic JSONL import for any workflow that can export a clean trace.
DSPy-driven extraction turns a finished run into compact, cited context records, each linked back to its source session.
LerimBench scores whether the compiled context improves the next run and flags low-value or duplicate records before they pile up.
Recall context and submit completed sessions from any compatible client through the MCP server, or drive it directly from the CLI.
Lerim compiles and serves cited context. Training or specializing a model is a different business — Nablo's post-training pipeline. About Nablo →
Learn what Nablo does at nablo.io.