> ## Documentation Index
> Fetch the complete documentation index at: https://openclaw.veiseule.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# エージェント

# `openclaw agents`

分離されたエージェント（ワークスペース＋認証＋ルーティング）を管理します。

関連：

* マルチエージェントルーティング：[Multi-Agent Routing](/concepts/multi-agent)
* エージェントワークスペース：[Agent workspace](/concepts/agent-workspace)

## 例

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
openclaw agents list
openclaw agents add work --workspace ~/.openclaw/workspace-work
openclaw agents set-identity --workspace ~/.openclaw/workspace --from-identity
openclaw agents set-identity --agent main --avatar avatars/openclaw.png
openclaw agents delete work
```

## ID ファイル

各エージェントワークスペースには、ワークスペースのルートに `IDENTITY.md` を含めることができます。

* 例のパス：`~/.openclaw/workspace/IDENTITY.md`
* `set-identity --from-identity` は、ワークスペースのルート（または明示的な `--identity-file`）から読み取ります。

アバターのパスは、ワークスペースのルートを基準に解決されます。

## ID を設定

`set-identity` は、`agents.list[].identity` にフィールドを書き込みます。

* `name`
* `theme`
* `emoji`
* `avatar`（ワークスペース相対パス、http(s) URL、または data URI）

`IDENTITY.md` から読み込みます。

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
openclaw agents set-identity --workspace ~/.openclaw/workspace --from-identity
```

フィールドを明示的に上書きします。

```bash theme={"theme":{"light":"min-light","dark":"min-dark"}}
openclaw agents set-identity --agent main --name "OpenClaw" --emoji "🦞" --avatar avatars/openclaw.png
```

設定例：

```json5 theme={"theme":{"light":"min-light","dark":"min-dark"}}
{
  agents: {
    list: [
      {
        id: "main",
        identity: {
          name: "OpenClaw",
          theme: "space lobster",
          emoji: "🦞",
          avatar: "avatars/openclaw.png",
        },
      },
    ],
  },
}
```
