Agent Configuration in OpenClaw
From the OpenClaw cheat sheet · Agents & Models · verified Nov 2026
Agent Configuration
Set the default model, aliases, and fallbacks
json5
# Set up a provider and pick models interactively
openclaw configure --section model
# Default model (provider/model)
openclaw models set anthropic/claude-sonnet-4-6
openclaw models set openai/gpt-5.4
openclaw models set ollama/gemma4
# What is configured and signed in
openclaw models list
openclaw models status💡 Model refs are provider/model. A bare name such as "sonnet" only works if you created that alias yourself
⚡ A new default applies to new and unpinned sessions on their next run; nothing has to be cleared
📌 There is no agents.defaults.instructions key, and an unknown key stops the Gateway from starting. Standing instructions go in AGENTS.md and SOUL.md
🟢 agents.defaults.models is a protected map, so add entries with --merge to keep the ones already there
Continue with OpenClaw
Save the full cheat sheet or work through every related task.