---
title: ClickHouse Loom ドキュメント
seo:
  title: エージェントメモリとコード検索のドキュメント
  description: AIエージェント向けの共有メモリ、文書検索、コードインデックスを備えたセルフホスト型MCPサーバー。
lastModified: '2026-11-24T19:38:17.000Z'
---

<!-- i18n: source=docs/index.md blob=173314858f057f518abf314eb98af3afff03c87b model=claude-sonnet-5-5 -->
> このページは[英語の原文](https://loom.clickhouse.com/docs)の機械翻訳です。内容は英語の原文が優先されます。
> Machine-translated from the [English page](https://loom.clickhouse.com/docs), which is authoritative.

<a id="clickhouse-loom-documentation"></a>

Loom は、AI エージェント向けのメモリ、ドキュメント、コードインデックスのサーバーで、データは ClickHouse に保存されます。ライブのメモリとナレッジの状態には、オプションとして [Postgres](/docs/ja/architecture/storage-authority#why-two-stores) も使えます。エージェントと人は、MCP、HTTP、Python および TypeScript の SDK、ダッシュボードから Loom を利用できます。このページでは、すべてのページを読む順に一覧にしています。

![ダッシュボードのライブラリ：返金ルールの検索に対して、引用付きの該当箇所が返された画面](https://github.com/ClickHouse/loom/raw/main/docs/assets/screenshots/document-search.webp)

<details>
<summary>Ask AI が確認済みの出典付きで回答する様子（クリップ）</summary>
<video src="/docs/blume-assets/content/.blume-content/assets/screenshots/clip-assistant-answer.webm" controls preload="none" muted playsinline width="100%" aria-label="Ask AI answering a question about refunds, with its numbered sources checked against Loom"><a href="/docs/blume-assets/content/.blume-content/assets/screenshots/clip-assistant-answer.webm">Ask AI が確認済みの出典付きで回答する様子（クリップ）</a></video>
</details>

<a id="start-here"></a>

## はじめに

| ステップ                 | 読むページ                                                                                                                                                                                |
| ------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| 1. 検討する              | [概要](/docs/ja/getting-started/overview) → [Loom を評価する](/docs/ja/getting-started/evaluate)                                                                                                      |
| 2. インストールする      | [クイックスタート](/docs/ja/getting-started/quickstart) → [デプロイ](https://loom.clickhouse.com/docs/operations/deployment)                                                                                                      |
| 3. エージェントを接続する | [コーディングエージェントを接続する](/docs/ja/getting-started/connect-a-coding-agent) → [インテグレーション](https://loom.clickhouse.com/docs/features/integrations)                                                                      |
| 4. SDK と API            | [最初のエージェント](https://loom.clickhouse.com/docs/getting-started/first-agent) → [Python SDK](https://loom.clickhouse.com/docs/reference/python-sdk) / [HTTP API](https://loom.clickhouse.com/docs/reference/http-api)                                                            |
| 5. 名前空間とアクセス    | [ID と名前空間](https://loom.clickhouse.com/docs/concepts/identities-and-namespaces) → [トークンとグラント](https://loom.clickhouse.com/docs/guides/tokens-and-grants)                                                                     |
| 6. コードインデックス    | [コードインデックス](https://loom.clickhouse.com/docs/features/code-index/overview) → [リポジトリ](/docs/ja/features/code-index/repositories) → [コードインデックスの運用](/docs/ja/operations/code-index-operations)                        |
| 7. 運用する              | [モニタリング](https://loom.clickhouse.com/docs/operations/monitoring) · [トラブルシューティング](/docs/ja/operations/troubleshooting) · [アップグレード](https://loom.clickhouse.com/docs/operations/upgrades) · [バックアップとリカバリ](https://loom.clickhouse.com/docs/operations/backup-and-recovery) |

<a id="use-cases"></a>

## ユースケース

ニーズごとに 1 ページを用意しています。各ページでは、Loom がそのニーズに対して何を行うか、どこから始めればよいかを説明します。
[エージェントメモリ](/docs/ja/use-cases/agent-memory) ·
[ドキュメント検索と RAG](/docs/ja/use-cases/document-search) ·
[コーディングエージェント向けコードインデックス](/docs/ja/use-cases/code-intelligence) ·
[言語別コードインデックス](/docs/ja/use-cases/code-intelligence-by-language) ·
[コードに紐づくメモリ](/docs/ja/use-cases/memory-linked-to-code) ·
[コーディングエージェントのモデルコスト](/docs/ja/use-cases/coding-agent-cost) ·
[複数エージェントでの共有コンテキスト](/docs/ja/use-cases/multi-agent) ·
[自律エージェント：想起、監査、消去](/docs/ja/use-cases/autonomous-agents) ·
[実行、トレース、PR 履歴](/docs/ja/use-cases/runs-and-pr-history) ·
[ClickHouse でのセルフホスト](/docs/ja/use-cases/self-hosted-clickhouse) ·
[すべてのユースケース](/docs/ja/use-cases)。

<a id="1-getting-started"></a>

## 1. はじめに

- [概要](/docs/ja/getting-started/overview)：Loom とは何か、どのような場面に適しているか、前提条件。
- [含まれるもの](/docs/ja/getting-started/whats-included)：Loom の主な機能と、それぞれのページ。
- [クイックスタート](/docs/ja/getting-started/quickstart)：ローカルスタックを最初から最後まで構築する手順。
- [モデルと API キーの設定](https://loom.clickhouse.com/docs/getting-started/models-and-keys)：エージェントのサブスクリプション、サーバー LLM、埋め込み、単一プロバイダーの構成。
- [Loom を評価する](/docs/ja/getting-started/evaluate)：スモークテスト、ワークロード評価、再現可能な公開ベンチマーク。
- [コーディングエージェントを接続する](/docs/ja/getting-started/connect-a-coding-agent)：プラグインまたは MCP のエントリ。
- [コーディングエージェントで Loom をセットアップする](/docs/ja/getting-started/agent-setup)：固定バージョンのリリースをインストールして動作を確認するエージェント向けで、決まった形式のレポートを出力します。
- [最初のエージェント](https://loom.clickhouse.com/docs/getting-started/first-agent)：SDK のチュートリアル。

<a id="2-install-and-run-the-server"></a>

## 2. サーバーのインストールと実行

- [デプロイ](https://loom.clickhouse.com/docs/operations/deployment)：構成、環境、プロバイダー、ID モード、プロキシ、イメージ、本番環境チェックリスト。
- [シングルサインオン](/docs/ja/operations/sso)：ダッシュボード、`loom login`、MCP クライアント向けの OIDC ID プロバイダー。
- [ダッシュボードを使わずに Loom を使う](/docs/ja/guides/without-the-dashboard)：ダッシュボードの各ビューに対応する `loom login`、`loom call`、SDK の呼び出し。
- [アップグレード](https://loom.clickhouse.com/docs/operations/upgrades) · [サポート対象バージョン](https://loom.clickhouse.com/docs/operations/supported-versions) ·
  [バックアップとリカバリ](https://loom.clickhouse.com/docs/operations/backup-and-recovery) ·
  [モニタリング](https://loom.clickhouse.com/docs/operations/monitoring) · [メンテナンス](https://loom.clickhouse.com/docs/operations/maintenance) ·
  [ランタイム設定](/docs/ja/operations/runtime-settings) ·
  [トラブルシューティング](/docs/ja/operations/troubleshooting) ·
  [コードインデックスの運用](/docs/ja/operations/code-index-operations) ·
  [N 個のレプリカの運用](/docs/ja/operations/replicas)：1 つの URL の背後にある同一の Loom ·
  [Postgres](https://loom.clickhouse.com/docs/operations/postgres)：Postgres のメモリオーソリティ ·
  [Kubernetes](https://loom.clickhouse.com/docs/operations/kubernetes)：EKS と kind のオーバーレイを備えた Helm チャート ·
  [ClickHouse Cloud と Managed Postgres](/docs/ja/operations/clickhouse-cloud)：両方のマネージドサービスに対応するチャート ·
  [名前空間を別の Loom にコピーする](https://loom.clickhouse.com/docs/operations/okf-sync) ·
  [使用状況をデータウェアハウスにエクスポートする](/docs/ja/operations/analytics-export)

<a id="3-connect-agents"></a>

## 3. エージェントを接続する

[連携](https://loom.clickhouse.com/docs/features/integrations) ·
[MCP クライアント](https://loom.clickhouse.com/docs/features/integrations/mcp-clients) ·
[エージェント向け指示](/docs/ja/features/integrations/agent-instructions) ·
[Claude Code](https://loom.clickhouse.com/docs/features/integrations/claude-code) ·
[Codex](https://loom.clickhouse.com/docs/features/integrations/codex) · [Cursor](/docs/ja/features/integrations/cursor) ·
[VS Code](/docs/ja/features/integrations/vscode) ·
[フレームワーク](https://loom.clickhouse.com/docs/features/integrations/frameworks) ·
[Grep シム](/docs/ja/features/integrations/grep-shim) ·
[Langfuse](/docs/ja/features/integrations/langfuse) ·
[ClickStack](/docs/ja/features/integrations/clickstack) ·
[OKF](/docs/ja/features/integrations/okf)

<a id="4-sdk-and-api"></a>

## 4. SDK と API

[リファレンス索引](/docs/ja/reference) · [HTTP API](https://loom.clickhouse.com/docs/reference/http-api) ·
[MCP](/docs/ja/reference/mcp) · [Python SDK](https://loom.clickhouse.com/docs/reference/python-sdk) ·
[TypeScript SDK](https://loom.clickhouse.com/docs/reference/typescript-sdk) · [環境変数](/docs/ja/reference/environment) ·
[API オペレーション](https://loom.clickhouse.com/docs/reference/operations) · [設定](https://loom.clickhouse.com/docs/reference/configuration) ·
[ワーカー](https://loom.clickhouse.com/docs/reference/workers) · [CLI](https://loom.clickhouse.com/docs/reference/cli) · [エラー](https://loom.clickhouse.com/docs/reference/errors) ·
[ステータス](https://loom.clickhouse.com/docs/reference/status) · [スキーマ](https://loom.clickhouse.com/docs/reference/schema) ·
[エクストラクタ契約](https://loom.clickhouse.com/docs/reference/extractor-contract)。オペレーションとフィールドはリリース間で変更されます。サーバーが読み取らなくなったフィールドをクライアントがどのように認識するかについては、[未知のフィールドと削除されたフィールド](https://loom.clickhouse.com/docs/reference/http-api#unknown-and-removed-fields)を参照してください。

<a id="5-namespaces-access-and-the-memory-model"></a>

## 5. 名前空間、アクセス、メモリモデル

- [アイデンティティと名前空間](https://loom.clickhouse.com/docs/concepts/identities-and-namespaces)：タプル、ロール、グラント、読み取りスコープ。
- [メモリ](https://loom.clickhouse.com/docs/concepts/memory)：行、書き込みの判定方法、時間、履歴、来歴。
- [検索とランキング](https://loom.clickhouse.com/docs/concepts/retrieval-and-ranking)：レッグ、フュージョン、アブステイン、キャリブレーション。

<a id="guides"></a>

## ガイド

[エージェント連携](/docs/ja/guides/agent-integration) ·
[ヘッドレスボット](/docs/ja/guides/headless-bots) ·
[トークンとグラント](https://loom.clickhouse.com/docs/guides/tokens-and-grants) ·
[長時間実行のトレースと再開](/docs/ja/guides/trace-and-resume) ·
[名前空間の最適化](/docs/ja/guides/optimize-namespace) ·
[調査エージェントのメモリ](https://loom.clickhouse.com/docs/guides/investigation-agent-memory) ·
[抽出パイプライン](/docs/ja/guides/extraction-pipeline) ·
[パフォーマンスチューニング](https://loom.clickhouse.com/docs/guides/performance-tuning) · [デバッグ](/docs/ja/guides/debugging) ·
[Postgres から Loom にクエリする](/docs/ja/guides/query-from-postgres) ·
[Loom で教える](/docs/ja/guides/teaching)

<a id="features"></a>

## 機能

- プレーン：[名前空間と共有](https://loom.clickhouse.com/docs/features/namespaces-and-sharing) ·
  [統合検索](https://loom.clickhouse.com/docs/features/unified-search) · [ナレッジ](https://loom.clickhouse.com/docs/features/knowledge) ·
  [エンティティグラフ](https://loom.clickhouse.com/docs/features/entity-graph) ·
  [会話とセッション](https://loom.clickhouse.com/docs/features/conversations-and-sessions) ·
  [実行](https://loom.clickhouse.com/docs/features/runs) · [タスクと意思決定](https://loom.clickhouse.com/docs/features/tasks-and-decisions) ·
  [ダッシュボード](https://loom.clickhouse.com/docs/features/dashboard)
- メモリ：[書き込み](https://loom.clickhouse.com/docs/features/memory/writing) ·
  [検索と質問](https://loom.clickhouse.com/docs/features/memory/search-and-ask) ·
  [競合と拒否](https://loom.clickhouse.com/docs/features/memory/conflicts-and-refusal) ·
  [抽出](https://loom.clickhouse.com/docs/features/memory/extraction) ·
  [履歴と来歴](https://loom.clickhouse.com/docs/features/memory/history-and-provenance) ·
  [保持と消去](https://loom.clickhouse.com/docs/features/memory/retention-and-erasure) ·
  [手順と学習内容](https://loom.clickhouse.com/docs/features/memory/procedures-and-learnings) ·
  [ワーキングメモリとプロファイル](/docs/ja/features/memory/working-memory-and-profiles)
- オブザーバビリティ：[監査](/docs/ja/features/observability/audit) ·
  [コストと使用量](https://loom.clickhouse.com/docs/features/observability/cost-and-usage) ·
  [テレメトリ](/docs/ja/features/observability/telemetry)
- トラッカー：[概要](https://loom.clickhouse.com/docs/features/tracker/overview) ·
  [レコード契約](/docs/ja/features/tracker/record-contract)

<a id="6-code-index"></a>

## 6. コードインデックス

[概要](https://loom.clickhouse.com/docs/features/code-index/overview) ·
[リポジトリ](/docs/ja/features/code-index/repositories) ·
[鮮度](https://loom.clickhouse.com/docs/features/code-index/freshness) ·
[履歴と PR](/docs/ja/features/code-index/history-and-prs) ·
[オペレーション（API 操作）](https://loom.clickhouse.com/docs/features/code-index/operations) ·
[コードインデックス運用ランブック](/docs/ja/operations/code-index-operations)

<a id="architecture"></a>

## アーキテクチャ

[システム概要](https://loom.clickhouse.com/docs/architecture/system-overview) ·
[サーバーレイアウト](/docs/ja/architecture/server-layout) ·
[ClickHouse](https://loom.clickhouse.com/docs/architecture/clickhouse) ·
[メモリアーキテクチャ](https://loom.clickhouse.com/docs/architecture/memory-architecture) ·
[ストレージオーソリティ（正のデータの保存先）](/docs/ja/architecture/storage-authority) ·
[セル](https://loom.clickhouse.com/docs/architecture/cells) ·
[ストレージレイアウト](https://loom.clickhouse.com/docs/architecture/storage-layout) ·
[コードインデックスのアーキテクチャ](/docs/ja/architecture/code-index-architecture) ·
[ドキュメント抽出](https://loom.clickhouse.com/docs/architecture/document-extraction) ·
[ドキュメントソース](https://loom.clickhouse.com/docs/architecture/document-sources) ·
[LLM と埋め込み](https://loom.clickhouse.com/docs/architecture/llm-architecture) ·
[セキュリティ](https://loom.clickhouse.com/docs/architecture/security) ·
[アシスタントの設計](https://loom.clickhouse.com/docs/architecture/assistant) ·
[障害と復旧](https://loom.clickhouse.com/docs/architecture/failure-and-recovery) ·
[ローリングアップグレード](https://loom.clickhouse.com/docs/architecture/rolling-upgrades)

<a id="benchmarks"></a>

## ベンチマーク

[概要](/docs/ja/benchmarks/overview) · [カバレッジ](/docs/ja/benchmarks/coverage) · [方法論](/docs/ja/benchmarks/methodology) · [実行方法](https://loom.clickhouse.com/docs/benchmarks/running) · [結果](https://loom.clickhouse.com/docs/benchmarks/results) · [ケースの追加](/docs/ja/benchmarks/adding-a-case) · [スキル評価](/docs/ja/benchmarks/skill-eval)

<a id="development"></a>

## 開発

コントリビューター向け：[リポジトリガイド](/docs/ja/development/repository-guide) ·
[ローカル開発](https://loom.clickhouse.com/docs/development/local-development) ·
[テスト](/docs/ja/development/testing) · [コード生成](/docs/ja/development/code-generation) ·
[マイグレーション](/docs/ja/development/migrations) ·
[リリースプロセス](https://loom.clickhouse.com/docs/development/release-process) ·
[ドキュメントスタイル](https://loom.clickhouse.com/docs/development/documentation-style) ·
[キュレーションループの設計](https://loom.clickhouse.com/docs/development/curation-loop-design) ·
[Loom の拡張](/docs/ja/development/extending-loom) ·
[オペレーションの追加](/docs/ja/development/adding-an-operation) ·
[ワーカーの追加](https://loom.clickhouse.com/docs/development/adding-a-worker) ·
[テーブルの追加](/docs/ja/development/adding-a-table) ·
[言語サポートの追加](/docs/ja/development/adding-language-support) ·
[ダッシュボードの設計](https://loom.clickhouse.com/docs/development/dashboard-design)。
プルリクエストのワークフローについては [CONTRIBUTING.md](https://github.com/ClickHouse/loom/blob/main/CONTRIBUTING.md) を参照してください。

<a id="also"></a>

## 関連ページ

[用語集](/docs/ja/glossary)：Loom の用語を一か所にまとめて定義しています。[よくある質問](/docs/ja/faq)：最初に出てくる質問に、それぞれ一段落で答えます。[`llms.txt`](https://github.com/ClickHouse/loom/blob/main/llms.txt)：エージェント向けに生成されたドキュメントの索引です。[`llms-full.txt`](https://loom.clickhouse.com/docs/llms-full.txt) には、Loom とは何か、どう始めるかを説明するページが 1 つのファイルにまとめられています。
