Skip to content
Putting technology to work.
Insights to guide decisions and action.

Search articles

VS Code “Agent Window” Preview — Architecture for Operating Multi-Agent Parallel Development in Client Projects in 2026

Table of contents · 9 items

In May 2026, Publickey reported VS Code Previews "Agent window," a New Feature Simplifying Development with Multiple AI Agents. This is a new development paradigm where multiple AI agent sessions run simultaneously inside a single editor window, each maintaining an independent workspace, context, and execution history.

In our custom development work, running "refactoring agents," "test-addition agents," and "documentation-generation agents" in parallel across separate windows was already becoming standard practice. Agent window officially supports this "multi-agent parallel development" as a standard UI. As an extension of the themes in VS Code 1.118 and Copilot CLI Remote Control — Guidelines for Bringing Copilot into Custom Engagements, this introduces a new challenge: "governing multiple agents in custom development."

Why "parallel execution of multiple agents" will become the standard

BottleneckSingle agentMultiple agents in parallel
Task dependency waitingSequential 30-minute wait5 minutes in parallel
Context pollutionHeavy task volume in 1 sessionSeparated by concern
Review granularityMassive diffSmall diffs per task
Impact of failureRedo all tasksFailed agent only
Model selectionFixed to 1 modelOptimal model per task

In particular, "context pollution" was the primary cause of quality degradation in long sessions. By isolating independent contexts per task with Agent window, achieving both quality and speed becomes practical for the first time.

Four design principles for running multiple agents in parallel in custom development

Principle 1: Explicitly define workspace boundaries

While Agent window can execute in parallel across different branches or worktrees of the same repository, accidents where agents "modify the same file simultaneously" become more likely. In custom development, we define a task × file ownership matrix in advance to physically prevent conflicts. This extends to multi-agent support the "agent operational conventions" covered in Claude Code Client Convention Extraction Services.

Principle 2: Assign "roles and restrictions" to each agent

AgentRoleRestrictions
Refactor AgentRefactoringModifying external API calls
Test AgentAdding / modifying testsAltering production code
Docs AgentUpdating comments and READMEsChanging code logic
Review AgentPR review assistanceDirect commits

Overlapping roles or omitted restrictions cause incidents where "everyone does the same thing." We explicitly define roles in CLAUDE.md / AGENTS.md and have agents automatically load them at launch. This is an application of AI Coding Convention Extraction Client Projects.

Principle 3: Concurrency limits and approval gates

Running 5 or more agents in parallel rapidly accelerates model API rate limits and quota consumption. In custom development contracts, we agree on numerical thresholds for "maximum concurrency N" and "nightly batch concurrency limits." This aligns with the philosophy of Claude Code Auto Mode Approval Gate Client Engagements.

Principle 4: Persisting execution logs for each agent on a "per-session basis"

For each Agent window session, we store execution logs of "what prompt made what change" in persistent storage. This serves as an audit foundation for tracing "why this change was introduced" later.

Four phases to build in custom development

Phase 1: Evaluating the multi-agent foundation (2 weeks)

We conduct hands-on testing of the Agent window preview and take an inventory of parallelizable tasks in existing client projects. We clearly distinguish between tasks accelerated by parallelization and tasks safer left sequential.

Phase 2: Role design and guardrail implementation (3 weeks)

We define 4 to 6 agent roles in AGENTS.md / CLAUDE.md and implement guards in CI that reject changes exceeding those roles.

Phase 3: Shadow parallel operations (4 weeks)

We run 2 to 3 types of agents in parallel on existing projects and measure execution logs, review times, and the presence of production incidents.

Phase 4: Production release and contract renegotiation (3 weeks)

We add clauses for "parallel multi-agent operation" to custom development contracts, agreeing with clients on audit log retention periods, concurrency limits, and billing apportionment.

Standard technology stack set for custom development

LayerRecommended technologyAlternative
EditorVS Code Agent windowCursor Composer 2
ModelClaude Sonnet 4.6 / GPT-5.4 miniCodex / Gemini
Role definitionAGENTS.md + CLAUDE.mdRepository Wiki
Concurrency controlGit worktree + branch isolationDevcontainers
Log aggregationOpenTelemetry + S3Langfuse
CI guardGitHub Actions + danger.jsreviewdog
Approval UISlack Block KitLinear / Jira

The number of competing editors supporting multi-agent setups is growing, such as Cursor Composer 2 and Zed 1.0 — Onboarding Custom Development Teams to AI Editors. In custom development, the key is to design "editor-agnostic" guardrails.

Which projects it fits best

Suited projectsBenefit
Migrations involving large-scale refactoring3× to 5× faster through parallelization
Adding tests to legacy codeRapidly adding tests with dedicated agents
Monthly documentation updatesAutomated with Docs Agent
Client engagements advancing multiple PRs concurrentlyEliminates review bottlenecks
Large teams × AI custom developmentRole assignment prevents collisions

Five clauses to include in custom development contracts

ClauseDetailsWhat the client should verify
Concurrency limit for running agentsExplicitly stated up to N in parallelLiability upon exceeding limit
Demarcation of role definition responsibilityDefined by contractor / clientRemedies upon role breach
API billing apportionmentPer agent / per projectMonthly reports
Log retention period90 days / 1 year / 3 yearsAlignment with audit requirements
Immediate shutdown upon runaway behaviorKill switch implementationCommunication channels

Four common pitfalls

Pitfall 1: Making everything parallel actually slows things down

Parallelizing tasks despite underlying dependencies frequently results in resolving merge conflicts taking longer than sequential execution. Select parallel targets only after visualizing dependency graphs in advance.

Pitfall 2: Depleting model API quotas

5 parallel agents running long prompts can trigger incidents where a full day's quota is consumed in the morning. Physically restrict the monthly budget per agent. This is the same issue addressed in GitHub Copilot Pay-as-You-Go Token Governance.

Pitfall 3: Breakdown of code reviews

When a flood of small PRs is generated in parallel, human reviews cannot keep pace. Combine Review Agents with automated merge thresholds so that human reviews focus strictly on critical changes.

Pitfall 4: Scattered logs rendering audits impossible

If Agent window session logs remain strictly local, audit trails vanish when projects conclude. Build in real-time aggregation via OpenTelemetry from day one.

Summary — From "one agent per person" to "N agents per person"

The preview release of the VS Code Agent window marks the turning point where custom development transitions from "one person, one agent" to "one person acting as the command center for N agents." While the speed benefits of parallelization are substantial, failures will cascade unless you design from day one the role definitions, concurrency limits, and log aggregation.

How much to parallelize depends on repository dependency graphs, the staffing available for reviews, and how much audit logging must be retained. For those who want to begin by consulting on Phase 1 of this article—distinguishing which tasks speed up with parallelization and which are safer left sequential on an actual codebase—please share your repository scale and current review structure via our inquiry form.

Sources

Share this articleXFacebook
Kakeru Suzuki

Fascinated by the possibilities of technology, has had a deep interest in programming and digital art since student days

Turn this article's theme into your company's next step

Concrete steps forward for your organization.

We organize your desired architecture, legacy systems, and operational requirements to formulate your next steps toward execution.

  • Desired architecture
  • Integration with existing environments
  • Operational requirements
Consult on development & operations initiatives

You can consult with us from the initial conceptual stage. Details from this article will be carried over to the inquiry form.

Receive the latest articles by email