Paul Krill
Editor at Large

Visual Studio Code 1.138 brings agent sessions to Dev Containers

news
Sep 22, 20262 mins

The latest update to Microsoft’s code editor also expands Codex support in the agent host and previews automatic cleanup of agent sessions after their pull requests merge.

container orchestration, clusters, clustering, Kubernetes
Credit: NicoElNino/Shutterstock

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.

Paul Krill

Paul Krill is editor at large at InfoWorld. Paul has been covering computer technology as a news and feature reporter for more than 35 years, including 30 years at InfoWorld. He has specialized in coverage of software development tools and technologies since the 1990s, and he continues to lead InfoWorld’s news coverage of software development platforms including Java and .NET and programming languages including JavaScript, TypeScript, PHP, Python, Ruby, Rust, and Go. Long trusted as a reporter who prioritizes accuracy, integrity, and the best interests of readers, Paul is sought out by technology companies and industry organizations who want to reach InfoWorld’s audience of software developers and other information technology professionals. Paul has won a “Best Technology News Coverage” award from IDG.

More from this author