docs/cli/model-steering.md
Model steering lets you provide real-time guidance and feedback to Gemini CLI while it is actively executing a task. This lets you correct course, add missing context, or skip unnecessary steps without having to stop and restart the agent.
<!-- prettier-ignore -->[!NOTE] This is an experimental feature currently under active development and may need to be enabled under
/settings.
Model steering is particularly useful during complex Plan Mode workflows or long-running subagent executions where you want to ensure the agent stays on the right track.
Model steering is an experimental feature and is disabled by default. You can
enable it using the /settings command or by updating your settings.json
file.
/settings in Gemini CLI.Alternatively, add the following to your settings.json:
{
"experimental": {
"modelSteering": true
}
}
When model steering is enabled, Gemini CLI treats any text you type while the agent is working as a steering hint.
Gemini CLI acknowledges your hint with a brief message and injects it directly into the model's context for the very next turn. The model then re-evaluates its current plan and adjusts its actions accordingly.
You can use steering hints to guide the model in several ways:
src/common/utils."User type is defined in packages/core/types.ts."Logger class instead of creating a
new one."When you submit a steering hint, Gemini CLI performs the following actions: