Hi Cursor Team,
We are using the Cursor Cloud Agent API to trigger agents programmatically rather than using the Cursor IDE.
We have a specific requirement around model selection. When we create an agent through the Cloud Agent API, we want to explicitly select a model and have that same model consistently used by the subagents spawned by the agent.
Currently, we are seeing that subagents can automatically select their own models, and we don’t have control over that selection. This makes it difficult for us to guarantee consistent model usage across our workflows, especially when we need predictable behavior, performance, and cost.
We understand that the Cursor IDE has model-selection settings, but since we are triggering agents directly through the API, we are not relying on the IDE settings.
Our desired behavior is:
-
We specify a model when creating the Cloud Agent through the API.
-
The main agent uses that selected model.
-
Any subagents spawned by that agent should also use the same model, rather than automatically selecting a different model.
-
Ideally, there should be an API-level option to enforce/inherit the parent agent’s model for all subagents, including built-in subagents such as Explore, Bash, Browser, etc.
For example, if we create an agent with model.id = <selected-model>, we would like all subagent execution to inherit that exact model.
Could you please let us know:
-
Is there currently a supported way to enforce the selected model for all subagents when using the Cloud Agent API?
-
If not, is there an API parameter, configuration, or workaround that can provide this behavior?
-
Is there a plan to expose a setting such as
inherit/forceModelfor built-in subagents in the Cloud Agent API?
This is important for our use case because we need deterministic model selection when triggering Cursor agents programmatically.
Thanks!