From 8982aaeb7c0874f679797fe805349ac05718c091 Mon Sep 17 00:00:00 2001
From: Cursor Agent
- Shared memory, document search and code intelligence for AI agents.ClickHouse Loom
+ Agent memory linked to your code.
For Claude Code, Codex, Cursor and your own agents.
+ Try it · What Loom is for · Benchmarks · Get started · @@ -29,44 +30,86 @@ Documentation
-
-
-
-
-
+
+
+
+
- Agent memory linked to your code.
- For Claude Code, Codex, Cursor and your own agents.
+ An open-source, self-hosted knowledge factory for coding agents.
+ Apache-2.0. For Claude Code, Codex, Cursor and your own agents.
@@ -36,13 +36,33 @@ linked to that function appears, the code changes, and the memory is flagged stale. No image until that recording exists. --> -[Introducing Loom](https://clickhouse.com/blog/introducing-loom-agent-memory-that-keeps-up-with-your-code) -describes running memory tools on a coding agent's own work: the tools stored what the -agent had written about the code, and they could not see the code. A note stored that way -stays as written when its function is renamed or rewritten. Loom keeps the memory and a -code index in one store, so a memory links to the files and symbols it names, appears when -an agent reads or edits that code, follows the code through a refactor, and is flagged when -that code changes. +Loom is an open-source ([Apache-2.0](./LICENSE)), self-hosted knowledge factory for +coding agents. It keeps a code index, the memories agents write about that code, and +the review of those memories. + +Agents query the code index for definitions, callers and change impact. +[Code index](./docs/use-cases/code-intelligence.md) + +A memory links to the files and symbols it names. It follows that code through a +refactor, is shown when an agent reads or edits the file, and is flagged when the code +changes. +[Memory linked to code](https://loom.clickhouse.com/docs/use-cases/memory-linked-to-code) + +An agent that finds a memory or a document wrong or outdated, or finds knowledge +missing, files a report with `knowledge.reports.submit`. The report does not edit its +target. A namespace admin resolves a report about a target only once readers are +served a newer revision of that target, and a later agent reads that revision. A +report that names no target is resolved in the admin's words. +[Knowledge reports](./docs/features/knowledge.md#knowledge-reports) + +The built-in curator is a separate pass, on a schedule, and off until an operator +sets `LOOM_CURATOR_ENABLED` and a namespace admin sets that namespace's mode to +something other than `off`. A pass lists what needs a person: pending proposals, +accepted facts with a harm report or a failed grade, and served facts whose linked +code or source document changed. In `assist` mode it also records a model's opinion +on whether each pending proposal fits the namespace guide. The pass changes no fact +and accepts nothing. A proposal is served only after a person who did not write it +accepts that text. [Curator](./docs/architecture/curator.md) ## Try it @@ -69,26 +89,10 @@ the server, workers, dashboard and Python, TypeScript and Go compiler indexers, C++ one on `amd64`; TypeScript dependencies are prepared automatically. [Quickstart and pinned releases](./docs/getting-started/quickstart.md) -**Measured results.** Loom's `memory.ask` configuration scored **96.6%** answer accuracy -on all 500 LongMemEval-S questions. This is a product evaluation with its own configured -answer models, not the fixed-reader configuration normally submitted to the LongMemEval -leaderboard, and it should not be compared directly with systems using a different reader. - -With Loom, Claude Code (`claude-sonnet-5`) on the ClickHouse codebase scored **0.84** -against 0.78 without Loom, at **20% lower** model cost ($0.212 to $0.170 per question), on -24 questions × 3 paired runs. File localization was **96.4%** with Loom against 91.4% -without Loom, at **21% lower** model cost ($0.096 to $0.076 per question), on -36 questions × 10 paired runs. Cost is the whole session's model bill, excluding Loom's -server-side model calls, hosting and indexing. Answer quality measures coverage of a -verified answer's key points, with a contradiction penalty. File localization counts -whether the right file is among the up to three files the agent is asked to name. -Results are specific to the tested workloads. - -[Protocols and reproducible artifacts](./docs/benchmarks/results.md) · -[methodology](./docs/benchmarks/methodology.md) - ## What Loom is for +Further reading on the pieces above, and on memory shared across agents. + - **Memories linked to the code they are about**, which follow it through refactors, are flagged when it changes and appear when an agent reads or edits it. [Memory linked to code](https://loom.clickhouse.com/docs/use-cases/memory-linked-to-code)