VS Code 1.148 Cleans Up After Your AI Agents
VS Code 1.148 adds agent worktree cleanup, experimental Dev Containers for agent sessions, and faster chat starts, all aimed at developers who now manage AI agents.

VS Code 1.148 Cleans Up After Your AI Agents
Microsoft has released Visual Studio Code 1.148 on the Stable channel, and the headline features are all about a problem that did not exist two years ago: developers now run AI agents that create worktrees, spin up sessions, and leave clutter behind. VS Code 1.148 adds agent worktree cleanup, experimental Dev Containers for agent sessions, and faster chat starts, and together they make the editor a better place to manage agents instead of just watching them work.
The shift is real. Coding agents have gone from a demo to a daily workflow, and the tooling is catching up. VS Code is positioning itself as the place where you supervise agents, not just the place where you type code.
Agent worktree cleanup
Worktrees are how agents work on separate tasks without stepping on your code. Each agent gets its own copy of the repository, makes its changes there, and you merge the good ones. The problem is that agents create a lot of worktrees, and nobody deletes them. After a week of agent sessions, your machine is full of stale copies of the same repo.
VS Code 1.148 adds worktree cleanup for agent sessions, which means the editor now helps you find and remove the worktrees you no longer need. It is housekeeping, not a headline feature, but it is the kind of housekeeping that matters when agents are doing a meaningful share of your coding. A cluttered workspace slows you down exactly when the agents are supposed to speed you up.
Dev Containers for agent sessions
The more interesting change is experimental Dev Containers support for agent sessions. Dev Containers let you define a development environment in code, so every developer and every agent works in the same setup. Extending that to agent sessions means an agent can start work in a clean, reproducible container instead of whatever state your laptop happens to be in.
That solves a real problem. Agents fail in confusing ways when the environment is wrong: missing dependencies, wrong versions, tools that work on your machine but not in the agent's session. Containers remove that whole class of failure. They also make it safer to let an agent run commands, because the blast radius is a disposable container rather than your system.
Faster chat starts
The third change is simpler: chat starts faster. That sounds trivial, but when you open a chat session dozens of times a day, startup time is friction, and friction is what makes people stop using a tool. Microsoft has been optimizing the chat experience across releases, and 1.148 continues that work.
The broader picture is that the editor is becoming an agent control room. Vite 8.4 tightened dev server security for the same reason, and Pydantic's Pax terminal agent shows that the agent layer is spreading beyond the IDE. VS Code's bet is that developers will supervise agents from the editor, and every release makes that supervision a little smoother.
The bigger picture
There is a pattern across this month's developer tools. The model layer filled in with GPT-6.2, Gemini 4, and MAI Code 2, and now the tooling layer is absorbing the decisions developers used to make. Copilot Fusion routes between models on its own, Antigravity's Orchestrator pairs a planner with an execution model, and VS Code is building the workspace management that agents need.
For most developers, the practical advice is simple. Update to 1.148, let it clean up your old agent worktrees, and try Dev Containers for your next agent session if you already use them for development. The agent era is not coming. It is already here, and your editor is reorganizing itself around it. Anthropic's move of its Messages API from Python to Rust is another sign of the same shift: the infrastructure underneath AI coding is getting serious, fast.


