LAVETT / MEMORY FOR CODING AGENTS
Change the model.
Keep the memory.
Your project carries on across chats, clients and subscriptions. Its context should too.
Lavett gives supported Codex and Claude Code sessions a shared, local project memory. It retrieves earlier decisions and source material, with a route back to the exact text.
The aim: spend more of your AI allowance on the work, less on rebuilding the context.
Pre-release. Public download not yet available.
“Use PostgreSQL for the job queue. Keep retries in the same transaction.”
“What did we decide about the job queue?”
EARLIER CONTEXT
Use PostgreSQL for the job queue. Keep retries in the same transaction.
Open the cited source
example/queue-decision.txt:L1Use PostgreSQL for the job queue. Keep retries in the same transaction.
- 0
- model calls in the default
memory path - Local
- project storage
on your machine - Exact source
- reopen the text
behind a recalled item
01 / CONTINUITY
The project is the constant.
A new session should be able to find the constraint you already explained, the approach you ruled out, and the reason a decision changed. Those are part of the work.
- 01
Keep the record.
Eligible prompts and selected files stay in a local, project-scoped store. The original wording remains available.
- 02
Bring back what matters.
Later sessions receive selected earlier context. Supported clients use the same project memory on that machine.
- 03
Check it yourself.
Open the cited source. Read the surrounding text. A recalled claim has something concrete behind it to inspect.
02 / INSIDE LAVETT
Memory has more structure
than a summary.
NodeWeb is the memory architecture inside Lavett. It connects source passages, claims, corrections and their history. Here are four mechanisms built around that record.
Correction trajectories
ENGINE / CURRENT VIEWA changed decision has a before and an after.
Lavett links recognized corrections to the earlier claims they replace. Current, its read-only memory view, separates current state, changes, open questions and ruled-out decisions. You can inspect both sides of a change.
These are structured views over extracted evidence. They do not understand every correction or settle conflicting claims for you.
Source-Mapped Structure Atoms
OPTIONAL / OFF BY DEFAULTCompact memory with a way back.
An atom connects a compact identifier to a source passage, structured relationships, status and an integrity hash. A deterministic decoder reopens that representation as readable information and the original text. The raw source stays intact.
Exact decoding of a selected atom is different from finding the right atom for every question. This is an optional engine path.
Evidence-aware context compiler
ENGINE / BUDGETED PACKINGAccount for what fits. Account for what doesn’t.
The compiler organizes selected evidence into proof and background. Its budgeted path counts citations as part of the packet, keeps correcting evidence with stale claims, and records what was omitted when space runs out.
Selection is heuristic. A context budget does not guarantee complete recall, and the default token estimate is not a provider billing measurement.
Witnessed session deltas
RELEASE CANDIDATECheck delivery before skipping a repeat.
When a supported client’s session record confirms an earlier packet arrived, the candidate can refer back to that context instead of sending it again. Unwitnessed packets are sent in full; a detected compaction boundary resets that delivery history.
Implemented for the candidate’s Codex and Claude Code paths. A session record confirms recorded delivery, not that the model used the evidence. Final release verification remains unfinished.
A DESIGN RULE
No representation without translation.
A compact memory representation must lead back to readable source material.03 / THE COMPARISON
Measure the whole job.
A smaller prompt only helps if the work is still right. The relevant comparison is your normal client and tools, doing the same task, with all the overhead included.
| Measure | What counts |
|---|---|
| Completed work | The same task, with its constraints preserved and the result checked. |
| Usage and cost | All model usage, plus memory overhead. Actual charges or attributable allowance use where measurable. |
| Time and intervention | Capture, retrieval, execution, human corrections and rework. |
Current evidence does not establish a net saving on your bill or subscription allowance, or an advantage over the alternatives. Comparative results belong here when the completed work supports them.
04 / USING IT
What comes with the memory.
What does Lavett remember?
Eligible user prompts and explicitly added material, including selected files. The default capture path does not turn model answers into user evidence. Broader capture profiles are optional. Capture can be paused, and exclusions can prevent both capture and recall.
Does local memory stay away from my AI provider?
The memory store and default memory processing stay on your machine, without a separate memory cloud or model API key. Recalled text enters your chosen coding client and may reach its model provider under that client’s data policy. The local store is not encrypted by Lavett.
Can it guarantee perfect recall or stop hallucinations?
No. The default recall path is lexical, and rephrased questions or missing evidence can defeat it. Source receipts let you check what an answer refers to. They do not prove that the source is correct, the selection is complete, or the model followed it.
What if I already use other context or memory tools?
Your existing setup is the baseline, including tools such as RTK, context-mode, Serena, claude-mem, Hindsight, Mem0 or codex-memories. The test for Lavett is useful continuity and more completed work for the same cost or allowance. There is no established head-to-head advantage to claim yet.
Can I inspect, pause or delete the memory?
The local tools provide source inspection, capture controls and deletion workflows. Pausing capture leaves read-only recall available; uninstalling the integration retains the stored data. Deletion is separate, and some legacy-store cases can be refused when safe removal cannot be established.
Can I install it now?
Lavett is pre-release and has no public download yet. Codex and Claude Code are the first supported integration paths; recorded workstation use is on Linux. Other adapters have narrower verification. The default memory path needs no separate model subscription, but your coding client still needs its usual account or API access. This is local project memory, without automatic cross-device sync.
LAVETT / BY BRUKET
Follow the work.
I’m building Lavett around a simple requirement: earlier work should remain useful when you move on to the next session.
Follow Bruket for development updates and release news.
Pre-release · No launch date announced