Hi, krill-- I'm running a multi-agent, multi-model set up and I"m confused by all the runtimes, harnesses, model prefixes, etc. This is my sanitized openclaw.json.
I want to use OpenAI and Claude MAX OAuth as much as possible. Willing to use API keys for gemini and openrouter. Please look over the openclaw.json and suggest optimizations, fixes and any mismatcahes between runtimes and models.
"agents": {
"defaults": {
"workspace": "/Users/filepath/.openclaw/workspace",
"models": {
"google/gemini-3.1-pro-preview": {},
"google/gemini-flash-latest": {},
"google/gemini-flash-lite-latest": {},
"google/gemini-2.5-flash-lite": {},
"openrouter/x-ai/grok-4.3": {},
"openrouter/z-ai/glm-5.1": {},
"openrouter/moonshotai/kimi-k2.6": {},
"anthropic/claude-opus-4-7": {},
"anthropic/claude-sonnet-4-6": {},
"anthropic/claude-opus-4-6": {},
"anthropic/claude-haiku-4-5": {},
"openai/gpt-5.5": {},
"openai/gpt-5.5-mini": {},
"openai-codex/gpt-5.5": {
"alias": "gpt-5.5-codex"
},
"openai-codex/gpt-5.4-mini": {
"alias": "gpt-5.4-mini-codex"
},
"openrouter/minimax/minimax-m2.7": {},
"openrouter/xiaomi/mimo-v2.5": {},
"openrouter/xiaomi/mimo-v2.5-pro": {}
},
"model": {
"primary": "openai-codex/gpt-5.5",
"fallbacks": [
"openai-codex/gpt-5.4-mini"
]
},
"agentRuntime": {
"id": "auto"
},
"contextInjection": "always",
"bootstrapMaxChars": 20000,
"bootstrapTotalMaxChars": 150000,
"memorySearch": {
"enabled": true,
"sources": [
"memory",
"sessions"
],
},
"list": [
{
"id": "main",
"default": true,
"name": "Desdemona",
"thinkingDefault": "medium",
"agentRuntime": {
"id": "auto"
},
"model": {
"primary": "openai-codex/gpt-5.5",
"fallbacks": [
"google/gemini-3.1-pro-preview",
"openrouter/z-ai/glm-5.1",
"openrouter/x-ai/grok-4.3",
"openrouter/moonshotai/kimi-k2.6"
]
}
},
{
"id": "coder",
"name": "Coder",
"thinkingDefault": "high",
"agentRuntime": {
"id": "codex"
},
"model": {
"primary": "openai/gpt-5.5",
"fallbacks": [
"openai/gpt-5.4-mini",
"openai/gpt-5.5"
]
}
},
{
"id": "researcher",
"name": "Researcher",
"thinkingDefault": "high",
"model": {
"primary": "google/gemini-3.1-pro-preview",
"fallbacks": [
"openai-codex/gpt-5.5",
"openrouter/z-ai/glm-5.1",
"openrouter/x-ai/grok-4.3"
]
},
"agentRuntime": {
"id": "auto"
}
},
{
"id": "maintenance",
"name": "Maintenance",
"thinkingDefault": "off",
"agentRuntime": {
"id": "codex"
},
"model": {
"primary": "openai/gpt-5.4-mini",
"fallbacks": [
"openai/gpt-5.4-nano"
]
}
},
{
"id": "writer",
"name": "Writer",
"thinkingDefault": "high",
"agentRuntime": {
"id": "claude-cli"
},
"model": {
"primary": "anthropic/claude-opus-4-7",
"fallbacks": [
"anthropic/claude-opus-4-6",
"anthropic/claude-sonnet-4-6"
]
}
}
]
},