-
Notifications
You must be signed in to change notification settings - Fork 39k
Background Agents powered by Copilot CLI is a confusing design decision #283633
Description
@rebornix asked me to write something up here because I have a real use case that is pained by the current design of Background Agents.
Myself and others on the team use the following Custom Agent
which does a great job at answering questions backed by VS Code telemetry data. The goal of this custom agent is to allow me to not think about Kusto syntax, and just let the model be my query machine.
It has brought data into the inner loop of my development since natural language is so much easier than Kusto queries.
Importantly, I don’t care to watch it work ... I just care about the result. Take my question, run along and query kusto, and come back with a data-backed answer. The impression I get from “Background Agents in VS Code” would be that they are the perfect solution to this, but due to the architecture, they don’t work at all.
Why?
- This custom agent depends on Azure MCP Server, which is an Extension contributed MCP Server
- When a user doesn't have that extension installed, we use the vscode
extensionstool to show the extension that the user needs to install
These are the examples as to why this particular scenario doesn't work in Background Agents
What I really want
I want VS Code Agent-powered Background Agents. I want everything to work as it does in the "local" case, but in the background... perhaps with the ability to either run it in the current workspace or in a worktree.
The fact that Background Agents & Local Agents, both running on the same machine where VS Code is installed, can't behave the same way makes me so confused by this experience and the platform we are building... A lot of work is being put into Background Agents and me not being able to take advantage of this VS Code feature because I'm using a VS Code feature that doesn't mix with it is disappointing.
At the very least
I would feel way better about this if we were upfront of this being powered by Copilot CLI. I might not have the same expectations as I do.
Current workaround
Don't use Background Agents and instead rely on "background session" behavior where I ask a question and then hit new chat.