Switch a Worker Agent's LLM model via agt CLI. Use when the human admin requests changing a Worker's model.
71
86%
Does it follow best practices?
Run evals on this skill
Adds up to 20 points to the overall score
View guide
Passed
No findings from the security scan
Switch a Worker's LLM model using the agt CLI. The controller handles all details: model parameter resolution, openclaw.json generation, storage push, and container recreation.
agt update worker --name <WORKER_NAME> --model <MODEL_ID>Examples:
agt update worker --name alice --model claude-sonnet-4-6
agt update worker --name alice --model deepseek-chatThe controller automatically:
spec.modelopenclaw.json and pushes it to storageYou do NOT need to specify context window, reasoning, or any model parameters — the controller knows them.
The CLI prints worker/<name> configured. The controller reconciles the change automatically. No manual restart is needed.
Report the CLI error output to the human admin. Common causes:
If the admin requests a model not in the controller's built-in registry, the controller uses safe defaults (contextWindow=150000, maxTokens=128000, reasoning=true, input=["text"]). If the admin needs specific parameters for an unknown model, they should update the controller's model registry rather than overriding at the skill level.
785c2db
If you maintain this skill, you can claim it as your own. Once claimed, you can manage eval scenarios, bundle related skills, attach documentation or rules, and ensure cross-agent compatibility.