





















@@ -15,7 +15,7 @@ Examples below are aligned with the current config schema. For the exhaustive re
15151616```json5
1717{
18-agent: { workspace: "~/.openclaw/workspace" },
18+agents: { defaults: { workspace: "~/.openclaw/workspace" } },
1919 channels: { whatsapp: { allowFrom: ["+15555550123"] } },
2020}
2121```
@@ -26,14 +26,21 @@ Save to `~/.openclaw/openclaw.json` and you can DM the bot from that number.
26262727```json5
2828{
29- identity: {
30- name: "Clawd",
31- theme: "helpful assistant",
32- emoji: "🦞",
33- },
34- agent: {
35- workspace: "~/.openclaw/workspace",
36- model: { primary: "anthropic/claude-sonnet-4-6" },
29+ agents: {
30+ defaults: {
31+ workspace: "~/.openclaw/workspace",
32+ model: { primary: "anthropic/claude-sonnet-4-6" },
33+ },
34+ list: [
35+ {
36+ id: "main",
37+ identity: {
38+ name: "Clawd",
39+ theme: "helpful assistant",
40+ emoji: "🦞",
41+ },
42+ },
43+ ],
3744 },
3845 channels: {
3946 whatsapp: {
@@ -83,12 +90,7 @@ Save to `~/.openclaw/openclaw.json` and you can DM the bot from that number.
8390 },
8491 },
859286-// Identity
87- identity: {
88- name: "Samantha",
89- theme: "helpful sloth",
90- emoji: "🦥",
91- },
93+// Identity is per agent — set it on agents.list[].identity below.
92949395// Logging
9496 logging: {
@@ -307,6 +309,11 @@ Save to `~/.openclaw/openclaw.json` and you can DM the bot from that number.
307309 {
308310 id: "main",
309311 default: true,
312+ identity: {
313+ name: "Samantha",
314+ theme: "helpful sloth",
315+ emoji: "🦥",
316+ },
310317// inherits defaults.skills -> github, weather
311318 groupChat: {
312319 mentionPatterns: ["@openclaw", "openclaw"],
@@ -513,7 +520,7 @@ example `~/.agents/skills/manager -> ~/Projects/manager/skills`.
513520514521```json5
515522{
516-agent: { workspace: "~/.openclaw/workspace" },
523+agents: { defaults: { workspace: "~/.openclaw/workspace" } },
517524 channels: {
518525 whatsapp: { allowFrom: ["+15555550123"] },
519526 telegram: {
@@ -605,11 +612,13 @@ Only enable direct mutable name/email/nick matching with each channel's `dangero
605612 },
606613 },
607614 },
608- agent: {
609- workspace: "~/.openclaw/workspace",
610- model: {
611- primary: "anthropic/claude-opus-4-6",
612- fallbacks: ["minimax/MiniMax-M2.7"],
615+ agents: {
616+ defaults: {
617+ workspace: "~/.openclaw/workspace",
618+ model: {
619+ primary: "anthropic/claude-opus-4-6",
620+ fallbacks: ["minimax/MiniMax-M2.7"],
621+ },
613622 },
614623 },
615624}
@@ -619,13 +628,20 @@ Only enable direct mutable name/email/nick matching with each channel's `dangero
619628620629```json5
621630{
622- identity: {
623- name: "WorkBot",
624- theme: "professional assistant",
625- },
626- agent: {
627- workspace: "~/work-openclaw",
628- elevated: { enabled: false },
631+ agents: {
632+ defaults: {
633+ workspace: "~/work-openclaw",
634+ elevatedDefault: "off",
635+ },
636+ list: [
637+ {
638+ id: "main",
639+ identity: {
640+ name: "WorkBot",
641+ theme: "professional assistant",
642+ },
643+ },
644+ ],
629645 },
630646 channels: {
631647 slack: {
@@ -644,9 +660,11 @@ Only enable direct mutable name/email/nick matching with each channel's `dangero
644660645661```json5
646662{
647- agent: {
648- workspace: "~/.openclaw/workspace",
649- model: { primary: "lmstudio/my-local-model" },
663+ agents: {
664+ defaults: {
665+ workspace: "~/.openclaw/workspace",
666+ model: { primary: "lmstudio/my-local-model" },
667+ },
650668 },
651669 models: {
652670 mode: "merge",
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。