Agents
기준일: 2026-07-26
공식 기준: Agents
Agents 문서는 OpenClaw 공식 문서(cli/agents)를 한국어로 정리한 가이드입니다. CLI reference for openclaw agents (list/add/delete/bindings/bind/unbind/set identity) 명령·설정 키·코드 예시는 공식 문서를 그대로 보존하며, 해석과 절차 안내는 한국어로 제공합니다. 최종 동작은 설치된 CLI 버전과 공식 원문을 확인하세요.
핵심 요약
CLI reference for openclaw agents (list/add/delete/bindings/bind/unbind/set identity)
한국어 가이드 범위: cli/agents 경로의 설정·명령·제약·예시를 학습용으로 재구성합니다.
문서 구성
공식 문서의 주요 섹션은 다음과 같습니다.
- 예제
- Command surface
- agents list
- agents add [name]
- agents bindings
- agents bind
- agents unbind
- agents set-identity
- agents delete
- Routing bindings
- --bind format
- Binding scope behavior
- match all accounts on the channel
- match a specific account
- initial channel-only binding
- later upgrade to account-scoped binding
- Identity files
- Set identity
- 관련 문서
상세 내용
openclaw agents
Manage isolated agents (workspaces + auth + routing). Running openclaw agents with no subcommand is equivalent to openclaw agents list.
위 내용은 공식 문서의 해당 섹션 요지입니다. 세부 플래그·기본값은 원문과
--help를 확인하세요.
주요 항목:
- Multi-agent routing
- Agent workspace
- Skills config: skill visibility configuration.
예제
openclaw agents list
openclaw agents list --bindings
openclaw agents add work --workspace ~/.openclaw/workspace-work
openclaw agents add work --workspace ~/.openclaw/workspace-work --bind telegram:*
openclaw agents add ops --workspace ~/.openclaw/workspace-ops --bind telegram:ops --non-interactive
openclaw agents bindings
openclaw agents bind --agent work --bind telegram:ops
openclaw agents unbind --agent work --bind telegram:ops
openclaw agents set-identity --workspace ~/.openclaw/workspace --from-identity
openclaw agents set-identity --agent main --avatar avatars/openclaw.png
openclaw agents delete work
Command surface
이 섹션의 세부 항목은 공식 문서 Command surface를 참고하세요.
agents list
Options: --json, --bindings (include full routing rules, not only per-agent counts/summaries).
위 내용은 공식 문서의 해당 섹션 요지입니다. 세부 플래그·기본값은 원문과
--help를 확인하세요.
agents add [name]
Options: --workspace , --model , --agent-dir , --bind (repeatable), --non-interactive, --json.
위 내용은 공식 문서의 해당 섹션 요지입니다. 세부 플래그·기본값은 원문과
--help를 확인하세요.
주요 항목:
- Passing any explicit add flag switches the command into the non-interactive path.
- Non-interactive mode requires both an agent name and
--workspace. mainis reserved and cannot be used as the new agent id.- Interactive mode seeds auth by copying only portable static credentials (
api_keyand statictokenprofiles) unless a credential opts out withcopyToAgents: false; OAuth refresh-token profiles are not copied unless a provider opts in withcopyToAgents: true. Without a copy, OAuth stays available only through read-through inheritance from the realmainagent store. If the configured default agent is notmain, sign in separately for OAuth profiles on the new agent.
agents bindings
Options: --agent <id>, --json.
agents bind
Options: --agent (defaults to the current default agent), --bind (repeatable), --json.
위 내용은 공식 문서의 해당 섹션 요지입니다. 세부 플래그·기본값은 원문과
--help를 확인하세요.
agents unbind
Options: --agent (defaults to the current default agent), --bind (repeatable), --all, --json. Accepts either --all or one or more --bind values, not both.
위 내용은 공식 문서의 해당 섹션 요지입니다. 세부 플래그·기본값은 원문과
--help를 확인하세요.
agents set-identity
Options: --agent , --workspace , --identity-file , --from-identity, --name , --theme , --emoji , --avatar , --json. See Set identity below.
위 내용은 공식 문서의 해당 섹션 요지입니다. 세부 플래그·기본값은 원문과
--help를 확인하세요.
agents delete
주요 항목:
maincannot be deleted.- Without
--force, interactive confirmation is required (fails in a non-TTY session; re-run with--force). - Workspace, agent state, and session transcript directories move to Trash, not hard-deleted. If Trash is unavailable, agent config deletion still succeeds and reports paths requiring manual cleanup.
- When the Gateway is reachable, deletion routes through the Gateway so config and session-store cleanup share the same writer as runtime traffic. If the Gateway is unreachable, the CLI falls back to the offline local path.
- If another agent's workspace is the same path, inside this workspace, or contains this workspace, the workspace is retained, and
--jsonreportsworkspaceRetained,workspaceRetainedReason, andworkspaceSharedWith.
Routing bindings
Use routing bindings to pin inbound channel traffic to a specific agent.
위 내용은 공식 문서의 해당 섹션 요지입니다. 세부 플래그·기본값은 원문과
--help를 확인하세요.
openclaw agents bindings
openclaw agents bindings --agent work
openclaw agents bindings --json
openclaw agents bind --agent work --bind telegram:ops --bind discord:guild-a
openclaw agents add work --workspace ~/.openclaw/workspace-work --bind telegram:* --bind discord:*
--bind format
| Format | Meaning |
|---|---|
--bind <channel>:* |
Match all accounts on the channel. |
--bind <channel>:<account> |
Match one account. |
--bind <channel> |
Match the default account only, unless the CLI can safely resolve a plugin-specific account scope. |
Binding scope behavior
주요 항목:
- A stored binding without
accountIdmatches the channel default account only. accountId: "*"is the channel-wide fallback (all accounts) and is less specific than an explicit account binding.- If the same agent already has a matching channel binding without
accountId, and you later bind with an explicit or resolvedaccountId, OpenClaw upgrades that existing binding in place instead of adding a duplicate.
match all accounts on the channel
openclaw agents bind --agent work --bind telegram:*
위 내용은 공식 문서의 해당 섹션 요지입니다. 세부 플래그·기본값은 원문과
--help를 확인하세요.
match a specific account
openclaw agents bind --agent work --bind telegram:ops
위 내용은 공식 문서의 해당 섹션 요지입니다. 세부 플래그·기본값은 원문과
--help를 확인하세요.
initial channel-only binding
openclaw agents bind --agent work --bind telegram
위 내용은 공식 문서의 해당 섹션 요지입니다. 세부 플래그·기본값은 원문과
--help를 확인하세요.
later upgrade to account-scoped binding
openclaw agents bind --agent work --bind telegram:alerts bash openclaw agents unbind --agent work --bind telegram:ops openclaw agents unbind --agent work --all ```
위 내용은 공식 문서의 해당 섹션 요지입니다. 세부 플래그·기본값은 원문과
--help를 확인하세요.
After the upgrade, routing for that binding is scoped to `telegram:alerts`. If you also want default-account routing, add it explicitly (for example `--bind telegram:default`).
Remove bindings:
Identity files
Each agent workspace can include an IDENTITY.md at the workspace root:
위 내용은 공식 문서의 해당 섹션 요지입니다. 세부 플래그·기본값은 원문과
--help를 확인하세요.
주요 항목:
- Example path:
~/.openclaw/workspace/IDENTITY.md set-identity --from-identityreads from the workspace root (or an explicit--identity-file).
Set identity
set-identity writes fields into agents.entries.*.identity: name, theme, emoji, avatar (workspace-relative path, http(s) URL, or data URI).
위 내용은 공식 문서의 해당 섹션 요지입니다. 세부 플래그·기본값은 원문과
--help를 확인하세요.
주요 항목:
--agentor--workspaceselects the target agent. If--workspacematches more than one agent, the command fails and asks you to pass--agent.- Local workspace-relative avatar image files are limited to 2 MB. HTTP(S) URLs and
data:URIs are not checked against the local file-size limit. - When no explicit identity fields are provided, the command reads identity data from
IDENTITY.md.
openclaw agents set-identity --workspace ~/.openclaw/workspace --from-identity
openclaw 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",
},
},
],
},
}
관련 문서
주요 항목:
- CLI reference
- Multi-agent routing
- Agent workspace
실습 체크리스트
- 공식 문서와 로컬 버전을 대조합니다:
https://docs.openclaw.ai/cli/agents - 관련 CLI는
openclaw --help및 하위 명령--help로 옵션을 확인합니다. - 설정 변경 시
openclaw config/openclaw doctor로 유효성을 검사합니다. - Gateway·채널·플러그인 변경 후에는 필요 시 Gateway를 재시작합니다.
자주 쓰는 명령·설정 예시
openclaw agents list
openclaw agents list --bindings
openclaw agents add work --workspace ~/.openclaw/workspace-work
openclaw agents add work --workspace ~/.openclaw/workspace-work --bind telegram:*
openclaw agents add ops --workspace ~/.openclaw/workspace-ops --bind telegram:ops --non-interactive
openclaw agents bindings
openclaw agents bind --agent work --bind telegram:ops
openclaw agents unbind --agent work --bind telegram:ops
openclaw agents set-identity --workspace ~/.openclaw/workspace --from-identity
openclaw agents set-identity --agent main --avatar avatars/openclaw.png
openclaw agents delete work
openclaw agents bindings
openclaw agents bindings --agent work
openclaw agents bindings --json
openclaw agents bind --agent work --bind telegram:ops --bind discord:guild-a
openclaw agents add work --workspace ~/.openclaw/workspace-work --bind telegram:* --bind discord:*
# match all accounts on the channel
openclaw agents bind --agent work --bind telegram:*
# match a specific account
openclaw agents bind --agent work --bind telegram:ops
# initial channel-only binding
openclaw agents bind --agent work --bind telegram
# later upgrade to account-scoped binding
openclaw agents bind --agent work --bind telegram:alerts
openclaw agents unbind --agent work --bind telegram:ops
openclaw agents unbind --agent work --all
관련 링크
- 공식 원문: cli/agents
- OpenClaw 문서 홈
이 가이드는 공식 문서를 한국어 학습용으로 재구성한 것입니다. 옵션 기본값·플래그 이름은 설치 버전에 따라 달라질 수 있습니다.