Skip to content

VS Code Copilot SDK doesn't pick up custom agents from Plugins #342085

Open

Agent suggestions

Public preview

Description

Type: Bug

When adding the sample plugin marketplace (https://github.com/tinestaric/plugin-marketplace-sample) through "Chat: Open Customizations" and installing the sample plugin, the hello-agent is visible in the agent picker, but when asking the agent what agents it sees, it only references the ones that are in the repo or user folder, but does not see the plugin agents.

It does see the hello-skill however.

The behavior is the same in the VSC-Agents view as well

doing the same in Copilot CLI results in the agent reporting all available agents. It also works in the Github Copilot App

VS Code version: Code 1.142.0 (6d62b1d, 2026-10-15T03:02:17Z)
OS version: Windows_NT x64 10.0.26200
Modes:

System Info
Item Value
CPUs Intel(R) Core(TM) Ultra 5 125H (18 x 2995)
GPU Status 2d_canvas: enabled
GPU0: VENDOR= 0x8086, DEVICE=0x7d55 [Intel(R) Arc(TM) Graphics], DRIVER_VENDOR=Intel, DRIVER_VERSION=32.0.101.8860 ACTIVE
GPU1: VENDOR= 0x1414, DEVICE=0x008c [Microsoft Basic Render Driver], DRIVER_VERSION=10.0.26100.9278
Machine model name:
Machine model version:
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
trees_in_viz: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgpu: enabled
webnn: disabled_off
Load (avg) undefined
Memory (System) 63.46GB (20.18GB free)
Process Argv --crash-reporter-id b523a491-83ba-4b68-9199-272bf717025e --crash-reporter-id b523a491-83ba-4b68-9199-272bf717025e
Screen Reader yes
VM 0%
Extensions (26)
Name Identifier Author Version
aw-watcher-vscode activitywatch.aw-watcher-vscode activitywatch 0.5.0
CodeSnap adpyke.codesnap adpyke 1.3.4
AZ AL Dev Tools/AL Code Outline andrzejzwierzchowski.al-code-outline andrzejzwierzchowski 18.81.0
Claude Code for VS Code anthropic.claude-code Anthropic 2.1.301
AL CodeActions davidfeldhoff.al-codeactions davidfeldhoff 1.0.37
Git History donjayamanne.githistory donjayamanne 0.6.20
REST Client humao.rest-client humao 0.25.1
NuGet Package Manager jmrog.vscode-nuget-package-manager jmrog 1.1.6
.NET Install Tool ms-dotnettools.vscode-dotnet-runtime ms-dotnettools 3.2.0
AL Language extension for Microsoft Dynamics 365 Business Central ms-dynamics-smb.al ms-dynamics-smb 18.0.2732683
Python ms-python.python ms-python 2026.11.2026101501
PowerShell ms-vscode.powershell ms-vscode 2025.4.0
NAB AL Tools nabsolutions.nab-al-tools nabsolutions 1.48.0
Create GUID nwallace.createguid nwallace 0.0.2
indent-rainbow oderwat.indent-rainbow oderwat 8.3.1
Codex – OpenAI’s coding agent openai.chatgpt openai 26.1007.21434
Codex Audio openai.codex-audio openai 26.1007.21434
XML redhat.vscode-xml redhat 0.29.3
Partial Diff ryu1kn.partial-diff ryu1kn 1.4.6
Error Lens usernamehw.errorlens usernamehw 3.29.0
AL Object ID Ninja vjeko.vjeko-al-objid vjeko 3.4.5
vscode-icons vscode-icons-team.vscode-icons vscode-icons-team 13.0.0
AL Extension Pack waldo.al-extension-pack waldo 1.0.23
waldo's CRS AL Language Extension waldo.crs-al-language-extension waldo 1.5.36
BC Telemetry Buddy waldobc.bc-telemetry-buddy waldoBC 3.4.3
TODO Highlight wayou.vscode-todo-highlight wayou 1.0.5
A/B Experiments
vsliv368:30146709
binariesv615:30325510
nativeloc1:31344060
dwcopilot:31170013
dwoutputs:31242946
copilot_t_ci:31333650
e5gg6876:31282496
pythonrdcb7:31342333
6518g693:31463988
aj953862:31281341
b6b4d950:31327385
envsactivate1:31551504
cloudbuttont:31379625
3efgi100_wstrepl:31403338
ec5jj548:31422691
cp_cls_t_966_ss:31526232
4je02754:31466945
8hhj4413:31478653
cp_cls_c_1081:31454833
conptydll_true:31498968
e9c30283:31461165
c9b86496:31447327
capico_axe_098a3278:31590238
ei9d7968:31496641
chat:31457767
8hig5102:31480529
89g7j272:31518289
2d1bi976:31596492
i2gc6536:31499202
52612955:31516516
ddid_t:31478206
hmra_i5g22:31518061
7df3h592:31512476
cp_cls_t_1082:31535311
608b4df9:31595861
logging_enabled_new:31498466
db5d2638:31499441
jb_cp_cls_t_632:31543129
56dj4588:31512888
32d76977:31512328
ha629193:31508444
a1ije391_t:31540920
jbcp_cls_pctr_t:31531130
cp_intellij_t_nes:31548657
ahp-both-windows:31556933
ihg5j128:31534457
9gg7f176:31542112
enable_editor_pane_layout:31569726
allow-none:31555437
36h42362:31564511
1h923230:31564177
treatment-23-1:31555779
unuse_dynamic_mcp:31555281
0d8dfbc3:31570291
a1hcc538:31559322
maidictation:31565333
0c1h4866:31566224
session-mark-done:31591648
plus-and-new:31594157
multi-root:31593626
5b8j3302:31564601
autotiers:31584978
mangle-name-control:31572633
atk_rai_validation_enable:31598258
allow-signed-out:31592042
80db41fc-e686-49f5-b9db-830fbb843f14:31589249
intellij_nes_preview_t:31580086
multiv2:31574985
links-treatment:31596176
aw-autom-on:31583758
issue9151-7215f35b:31597540
revealsession_control_7ed7e840:31597557
usage_tips_endabled_0911:31587631
7g328426_fixed:31595622
codex-agent-host-stable-editor:31599810
9b7i0944:31600022
skill-budget-30000:31597277
sessioninlinediffenabled_disabled:31587634
intellij_copilot_command_preview_c:31598260
welcomesignin9359c:31590009
e6882f69-f5cc-4f90-9073-69a4ca3e50ea:31589215
ca19f5eb-b04f-4f52-8e6b-9f6927d4e0dc:31589210
5a177259:31599157
i67i8290:31599156
edbgf432:31599155
msft-auth-on:31593345
variation4-capabilities-feedback:31600293
permission_prompt_control:1332567
ccr_pr_nudge_auto_review:1319472
vsc_wsm_c:1340633
cfee5631:1379228
4cj51803:1433348
hdfaf120:1453755
cmc_aa_t:1435711
c_ws_f8jhi663:1455089
h56ae855:1456854
seataa-a98d0257:1447868

Activity

  1. tinestaric commented on Oct 16, 2026

    @tinestaric
    Author

    Additionally, I also see it doesn't pick up either copilot-instructions or claude.md, nor agents.md

    Same behavior also in VSC Insiders 1.143.0-Insiders

    when I look at agent logs, this is what I see when I use the old, local harness:

    Image

    Meanwhile, this is the debug log from the new Copilot Harness

    Image

    It seems several discovery steps are missing...

  2. mpalmerlee commented on Oct 23, 2026

    @mpalmerlee

    I can reproduce this on macOS with VS Code 1.142.0 and Copilot Chat 0.70.0 using a Copilot-format plugin that contains both skills/ and agents/.

    The plugin skill loads successfully in the Copilot SDK Agent Host, and the same plugin agents are discovered and invoked successfully by the Local harness. However, the SDK session does not expose the plugin agents for delegation.

    Local harness

    The Local harness discovers the plugin's custom agents and successfully invokes agents such as:

    • startbuilding-pr-resolve-coordinator
    • startbuilding-pr-resolve-planner

    This confirms that the installed agent files, names, frontmatter, and tool declarations are valid.

    Copilot SDK Agent Host

    The SDK Agent Host successfully loads the plugin skill:

    Skill invoked: pr-resolve (.../startbuilding/.../skills/pr-resolve/SKILL.md)
    

    During initialization, however, the Copilot Chat log repeatedly reports:

    [CopilotCLIAgents] Failed to fetch custom agents: Canceled: Canceled
    

    After reloading VS Code, I observed four canceled custom-agent fetches and no later successful fetch. Plugin synchronization and skill invocation occurred afterward, but the plugin agents remained absent from the SDK delegation schema.

    The resulting behavior is:

    Component Local harness Copilot SDK Agent Host
    Plugin skills Available Available
    Plugin custom agents Available and invocable Missing from delegation
    Built-in agents Available Available

    Reloading the window and opening a new SDK chat reproduces the problem consistently.

    This appears to be a split between skill discovery and custom-agent catalog synchronization in the SDK Agent Host. A canceled custom-agent fetch is not retried after authentication and plugin synchronization complete.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions