{"slug": "vs-code-1-129-agent-host-turns-ai-into-a-background-service", "title": "VS Code 1.129: Agent Host Turns AI Into a Background Service", "summary": "Microsoft released VS Code 1.129 on July 15, introducing the Agent Host that runs AI coding agents as isolated background processes, preventing editor freezes and enabling persistent multi-window sessions. The update also includes multi-agent delegation, a redesigned Agents window, and an open Agent Host Protocol for other editors to adopt.", "body_md": "VS Code 1.129, released July 15, makes a change that sounds small but isn’t: AI coding agents now run in their own dedicated process. Your Claude Code session, your Copilot conversation, your Codex workflow — all of it moves out of the main editor thread and into an isolated background service. Close a window, reopen it: the session is still there. Open a second window and attach it to the same session. One session, two views. This is the Agent Host, and it’s the most significant rearchitecting of how VS Code handles AI since multi-chat landed in 1.128.\n\n## Why Running Agents as Processes Matters\n\nBefore 1.129, agent sessions were embedded in the VS Code UI process. That created two problems developers hit regularly: a stuck or misbehaving agent could freeze the entire editor, and closing a window meant losing your session context entirely.\n\nThe Agent Host solves both. Agents now run in a dedicated background process, isolated from the editor. A hung model can’t take down your IDE. And because the session lives outside any single window, it persists across reloads and can be connected to from multiple places at once.\n\nEnable it with a single setting:\n\n```\n// settings.json\n{\n  \"chat.agentHost.enabled\": true\n}\n```\n\nThis is opt-in for now. Microsoft acknowledges the architecture is still maturing — a 1.129.1 patch shipped two days later on July 17 to fix regressions in voice answers and tab decorations. Enable it, but expect a rough edge or two.\n\n## Multi-Window Sessions Are the Headline\n\nThe practical upside of process isolation is that the same agent session can attach to multiple VS Code windows simultaneously. Open your main editor in one window. Open the standalone Agents window in another. Both show the same live session — same conversation, same context, same state. You can drive code review from one window while watching the agent work in another.\n\nThis is built on the [Agent Host Protocol (AHP)](https://github.com/microsoft/agent-host-protocol), an open specification Microsoft published alongside this release. AHP defines how a standalone session server communicates with multiple clients, using immutable state and write-ahead reconciliation to keep views synchronized. The [spec and SDKs](https://microsoft.github.io/agent-host-protocol/) are public and available for other editors to implement — quietly significant. If VS Code gets this right, AHP could become the standard for how IDEs integrate AI agents, the same way LSP became the standard for language features.\n\n## Agents Can Now Delegate to Other Agents\n\nThe session management tools added to the Agent Host are worth reading carefully. Agents running on the host can now enumerate other sessions, read their conversation history, create new sessions for task delegation, and send them messages — with a confirmation gate to prevent runaway automation.\n\nThis isn’t just a quality-of-life improvement. It’s the foundation for multi-agent workflows inside the IDE: one agent orchestrating another for parallel subtasks, handing off context, synthesizing results. The confirmation requirement keeps it from going fully autonomous, but the infrastructure is now there.\n\n## The Redesigned Agents Window\n\nThe Agents window gets a new experimental editor panel that brings chat and code review into one docked pane with a shared tab bar. No more jumping between a floating diff viewer and the chat. Files and diffs open inline, next to the conversation. Toggle inline or side-by-side diffs without leaving the panel. Session state — panel width, open editors, collapsed files — persists across reloads.\n\nEnable it with:\n\n```\n{\n  \"sessions.layout.singlePaneDetailPanel\": true\n}\n```\n\nAlso new: prefix any chat message with `!`\n\nto run it directly as a terminal command. Small addition, real daily-driver value — one less context switch when you need to run a quick command mid-conversation.\n\n## Enterprise Auth and BYOK\n\nGitHub Enterprise users can finally authenticate Copilot in VS Code. Previously, OAuth flows only worked with github.com accounts; if your Copilot subscription ran through a GHE instance, you were blocked. That’s fixed. OAuth and token requests now route through the specified enterprise host.\n\nBring-Your-Own-Key models also work in the Copilot harness now, and there’s a migration helper for legacy `.prompt.md`\n\nfiles to convert them to the skills format for cross-harness compatibility.\n\n## The Direction Is Right\n\nTreating AI agents as background services rather than UI plugins is how this should have worked from the beginning. Cursor figured this out early; VS Code is catching up — but doing it with an open protocol rather than a proprietary one. If AHP gets traction, the fragmentation between AI coding tools gets meaningfully smaller.\n\nThe 1.129.1 quick patch is a mild yellow flag on stability, but the architecture holds up. Turn on `chat.agentHost.enabled`\n\n, check the [official release notes](https://code.visualstudio.com/updates/v1_129) for the full change list, and start using multi-window sessions. The rough edges are worth tolerating for what you get in return.", "url": "https://wpnews.pro/news/vs-code-1-129-agent-host-turns-ai-into-a-background-service", "canonical_source": "https://byteiota.com/vs-code-1-129-agent-host-turns-ai-into-a-background-service/", "published_at": "2026-07-18 23:11:57+00:00", "updated_at": "2026-07-18 23:29:53.925394+00:00", "lang": "en", "topics": ["developer-tools", "ai-agents", "ai-infrastructure", "ai-products"], "entities": ["Microsoft", "VS Code", "GitHub", "Agent Host", "Agent Host Protocol", "Claude Code", "Copilot", "Codex"], "alternates": {"html": "https://wpnews.pro/news/vs-code-1-129-agent-host-turns-ai-into-a-background-service", "markdown": "https://wpnews.pro/news/vs-code-1-129-agent-host-turns-ai-into-a-background-service.md", "text": "https://wpnews.pro/news/vs-code-1-129-agent-host-turns-ai-into-a-background-service.txt", "jsonld": "https://wpnews.pro/news/vs-code-1-129-agent-host-turns-ai-into-a-background-service.jsonld"}}