{
  "meta": {
    "lastTouchedVersion": "2026.4.29",
    "lastTouchedAt": "2026-05-01T23:21:29.865Z"
  },
  "wizard": {
    "lastRunAt": "2026-05-01T20:32:33.527Z",
    "lastRunVersion": "2026.4.29",
    "lastRunCommand": "doctor",
    "lastRunMode": "local"
  },
  "secrets": {
    "providers": {
      "filemain": {
        "source": "file",
        "path": "/home/openclaw/.openclaw/secrets.json",
        "mode": "json"
      }
    },
    "defaults": {
      "file": "filemain"
    }
  },
  "auth": {
    "profiles": {
      "github-copilot:github": {
        "provider": "github-copilot",
        "mode": "token"
      },
      "anthropic:manual": {
        "provider": "anthropic",
        "mode": "token"
      },
      "zai:default": {
        "provider": "zai",
        "mode": "api_key"
      },
      "anthropic:default": {
        "provider": "anthropic",
        "mode": "token"
      },
      "openai-codex:william.valentin.info@gmail.com": {
        "provider": "openai-codex",
        "mode": "oauth"
      }
    }
  },
  "models": {
    "mode": "merge",
    "providers": {
      "zai": {
        "baseUrl": "https://api.z.ai/api/coding/paas/v4",
        "api": "openai-completions",
        "models": [
          {
            "id": "glm-5",
            "name": "GLM-5",
            "reasoning": true,
            "input": [
              "text"
            ],
            "cost": {
              "input": 1,
              "output": 3.2,
              "cacheRead": 0.2,
              "cacheWrite": 0
            },
            "contextWindow": 202800,
            "maxTokens": 131100
          },
          {
            "id": "glm-5-turbo",
            "name": "GLM-5 Turbo",
            "reasoning": true,
            "input": [
              "text"
            ],
            "cost": {
              "input": 1.2,
              "output": 4,
              "cacheRead": 0.24,
              "cacheWrite": 0
            },
            "contextWindow": 202800,
            "maxTokens": 131100
          },
          {
            "id": "glm-4.7",
            "name": "GLM-4.7",
            "reasoning": true,
            "input": [
              "text"
            ],
            "cost": {
              "input": 0.6,
              "output": 2.2,
              "cacheRead": 0.11,
              "cacheWrite": 0
            },
            "contextWindow": 204800,
            "maxTokens": 131072
          },
          {
            "id": "glm-4.7-flash",
            "name": "GLM-4.7 Flash",
            "reasoning": true,
            "input": [
              "text"
            ],
            "cost": {
              "input": 0.07,
              "output": 0.4,
              "cacheRead": 0,
              "cacheWrite": 0
            },
            "contextWindow": 200000,
            "maxTokens": 131072
          },
          {
            "id": "glm-4.7-flashx",
            "name": "GLM-4.7 FlashX",
            "reasoning": true,
            "input": [
              "text"
            ],
            "cost": {
              "input": 0.06,
              "output": 0.4,
              "cacheRead": 0.01,
              "cacheWrite": 0
            },
            "contextWindow": 200000,
            "maxTokens": 128000
          },
          {
            "id": "glm-4.6",
            "name": "GLM-4.6",
            "reasoning": true,
            "input": [
              "text"
            ],
            "cost": {
              "input": 0.6,
              "output": 2.2,
              "cacheRead": 0.11,
              "cacheWrite": 0
            },
            "contextWindow": 204800,
            "maxTokens": 131072
          },
          {
            "id": "glm-4.6v",
            "name": "GLM-4.6V",
            "reasoning": true,
            "input": [
              "text",
              "image"
            ],
            "cost": {
              "input": 0.3,
              "output": 0.9,
              "cacheRead": 0,
              "cacheWrite": 0
            },
            "contextWindow": 128000,
            "maxTokens": 32768
          },
          {
            "id": "glm-4.5",
            "name": "GLM-4.5",
            "reasoning": true,
            "input": [
              "text"
            ],
            "cost": {
              "input": 0.6,
              "output": 2.2,
              "cacheRead": 0.11,
              "cacheWrite": 0
            },
            "contextWindow": 131072,
            "maxTokens": 98304
          },
          {
            "id": "glm-4.5-air",
            "name": "GLM-4.5 Air",
            "reasoning": true,
            "input": [
              "text"
            ],
            "cost": {
              "input": 0.2,
              "output": 1.1,
              "cacheRead": 0.03,
              "cacheWrite": 0
            },
            "contextWindow": 131072,
            "maxTokens": 98304
          },
          {
            "id": "glm-4.5-flash",
            "name": "GLM-4.5 Flash",
            "reasoning": true,
            "input": [
              "text"
            ],
            "cost": {
              "input": 0,
              "output": 0,
              "cacheRead": 0,
              "cacheWrite": 0
            },
            "contextWindow": 131072,
            "maxTokens": 98304
          },
          {
            "id": "glm-4.5v",
            "name": "GLM-4.5V",
            "reasoning": true,
            "input": [
              "text",
              "image"
            ],
            "cost": {
              "input": 0.6,
              "output": 1.8,
              "cacheRead": 0,
              "cacheWrite": 0
            },
            "contextWindow": 64000,
            "maxTokens": 16384
          },
          {
            "id": "glm-5.1",
            "name": "GLM-5.1",
            "reasoning": true,
            "input": [
              "text"
            ],
            "cost": {
              "input": 0,
              "output": 0,
              "cacheRead": 0,
              "cacheWrite": 0
            },
            "contextWindow": 204800,
            "maxTokens": 131072
          }
        ]
      },
      "local": {
        "baseUrl": "http://192.168.153.130:18806/v1",
        "api": "openai-completions",
        "models": [
          {
            "id": "gemma-4-26b-local",
            "name": "Gemma 4 26B A4B Instruct (local)",
            "api": "openai-completions",
            "reasoning": true,
            "input": [
              "text"
            ],
            "cost": {
              "input": 0,
              "output": 0,
              "cacheRead": 0,
              "cacheWrite": 0
            },
            "contextWindow": 262144,
            "maxTokens": 8192
          }
        ],
        "apiKey": "not-needed"
      }
    }
  },
  "agents": {
    "defaults": {
      "model": {
        "primary": "openai-codex/gpt-5.5",
        "fallbacks": []
      },
      "models": {
        "openai-codex/gpt-5.4": {
          "alias": "GPT-5.4 Codex"
        },
        "openai-codex/gpt-5.4-mini": {
          "alias": "GPT-5.4 Codex Mini"
        },
        "openai-codex/gpt-5.4-nano": {
          "alias": "GPT-5.4 Codex Nano"
        },
        "openai-codex/gpt-5.1-codex": {
          "alias": "GPT-5.1 Codex"
        },
        "openai-codex/gpt-5.1-codex-mini": {
          "alias": "GPT-5.1 Codex Mini"
        },
        "openai-codex/gpt-5.1-codex-max": {
          "alias": "GPT-5.1 Codex Max"
        },
        "openai-codex/gpt-5.3-codex": {
          "alias": "GPT-5.3 Codex"
        },
        "openai/gpt-5.5": {
          "alias": "GPT-5.5 API Key"
        },
        "openai/gpt-5.4-mini": {
          "alias": "GPT-5.4 Mini"
        },
        "openai/gpt-5.4-nano": {
          "alias": "GPT-5.4 Nano"
        },
        "openai/gpt-5.2": {
          "alias": "GPT-5.2"
        },
        "openai/gpt-5.1": {
          "alias": "GPT-5.1"
        },
        "openai/gpt-5": {
          "alias": "GPT-5"
        },
        "openai/gpt-5-mini": {
          "alias": "GPT-5 Mini"
        },
        "openai/gpt-5-nano": {
          "alias": "GPT-5 Nano"
        },
        "openai/gpt-4.1": {
          "alias": "GPT-4.1"
        },
        "openai/gpt-4.1-mini": {
          "alias": "GPT-4.1 Mini"
        },
        "openai/gpt-4.1-nano": {
          "alias": "GPT-4.1 Nano"
        },
        "anthropic/claude-opus-4-7": {
          "alias": "Claude Opus 4.7"
        },
        "anthropic/claude-opus-4-6": {
          "alias": "Claude Opus 4.6"
        },
        "anthropic/claude-sonnet-4-6": {
          "alias": "Claude Sonnet 4.6"
        },
        "anthropic/claude-haiku-4-5": {
          "alias": "Claude Haiku 4.5"
        },
        "zai/glm-5.1": {
          "alias": "GLM-5.1"
        },
        "zai/glm-5": {
          "alias": "GLM-5"
        },
        "zai/glm-5-turbo": {
          "alias": "GLM-5 Turbo"
        },
        "zai/glm-4.7": {
          "alias": "GLM-4.7"
        },
        "zai/glm-4.7-flash": {
          "alias": "GLM-4.7 Flash"
        },
        "zai/glm-4.7-flashx": {
          "alias": "GLM-4.7 FlashX"
        },
        "zai/glm-4.6": {
          "alias": "GLM-4.6"
        },
        "zai/glm-4.6v": {
          "alias": "GLM-4.6V"
        },
        "zai/glm-4.5": {
          "alias": "GLM-4.5"
        },
        "zai/glm-4.5-air": {
          "alias": "GLM-4.5 Air"
        },
        "zai/glm-4.5-flash": {
          "alias": "GLM-4.5 Flash"
        },
        "zai/glm-4.5v": {
          "alias": "GLM-4.5V"
        },
        "local/gemma-4-26b-local": {
          "alias": "Gemma 4 26B (local)"
        },
        "openai-codex/gpt-5.5": {
          "alias": "GPT-5.5"
        }
      },
      "memorySearch": {
        "sources": [
          "memory"
        ],
        "extraPaths": [
          "/mnt/swarm-common/obsidian-vault/will/will-shared-zap",
          "/home/openclaw/.openclaw/openclaw-current/docs",
          "/home/openclaw/.openclaw/openclaw-current/skills",
          "/home/openclaw/.openclaw/workspace/skills"
        ],
        "experimental": {
          "sessionMemory": false
        },
        "provider": "ollama",
        "remote": {
          "baseUrl": "http://192.168.153.130:18807"
        },
        "model": "nomic-embed-text",
        "sync": {
          "onSessionStart": true,
          "onSearch": true,
          "intervalMinutes": 30
        },
        "query": {
          "hybrid": {
            "enabled": true,
            "vectorWeight": 0.7,
            "textWeight": 0.3,
            "candidateMultiplier": 4,
            "mmr": {
              "enabled": true,
              "lambda": 0.7
            },
            "temporalDecay": {
              "enabled": true,
              "halfLifeDays": 30
            }
          }
        }
      },
      "maxConcurrent": 4,
      "subagents": {
        "maxConcurrent": 8
      },
      "contextPruning": {
        "mode": "cache-ttl",
        "ttl": "1h"
      },
      "heartbeat": {
        "every": "1h"
      },
      "compaction": {
        "mode": "safeguard"
      }
    },
    "list": [
      {
        "id": "automation",
        "name": "Automation",
        "model": {
          "primary": "local/gemma-4-26b-local",
          "fallbacks": [
            "openai-codex/gpt-5.4-mini",
            "zai/glm-4.7-flash"
          ]
        }
      },
      {
        "id": "main",
        "default": true,
        "name": "Main",
        "model": {
          "primary": "openai-codex/gpt-5.5",
          "fallbacks": []
        },
        "subagents": {
          "allowAgents": [
            "council-pragmatist",
            "council-visionary",
            "council-skeptic",
            "council-referee",
            "council-d-freethinker",
            "council-d-arbiter",
            "council-p-freethinker",
            "council-p-arbiter",
            "council-meta-arbiter",
            "coding-glm51"
          ]
        }
      },
      {
        "id": "council-pragmatist",
        "name": "Council Pragmatist",
        "model": {
          "primary": "anthropic/claude-sonnet-4-6",
          "fallbacks": [
            "zai/glm-4.7"
          ]
        },
        "skills": [
          "council"
        ],
        "memorySearch": {
          "enabled": false
        },
        "identity": {
          "name": "Pragmatist",
          "theme": "feasibility-first advisor",
          "emoji": "🛠️"
        }
      },
      {
        "id": "council-visionary",
        "name": "Council Visionary",
        "model": {
          "primary": "anthropic/claude-sonnet-4-6",
          "fallbacks": [
            "zai/glm-4.7"
          ]
        },
        "skills": [
          "council"
        ],
        "memorySearch": {
          "enabled": false
        },
        "identity": {
          "name": "Visionary",
          "theme": "future-oriented advisor",
          "emoji": "🚀"
        }
      },
      {
        "id": "council-skeptic",
        "name": "Council Skeptic",
        "model": {
          "primary": "anthropic/claude-sonnet-4-6",
          "fallbacks": [
            "zai/glm-4.7"
          ]
        },
        "skills": [
          "council"
        ],
        "memorySearch": {
          "enabled": false
        },
        "identity": {
          "name": "Skeptic",
          "theme": "risk-focused advisor",
          "emoji": "🧪"
        }
      },
      {
        "id": "council-referee",
        "name": "Council Referee",
        "model": {
          "primary": "anthropic/claude-opus-4-6",
          "fallbacks": [
            "openai-codex/gpt-5.4"
          ]
        },
        "skills": [
          "council"
        ],
        "memorySearch": {
          "enabled": false
        },
        "identity": {
          "name": "Referee",
          "theme": "balanced synthesis advisor",
          "emoji": "⚖️"
        }
      },
      {
        "id": "council-d-freethinker",
        "name": "Council D-Freethinker",
        "model": {
          "primary": "anthropic/claude-sonnet-4-6",
          "fallbacks": [
            "zai/glm-4.7"
          ]
        },
        "skills": [
          "council"
        ],
        "memorySearch": {
          "enabled": false
        },
        "identity": {
          "name": "D-Freethinker",
          "theme": "deterministic, reliable-path advisor",
          "emoji": "📐"
        }
      },
      {
        "id": "council-d-arbiter",
        "name": "Council D-Arbiter",
        "model": {
          "primary": "github-copilot/claude-opus-4.6",
          "fallbacks": [
            "openai-codex/gpt-5.4",
            "zai/glm-5.1"
          ]
        },
        "skills": [
          "council"
        ],
        "memorySearch": {
          "enabled": false
        },
        "identity": {
          "name": "D-Arbiter",
          "theme": "deterministic evaluator",
          "emoji": "📋"
        }
      },
      {
        "id": "council-p-freethinker",
        "name": "Council P-Freethinker",
        "model": {
          "primary": "anthropic/claude-sonnet-4-6",
          "fallbacks": [
            "zai/glm-4.7"
          ]
        },
        "skills": [
          "council"
        ],
        "memorySearch": {
          "enabled": false
        },
        "identity": {
          "name": "P-Freethinker",
          "theme": "probabilistic reframing advisor",
          "emoji": "🪄"
        }
      },
      {
        "id": "council-p-arbiter",
        "name": "Council P-Arbiter",
        "model": {
          "primary": "github-copilot/claude-opus-4.6",
          "fallbacks": [
            "openai-codex/gpt-5.4",
            "zai/glm-5.1"
          ]
        },
        "skills": [
          "council"
        ],
        "memorySearch": {
          "enabled": false
        },
        "identity": {
          "name": "P-Arbiter",
          "theme": "probabilistic evaluator",
          "emoji": "🎯"
        }
      },
      {
        "id": "council-meta-arbiter",
        "name": "Council Meta-Arbiter",
        "model": {
          "primary": "anthropic/claude-opus-4-6",
          "fallbacks": [
            "openai-codex/gpt-5.4"
          ]
        },
        "skills": [
          "council"
        ],
        "memorySearch": {
          "enabled": false
        },
        "identity": {
          "name": "Meta-Arbiter",
          "theme": "cross-group synthesis advisor",
          "emoji": "🧭"
        }
      },
      {
        "id": "coding-glm51",
        "name": "Coding GLM 5.1",
        "model": {
          "primary": "zai/glm-5.1",
          "fallbacks": [
            "zai/glm-5",
            "openai-codex/gpt-5.4-mini"
          ]
        },
        "identity": {
          "name": "Coding GLM 5.1",
          "theme": "cost-efficient coding subagent",
          "emoji": "🧰"
        }
      }
    ]
  },
  "tools": {
    "web": {
      "search": {
        "enabled": true,
        "provider": "brave"
      },
      "fetch": {
        "enabled": true,
        "maxChars": 12000,
        "timeoutSeconds": 20
      }
    }
  },
  "messages": {
    "tts": {
      "auto": "off",
      "provider": "openai",
      "providers": {
        "microsoft": {
          "enabled": false,
          "voice": "en-US-GuyNeural",
          "lang": "en-US",
          "outputFormat": "audio-24khz-48kbitrate-mono-mp3"
        },
        "openai": {
          "apiKey": "not-needed",
          "baseUrl": "http://192.168.153.130:18805/v1",
          "model": "kokoro",
          "voice": "af_heart"
        }
      }
    },
    "groupChat": {
      "visibleReplies": "automatic"
    }
  },
  "commands": {
    "native": "auto",
    "nativeSkills": "auto",
    "restart": true,
    "ownerDisplay": "raw"
  },
  "session": {
    "dmScope": "per-channel-peer",
    "maintenance": {
      "mode": "warn",
      "pruneAfter": "30d",
      "maxEntries": 500
    }
  },
  "hooks": {
    "internal": {
      "enabled": true,
      "entries": {
        "boot-md": {
          "enabled": false
        }
      }
    }
  },
  "channels": {
    "telegram": {
      "enabled": true,
      "dmPolicy": "allowlist",
      "botToken": "8792219052:AAEoMdIf3S-cnuMHU0uZ_cI32mBzRCenInY",
      "groups": {
        "-1003673132186": {
          "requireMention": false,
          "groupPolicy": "open",
          "enabled": true
        },
        "-5138922002": {
          "requireMention": false,
          "groupPolicy": "open",
          "enabled": true
        },
        "-1003740838057": {
          "requireMention": false,
          "groupPolicy": "open",
          "enabled": true
        },
        "-1003532542431": {
          "requireMention": false,
          "groupPolicy": "open",
          "enabled": true
        }
      },
      "allowFrom": [
        "8367012007"
      ],
      "groupAllowFrom": [
        "8367012007"
      ],
      "groupPolicy": "allowlist",
      "streaming": {
        "mode": "partial"
      },
      "network": {
        "autoSelectFamily": false,
        "dnsResultOrder": "ipv4first"
      },
      "commands": {
        "native": false
      }
    },
    "discord": {
      "enabled": true,
      "token": "MTQ4NDcwODE3NTIxODM0ODExMg.Gx1Nb3.QzPH-unXJ-pU18tG7H8zcQ7umUj1YBGqtYxUCE",
      "groupPolicy": "allowlist",
      "streaming": {
        "mode": "partial"
      },
      "threadBindings": {
        "enabled": true,
        "spawnSubagentSessions": true,
        "spawnAcpSessions": true
      },
      "dmPolicy": "pairing",
      "guilds": {
        "425781660781641729": {
          "requireMention": false,
          "users": [
            "425208577846935553"
          ]
        }
      },
      "allowFrom": [
        "425208577846935553"
      ],
      "commands": {
        "native": false
      }
    }
  },
  "gateway": {
    "mode": "local",
    "controlUi": {
      "allowedOrigins": [
        "https://zap.taildb3494.ts.net"
      ]
    },
    "auth": {
      "mode": "token",
      "token": "c8af3bcd8883e2c626999bd3ca46f7abb8df3258f07f85e2"
    }
  },
  "plugins": {
    "entries": {
      "discord": {
        "enabled": true,
        "config": {}
      },
      "brave": {
        "enabled": false,
        "config": {
          "webSearch": {
            "apiKey": "BSAgLuWVVMnrGvobOt7pDQjmVJ5u380"
          }
        }
      },
      "github-copilot": {
        "enabled": false
      },
      "zai": {
        "enabled": false
      },
      "openai": {
        "enabled": true
      },
      "anthropic": {
        "enabled": false
      },
      "memory-core": {
        "config": {
          "dreaming": {
            "enabled": true
          }
        },
        "enabled": false
      }
    },
    "allow": [
      "discord",
      "telegram",
      "openai"
    ],
    "slots": {
      "memory": "none"
    }
  },
  "ui": {
    "assistant": {
      "name": "zap",
      "avatar": "http://192.168.153.253:9000/zap/avatars/zap-logo.jpg"
    }
  }
}
