SuperAPIAI Directory

loom

github.com · Other AI tools

Loom is an open-source, self-hosted MCP server from ClickHouse that provides AI agents with shared long-term memory, document search, and code indexing. Memories are linked to code files and symbols and surface automatically when agents edit. It supports MCP, HTTP, Python, and TypeScript access, offers plugins for Claude Code, Codex, Cursor, and others, stores data in ClickHouse, and can be deployed with Docker or Kubernetes.

Open website Alternatives
PricingOpen source开源项目(可免费自部署)
PlatformsLinux · API

About this tool

Loom is an open-source, self-hosted MCP server from ClickHouse designed to give AI agents long-term, shared memory capabilities. What one agent learns in a session can be retrieved by the next agent or tool. In team deployments that require authentication, each agent uses a token scoped to a namespace and read/write role.

Key capabilities include:

  • Shared long-term memory: share decisions and findings across agents and sessions; each fact record stores the writer and version history, with support for conflict review and namespace rollback.
  • Code indexing: index code repositories so agents can query definitions, callers, change impact, and related tests, and link commits, pull requests, and issues.
  • Memory-code linking: memories point to the files and symbols they relate to, follow code through refactoring, are flagged when code changes, and surface when agents read or edit.
  • Document search (RAG): document retrieval with citations, including PDF, .docx, and .pptx files, converted by an extractor service.
  • Multi-agent workflows: assign work through a persistent task inbox, with leases, retries, review rules, and results.
  • Agent work records: searchable conversations (when recording is enabled), session briefs, run goals and results, model costs, and PR and tracker history.
  • Security and control: namespace access management, provenance tracking, retention policies, audit records, and verifiable erasure.

Usage:

  • Connect agents via MCP, HTTP, the Python SDK, or the TypeScript SDK.
  • Self-host with Docker, or deploy to Kubernetes via a Helm chart. Agent context and index data are stored in ClickHouse, with optional Postgres for live memory and knowledge state on first startup.
  • Plugins for Claude Code, Codex, Cursor, and VS Code load context at session start and capture sessions during runs.
  • A dashboard centrally manages memories, repositories, tasks, and runs.

Installation and configuration:

  • Default personal installation: no login required, localhost-only access, using the dev/local namespace. In an environment with Docker installed, run the install command from your user home directory; the installer starts Loom and ClickHouse, applies migrations, and prints the dashboard URL (http://localhost:7777/)。安装目录为 ~/.loom, which can be changed via LOOM_INSTALL_DIR.
  • Team use: enters multi-user mode from first launch, supporting authenticated accounts and namespace access control.
  • Model configuration: the default installation starts without a key, and storage, dashboard, structured code indexing, and semantic search are available (using a small local embedding model built into the image), but the fake LLM does not generate AI answers. You can select the provider and model in the settings, enter the key, and test the application without restarting Docker. Supports OpenAI, Gemini, and OpenAI-compatible embedding endpoints.
  • Environment configuration: edit ~/.loom/.env and rebuild the server. loom.example.yaml lists all settings and their default values.

Use cases:

  • Provide coding agents with long-term memory across sessions.
  • Provide per-user memory for agent applications (via the Python or TypeScript SDK).
  • A multi-user MCP memory server supporting namespaces, roles, and tokens.
  • Code repository index queries, assisting with definition lookup, caller analysis, and change impact assessment.
  • Document search with citations.
  • Shared context, task inbox, and decisions in multi-agent workflows.
  • Memory, recall, audit, and erasure for autonomous agents.
  • In a software factory, implementing and reviewing agent-shared experience, problem context, and source provenance.

Limitations:

  • Loom is not an in-process library for a single agent's short-term memory, nor is it an agent framework.
  • Providing tools does not guarantee that a model will use them.
  • Benchmark results are specific to the test workload.
  • The default installation is limited to localhost; shared access requires following the team deployment guide (including TLS).
  • The agent's CLI login or subscription does not provide Loom's provider keys.
  • Langfuse and ClickStack are optional integrations and are not included in the Docker stack.
  • Some features (such as logging and model cost) require enabling or providing the corresponding data.
Up/Down to navigate · Enter to open · ESC to closeBrowse all tools