OpenClawエージェント管理ガイド:ワークスペースとID設定を最適化
複数のプロジェクトを並行して進めていると、それぞれのプロジェクトに特化した AI エージェントを使い分けたい場面が増えてきます。しかし、ワークスペースの分離や、どのチャンネルからのメッセージをどのアージェントに転送するかといった管理は、意外と手間がかかるものです。
OpenClaw を使えば、こうした複雑な管理をシンプルに解決できます。
openclaw agents
Section titled “openclaw agents”隔離されたエージェント(ワークスペース、認証、ルーティング、プロファイル設定)を管理します。
関連リソース:
- マルチエージェントルーティング: Multi-Agent Routing
- エージェントワークスペース: Agent workspace
- スキルの表示設定: Skills config
- 設定リファレンス: Configuration Reference
具体的な使用例
Section titled “具体的な使用例”openclaw agents listopenclaw agents list --bindingsopenclaw agents add work --workspace ~/.openclaw/workspace-workopenclaw agents add ops --workspace ~/.openclaw/workspace-ops --bind telegram:ops --non-interactiveopenclaw agents bindingsopenclaw agents bind --agent work --bind telegram:opsopenclaw agents unbind --agent work --bind telegram:opsopenclaw agents set-identity --workspace ~/.openclaw/workspace --from-identityopenclaw agents set-identity --agent main --avatar avatars/openclaw.pngopenclaw agents delete workルーティングのバインド
Section titled “ルーティングのバインド”ルーティングのバインドを使用して、インバウンドチャンネルのトラフィックを特定のエージェントに固定します。エージェントごとに表示するスキルを変更したい場合は、openclaw.json の agents.defaults.skills や agents.list[].skills を設定してください。詳細は Skills config や Configuration Reference を確認してください。これにより、柔軟なエージェント運用が可能になります。
バインド一覧の表示:
openclaw agents bindingsopenclaw agents bindings --agent workopenclaw agents bindings --jsonバインドの追加:
openclaw agents bind --agent work --bind telegram:ops --bind discord:guild-aaccountId を省略して --bind <channel> とした場合、OpenClaw はチャンネルのデフォルト設定やプラグインのセットアップフックから解決を試みます。また、bind や unbind で --agent を省略すると、現在のデフォルトエージェントが対象となります。
バインドスコープの挙動
Section titled “バインドスコープの挙動”accountIdを指定しないバインドは、チャンネルのデフォルトアカウントのみに一致します。accountId: "*"はチャンネル全体のフォールバック(すべてのアカウント)として機能し、明示的なアカウント指定よりも優先度が低くなります。- 同じエージェントに
accountIdなしのバインドが既に存在する場合、後から明
# initial channel-only bindingopenclaw agents bind --agent work --bind telegram
# later upgrade to account-scoped bindingopenclaw agents bind --agent work --bind telegram:opsopenclaw agents unbind --agent work --bind telegram:opsopenclaw agents unbind --agent work --allopenclaw agents set-identity --workspace ~/.openclaw/workspace --from-identityopenclaw agents set-identity --agent main --name "OpenClaw" --emoji "🦞" --avatar avatars/openclaw.png{ agents: { list: [ { id: "main", identity: { name: "OpenClaw", theme: "space lobster", emoji: "🦞", avatar: "avatars/openclaw.png", }, }, ], },}OpenClaw Expert
まだ解決しませんか?
このページで解決しない場合は、OpenClaw Expertに直接質問してください。