Repository navigation
Description
Feature
Support multi-root workspaces (.code-workspace files containing multiple git repositories) in the Agents App, with change tracking and worktree support across all repos in the workspace.
Problem
VS Code supports multi-root workspaces — a .code-workspace file that groups multiple git repositories together. This is how many teams organize related repos by domain:
// backend.code-workspace
{
"folders": [
{ "path": "./api-service" },
{ "path": "./grpc-service" },
{ "path": "./shared-libs" }
]
}// frontend.code-workspace
{
"folders": [
{ "path": "./web-app" },
{ "path": "./component-library" },
{ "path": "./design-tokens" }
]
}Each folder in the workspace is its own independent git repo. In VS Code (editor), opening a .code-workspace file discovers all repos, shows them in the SCM Repositories view, and Background Agent sessions offer a repository picker with worktree + diff support.
In the Agents App, this doesn't work:
-
No multi-root workspace support — There's no way to open a
.code-workspacefile. You can only open a single folder. -
No cross-repo change tracking — Even if you open a parent folder containing multiple repos, the Changes panel doesn't track changes across the child git repos. Changes are invisible unless you switch to VS Code.
-
No repository picker — When starting a new session, there's no way to select which repo the session should target. The Agents App treats the opened folder as the only context.
-
No worktree support for child repos — Since the workspace concept doesn't carry over, worktree creation only works if you open a single git repo directly — losing the multi-repo context entirely.
Why this matters
The Agents App is ideal for running parallel sessions across related repos — its lightweight, chat-first UX with multiple sessions side by side is exactly what you want when making coordinated changes. But without workspace support, you're forced to either:
- Open each repo in a separate Agents App window (losing the ability to see all sessions together)
- Open a parent folder and lose all git integration (no diffs, no worktrees, no Changes panel)
- Fall back to VS Code editor for anything involving multiple repos
This affects any team that:
- Groups related repos into workspaces by domain (backend, frontend, infra, etc.)
- Makes coordinated changes across services (e.g., API schema change touching 2–3 repos)
- Uses the Agents App for its parallel session workflow
Concrete scenario
I have a workspace grouping backend services:
// platform.code-workspace
{
"folders": [
{ "path": "./service-a" },
{ "path": "./service-b" },
{ "path": "./service-c" }
]
}A task like "add a new field to the API schema" requires changes across service-a (data model), service-b (gRPC definition), and service-c (frontend).
What I want in the Agents App:
- Open
platform.code-workspace - Start Session 1 scoped to
service-a→ worktree created, Changes panel shows the diff - Start Session 2 scoped to
service-b→ separate worktree, separate diff - Start Session 3 scoped to
service-c→ same - See all session changes in one place, merge per-repo
Today none of this works — the Agents App has no concept of a multi-root workspace.
Proposed behavior
- Open
.code-workspacefiles — The Agents App should accept workspace files, same as VS Code - Discover all repos in the workspace — Each folder in the workspace that is a git repo should be recognized
- Repository picker per session — When starting a new session, show a picker: "Which repo should this session target?" (matching VS Code editor's existing multi-repo agent UX from #290547)
- Per-repo worktrees — Create worktrees inside the selected repo, not at the workspace root
- Unified Changes panel — Show changes across all active sessions/repos, grouped by repo
- Repo label in session list — Each session indicates which repo it targets (as in #291141)
Current workarounds
| Workaround | Drawback |
|---|---|
| Open each repo in a separate Agents App window | Loses multi-session overview; can't see all work together |
| Open a parent folder instead of a workspace | No git integration — no diffs, no worktrees, no Changes panel |
| Use VS Code editor instead of Agents App | Loses the focused chat-first UX and parallel session workflow |
Activity
al-k21 commentedon Apr 20, 2026
Hi Ladislau Szomoru (@lszomoru), does this issue align with the intended direction for the Agents App? Also, is there currently a recommended approach for working with workspaces that span multiple Git repositories?
devcatalin commentedon Jun 25, 2026
This is the only thing that blocks me and my team from using the Agents app.
We rely on the multi-root workspace support from VSCode and have been using those together with copilot chat sessions heavily.
nick-acosta commentedon Aug 19, 2026
I would like this thank you. My agent agrees.
sandstrom commentedon Aug 27, 2026
Would the ability to configure worktree location help? My guess is that it would.
See this issue #293884 (and please upvote if you agree with it 😄 )
csalvarado commentedon Oct 20, 2026
Use case from Windows VS Code 1.142.0: I need one persistent Agents Window project containing two folders from different locations, a game repository and a shared platform repository. I need to choose the primary execution root, attach the second folder as persistent context, retain both across chats, and review changes per repository. The current “attach folder as context” flow is useful for one session, but it is not equivalent to a durable multi-root Workspace/Projects model. Please support opening a
.code-workspace, selecting a primary root, and keeping the additional roots available across sessions.JacobPratherNM commentedon Oct 30, 2026
I’d really like to use Agent View more, but without this capability, it’s a pain to move repositories around to give them a shared parent directory.
devtribune commentedon Nov 5, 2026
Ladislau Szomoru (@lszomoru): Is this being worked upon, or any updates as to when we could expect this feature
vs-code-engineering commentedon Nov 7, 2026
This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!
vs-code-engineering commentedon Nov 8, 2026
🙂 This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.
Happy Coding!