1 | |
run onboarding
1 | |
verify the gateway is running
1 | |
open the dashboard
1 | |
1 | |
1 | |
~/.openclaw/openclaw.json
1 | |
创建 OpenClaw agent
方式一:通过 CLI 创建(推荐)
1. 创建新 agent:
1 | |
2. 绑定到特定渠道(可选):
1 | |
3. 查看所有 agent:
1 | |
4. 管理路由绑定:
1 | |
方式二:直接编辑配置文件
在 ~/.openclaw/openclaw.json 中的 agents.list 添加:
{
agents: {
list: [
{
id: "work",
workspace: "~/.openclaw/workspace-work",
identity: {
name: "工作助手",
emoji: "💼"
}
}
]
}
}
设置 identity
在对应 workspace 里创建 IDENTITY.md:
1 | |
或者用 CLI:
1 | |
最小步骤只需要:
1 | |
每个 agent 有独立的 workspace(AGENTS.md、SOUL.md、USER.md 等)、独立 session 存储和路由绑定。