cd /news/ai-agents/visual-studio-code-1-138-brings-agen… · home topics ai-agents article
[ARTICLE · art-137769] src=infoworld.com ↗ pub= topic=ai-agents verified=true sentiment=↑ positive

Visual Studio Code 1.138 brings agent sessions to Dev Containers

Microsoft released Visual Studio Code 1.380 on September 16, adding agent sessions in Dev Containers, an expanded Codex harness, and preview automatic agent session cleanup. With the chat.agentHost.devContainer setting enabled, local folders with a supported Dev Container configuration automatically show a "Use Dev Container" action, and Dev Containers require Docker to be installed. The update also lets users continue the same Codex session between the ChatGPT app and VS Code, switch between Copilot-backed and ChatGPT-backed models without losing the conversation, and use VS Code extensions and Model Context Protocol (MCP) tools, while agent automations are now enabled by default.

read2 min views2 publishedSep 23, 2026

Visual Studio Code 1.380, the latest update to Microsoft’s open-source code editor, introduces three new features for AI-powered coding: agent sessions in Dev Containers, an expanded Codex harness, and automated cleanup for agent sessions. Session cleanup is a preview feature.

With VS Code 1.380, released September 16, agent sessions now can be run inside a local folder’s Dev Container, where the agent uses the environment and dependencies configured for the project instead of those on the local machine. When the chat.agentHost.devContainer setting is enabled, local folders with a supported Dev Container configuration automatically show a folder menu with a “Use Dev Container” action, Microsoft said. Dev Containers require Docker to be installed on the machine.

VS Code 1.380 also expands Codex support in the agent host. This means users can continue the same Codex session between the ChatGPT app and VS Code instead of starting a new conversation, and they can switch between Copilot-backed and ChatGPT-backed models from VS Code’s model picker without losing the current conversation. If the ChatGPT app is installed and configured for computer use, then the Codex harness in VS Code can reuse that setup to interact with apps on your computer. And Codex can use the full set of tools provided by VS Code including extensions and Model Context Protocol (MCP) tools, according to Microsoft.

And VS Code 1.380 introduces a preview of automatic agent session cleanup. This feature allows developers to get finished work out of the way while preserving the conversation for later, Microsoft said. When all of an inactive session’s pull requests have merged, the Agents window can suggest marking the session as done, and can automatically delete merged sessions after a specified number of days.

Finally, with VS Code 1.380, agent automations are automatically enabled by default. They can also be exported and imported across environments or shared with other users, Microsoft said. Automations run agent tasks from a saved prompt and session configuration, either on demand or on a schedule.

── more in #ai-agents 4 stories · sorted by recency
── more on @microsoft 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/visual-studio-code-1…] indexed:0 read:2min 2026-09-23 ·