Skip to content

用語集と資料

源码版本v2026.6.11

主要用語

用語英語説明
ゲートウェイgateway常駐プロセス,チャネルメッセージ受信・agent 調度・イベント放送。src/gateway/server.impl.ts
Agent メインループagent loopembedded-agent-runnerwhile(true) turn ループ。src/agents/embedded-agent-runner/run.ts
単発attempt1 回の LLM 呼び出し + tool_use/tool_result ペア。run/attempt.ts
セッションsession一連の会話の状態コンテナ,SessionManager が管理。src/agents/sessions/session-manager.ts
ツールtoolagent が呼び出せる関数,Map で登録。src/agents/sessions/agent-session.ts
スキルskillMarkdown ガイド,モデルが自身でいつ読むかを決定。src/skills/
プラグインplugin.codex-plugin/plugin.json などのディレクトリ約束で発見される拡張パッケージ。src/plugins/
チャネルchannelWhatsApp/Telegram/Slack などのメッセージプラットフォーム適合。src/channels/
ProviderproviderLLM ベンダー適合 (Anthropic/OpenAI/Google...)。src/llm/providers/
Context Enginecontext engineコンテキスト圧縮 (compaction) 抽象層。src/context-engine/
Croncron定時タスク,隔離 agent session 内で実行。src/cron/
ACPAgent Client ProtocolIDE (Zed 等) と gateway をブリッジ。src/acp/
MCPModel Context Protocol双向:server として能力を公開,client として外部 server を消費。src/mcp/ + src/agents/
Daemondaemongateway をシステムサービス化 (launchd/schtasks/systemd)。src/daemon/

ディレクトリ約束

  • ソース:openclaw/openclaw リポジトリ,src/ がメインコード,packages/ は 21 個の単独公開可能なパッケージ,skills/(リポジトリルート)はサンプルスキル集。
  • ユーザデータ:~/.openclaw/(設定 openclaw.json、workspace、agents、logs、memory...)。
  • 設定ファイル:~/.openclaw/openclaw.json(または $OPENCLAW_STATE_DIR/openclaw.json)。

公式資料

ソースバージョン

本サイトのすべての SrcLink は github.com/openclaw/openclaw/blob/v2026.6.11/<path>#Lxx-Lyy を指します。バージョンアップ時は docs/.vitepress/site.tsOPENCLAW_TAG を変更し,npm run check:refs を実行してください。