This repository was archived by the owner on May 20, 2026. It is now read-only.
Add partner agent configuration option with agent_id wiring to jobs API - #2741
Closed
joshspicer with Copilot wants to merge 6 commits into
Closed
Add partner agent configuration option with agent_id wiring to jobs API#2741joshspicer with Copilot wants to merge 6 commits into
joshspicer with Copilot wants to merge 6 commits into
Conversation
Co-authored-by: joshspicer <23246594+joshspicer@users.noreply.github.com>
Co-authored-by: joshspicer <23246594+joshspicer@users.noreply.github.com>
Co-authored-by: joshspicer <23246594+joshspicer@users.noreply.github.com>
Co-authored-by: joshspicer <23246594+joshspicer@users.noreply.github.com>
Co-authored-by: joshspicer <23246594+joshspicer@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add partner agent option for session creation
Add partner agent configuration option with agent_id wiring to jobs API
Jan 8, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a new
github.copilot.chat.cloudAgent.partnerAgentsetting that allows selecting between different agents for cloud agent sessions. The selected agent is sent asagent_idin the jobs API payload when creating sessions.Changes
Configuration
partnerAgentenum setting with options:__default_agent_copilot(default) andClaudeagent_id: 2246796, default agent sends no agent_idAPI Interface
agent_id?: numberfield toRemoteAgentJobPayloadImplementation
CLAUDE_AGENT_IDconstant (2246796)getPartnerAgentId()method that reads VS Code configuration and returns mapped agent_idinvokeRemoteAgent()to conditionally includeagent_idin payload usingagentId !== undefinedcheck (handles 0 as valid value)Testing
agent_id: 0Example
Original prompt
Created from VS Code.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.