You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Allow custom subagents defined via CustomAgentConfig to specify their own reasoning effort independent of the orchestrator session's reasoning. The Claude Agent SDK supports this via an effort field on AgentDefinition. copilot-sdk's CustomAgentConfig does not, so reasoning is fixed at session level and applies uniformly to every subagent invocation.
Motivation
Orchestrators often benefit from high or max reasoning for planning and delegation
Many subagent tasks are mechanical execution (validation, extraction, format conversion) and do not benefit from deep reasoning, but today pay its latency and cost
Conversely, security focused or analysis focused subagents may want stronger reasoning than the orchestrator
Without per subagent control, the tallest reasoning setting propagates to every dispatch
Current state
CustomAgentConfig (copilot-sdk types.d.ts, lines 802 to 833) has no reasoningEffort or effort field
Session level reasoningEffort in providerOptions applies to all subagent dispatches in that session
Proposed
Add optional reasoningEffort (or effort) field to CustomAgentConfig
Accept existing values: low | medium | high | xhigh | max, plus numeric for models that support it
Summary
Allow custom subagents defined via
CustomAgentConfigto specify their own reasoning effort independent of the orchestrator session's reasoning. The Claude Agent SDK supports this via aneffortfield onAgentDefinition. copilot-sdk'sCustomAgentConfigdoes not, so reasoning is fixed at session level and applies uniformly to every subagent invocation.Motivation
highormaxreasoning for planning and delegationCurrent state
CustomAgentConfig(copilot-sdktypes.d.ts, lines 802 to 833) has noreasoningEffortoreffortfieldreasoningEffortinproviderOptionsapplies to all subagent dispatches in that sessionProposed
reasoningEffort(oreffort) field toCustomAgentConfiglow | medium | high | xhigh | max, plus numeric for models that support itPrecedent
Claude Agent SDK's
AgentDefinition.effort:https://code.claude.com/docs/en/agent-sdk/subagents
Identical value vocabulary already in use by this SDK.
Related