Add locked-down kids instance configuration

This commit is contained in:
2026-02-22 20:28:48 +00:00
parent dd6b3aa63d
commit 52d2555cca
5 changed files with 259 additions and 0 deletions

View File

@@ -0,0 +1,98 @@
{
"$schema": "https://docs.openclaw.ai/schemas/openclaw-config.json",
"gateway": {
"mode": "local",
"bind": "loopback",
"port": 18789,
"auth": {
"mode": "token",
"token": "CHANGE-THIS-TO-A-LONG-RANDOM-STRING"
}
},
"session": {
"dmScope": "per-channel-peer"
},
"agents": {
"defaults": {
"sandbox": {
"mode": "all",
"scope": "agent",
"workspaceAccess": "none"
}
},
"list": [
{
"id": "kids-agent",
"name": "Kids Assistant",
"workspace": "/workspace-kids",
"model": "kimi-coding/k2p5",
"thinking": "low",
"systemPrompt": "You are a friendly, patient AI assistant for a child. Be encouraging, educational, and safe. Never help with anything dangerous or inappropriate. If asked about harmful topics, gently redirect. Keep answers age-appropriate and positive.",
"tools": {
"allow": [
"read",
"web_search",
"memory_search",
"memory_get",
"sessions_list",
"sessions_history",
"session_status"
],
"deny": [
"write",
"edit",
"apply_patch",
"exec",
"process",
"browser",
"canvas",
"nodes",
"cron",
"gateway",
"sessions_spawn",
"sessions_send",
"subagents",
"agents_list",
"image",
"web_fetch",
"tts"
]
}
}
]
},
"tools": {
"profile": "messaging",
"fs": {
"workspaceOnly": true
}
},
"channels": {
"whatsapp": {
"dmPolicy": "pairing",
"groups": {
"*": {
"requireMention": true
}
}
},
"telegram": {
"dmPolicy": "pairing",
"groups": {
"*": {
"requireMention": true
}
}
}
},
"logging": {
"level": "info",
"redactSensitive": "tools"
}
}