From 8982aaeb7c0874f679797fe805349ac05718c091 Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sun, 6 Dec 2026 06:25:07 +0000 Subject: [PATCH 1/2] The README opens on memory linked to code The opening listed three capabilities and ten uses, so a memory linked to files and symbols was one bullet and the published figures sat under the results table. Signed-off-by: Cursor Agent Co-authored-by: Mohammad Lareb Zafar --- README.md | 128 +++++++++++++++++++++++++++++++++++------------------- 1 file changed, 84 insertions(+), 44 deletions(-) diff --git a/README.md b/README.md index cbf6d6ba898..8cead9aed05 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@

ClickHouse Loom

- Shared memory, document search and code intelligence for AI agents.
+ Agent memory linked to your code.
For Claude Code, Codex, Cursor and your own agents.

@@ -21,6 +21,7 @@

+ Try it · What Loom is for · Benchmarks · Get started · @@ -29,44 +30,86 @@ Documentation

-

- Loom dashboard showing shared agent memories, a pinned fact and flagged conflicts - Library search: three passages from a refunds policy, an on-call runbook and an FX note, each cited by document, revision and lines - A repository's Explore tab: payments.fx.convert with its definition and callers -

+ -Loom is an open-source, self-hosted MCP server that gives your agents long-term, shared -memory: what one agent learns in a session, the next agent or tool can find. -In an authenticated team deployment, each agent uses a token scoped to namespaces and -read or write roles. [Check shared memory and denied access](./docs/getting-started/connect-a-coding-agent.md#share-a-team-namespace-with-separate-credentials). +[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. -Agents connect through MCP, HTTP, Python or TypeScript. Self-host with Docker or -[on Kubernetes with the Helm chart](./docs/operations/kubernetes.md); agent context and -index data live in [ClickHouse](https://loom.clickhouse.com/docs/use-cases/self-hosted-clickhouse), and a -deployment can choose [Postgres at first boot](./docs/operations/postgres.md) for live -memory and knowledge state. The dashboard brings memories, repositories, tasks and runs -into one place. +## Try it + +To try it with nothing installed, open it in a codespace: + +[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/ClickHouse/loom?quickstart=1) +([what it runs and who can reach it](./docs/getting-started/quickstart.md#try-it-in-github-codespaces)) + +For the default personal installation, with Docker installed (on Windows, in a WSL 2 +terminal where `docker` works: Docker Desktop with its WSL integration on, or Docker Engine +installed in the distribution): + +```bash +curl -fsSL https://github.com/ClickHouse/loom/releases/latest/download/install.sh -o loom-install.sh && sh loom-install.sh && rm loom-install.sh +``` + +Run it from your home directory, or another +[directory only you can write to](./docs/getting-started/quickstart.md#fast-path-released-image-no-clone). +The installer starts Loom and ClickHouse, applies migrations and prints the dashboard URL: +**http://localhost:7777/**; on a new install it then checks that a memory saves and reads +back. On a terminal it also offers to connect Claude Code, Codex and the VS Code editor +profile when it finds them and, on a new install, opens the dashboard. The image includes +the server, workers, dashboard and Python, TypeScript and Go compiler indexers, plus the +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 +- **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) - **Long-term memory shared across your coding agents**, with plugins that load context at session start and capture the session as it runs. [Memory for coding agents](https://loom.clickhouse.com/docs/use-cases/agent-memory) · [Choose a memory setup](https://loom.clickhouse.com/agent-memory-selector) · [Compare memory options](https://loom.clickhouse.com/docs/guides/compare-coding-agent-memory) · [Connect a coding agent](./docs/getting-started/connect-a-coding-agent.md) +- **A code index of your repositories** that coding agents query for definitions, + callers and change impact. [Code index](./docs/use-cases/code-intelligence.md) · + [Language support and limits](./docs/features/code-index/overview.md#language-support) + +## More uses + - **Memory for an agent application**, per user, from the Python or TypeScript SDK. [Your first agent](./docs/getting-started/first-agent.md) - **A multi-user MCP memory server** with namespaces, roles and tokens. [Multi-user mode](./docs/getting-started/quickstart.md#start-in-multi-user-mode) · [Namespaces and sharing](./docs/features/namespaces-and-sharing.md) · [MCP client setup](https://loom.clickhouse.com/docs/features/integrations/mcp-clients) -- **A code index of your repositories** that coding agents query for definitions, - callers and change impact. [Code index](./docs/use-cases/code-intelligence.md) · - [Language support and limits](./docs/features/code-index/overview.md#language-support) -- **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) - **Lower model cost for coding agents**, as [measured](#measured-results) below. [Coding-agent cost](./docs/use-cases/coding-agent-cost.md) - **Document search with citations (RAG)**, including PDF, `.docx` and `.pptx` files the @@ -99,6 +142,24 @@ for memory architecture choices, data ownership and operating responsibilities. Loom is not an in-process library for one agent's short-lived memory, nor an agent framework. [When Loom does not fit](./docs/getting-started/overview.md#when-it-does-not-fit) +Loom is an open-source, self-hosted MCP server that gives your agents long-term, shared +memory: what one agent learns in a session, the next agent or tool can find. +In an authenticated team deployment, each agent uses a token scoped to namespaces and +read or write roles. [Check shared memory and denied access](./docs/getting-started/connect-a-coding-agent.md#share-a-team-namespace-with-separate-credentials). + +Agents connect through MCP, HTTP, Python or TypeScript. Self-host with Docker or +[on Kubernetes with the Helm chart](./docs/operations/kubernetes.md); agent context and +index data live in [ClickHouse](https://loom.clickhouse.com/docs/use-cases/self-hosted-clickhouse), and a +deployment can choose [Postgres at first boot](./docs/operations/postgres.md) for live +memory and knowledge state. The dashboard brings memories, repositories, tasks and runs +into one place. + +

+ Loom dashboard showing shared agent memories, a pinned fact and flagged conflicts + Library search: three passages from a refunds policy, an on-call runbook and an FX note, each cited by document, revision and lines + A repository's Explore tab: payments.fx.convert with its definition and callers +

+ ## Measured results | Evaluation | With Loom | Without Loom | Efficiency gain | Scope | @@ -142,28 +203,7 @@ Single-user is not a reduced-feature edition. You can also [switch an existing installation without deleting its data](./docs/getting-started/quickstart.md); grant new accounts access to the existing namespaces. -To try it with nothing installed, open it in a codespace: - -[![Open in GitHub Codespaces](https://github.com/codespaces/badge.svg)](https://codespaces.new/ClickHouse/loom?quickstart=1) -([what it runs and who can reach it](./docs/getting-started/quickstart.md#try-it-in-github-codespaces)) - -For the default personal installation, with Docker installed (on Windows, in a WSL 2 -terminal where `docker` works: Docker Desktop with its WSL integration on, or Docker Engine -installed in the distribution): - -```bash -curl -fsSL https://github.com/ClickHouse/loom/releases/latest/download/install.sh -o loom-install.sh && sh loom-install.sh && rm loom-install.sh -``` - -Run it from your home directory, or another -[directory only you can write to](./docs/getting-started/quickstart.md#fast-path-released-image-no-clone). -The installer starts Loom and ClickHouse, applies migrations and prints the dashboard URL: -**http://localhost:7777/**; on a new install it then checks that a memory saves and reads -back. On a terminal it also offers to connect Claude Code, Codex and the VS Code editor -profile when it finds them and, on a new install, opens the dashboard. The image includes -the server, workers, dashboard and Python, TypeScript and Go compiler indexers, plus the -C++ one on `amd64`; TypeScript dependencies are prepared automatically. -[Quickstart and pinned releases](./docs/getting-started/quickstart.md) +The install command and the Codespaces button are in [Try it](#try-it). The installation lives in `~/.loom` (`LOOM_INSTALL_DIR` chooses another directory): the Compose file and the startup settings in `~/.loom/.env`. Running the install command again From a3abf690360cd7af1de950529e667e28a69b43ae Mon Sep 17 00:00:00 2001 From: Cursor Agent Date: Sun, 6 Dec 2026 08:13:15 +0000 Subject: [PATCH 2/2] The README opens on the knowledge factory The first screen led with memory linked to code and the benchmark figures. It now leads with the code index, memories linked to code, knowledge reports and the curator. The figures stay in Measured results. Signed-off-by: Cursor Agent Co-authored-by: Mohammad Lareb Zafar --- README.md | 58 +++++++++++++++++++++++++++++-------------------------- 1 file changed, 31 insertions(+), 27 deletions(-) diff --git a/README.md b/README.md index 8cead9aed05..eaa992cb75b 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@

ClickHouse Loom

- 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)