# Container Use for Locally Sandboxed, Background Agents in Zed

DevFeed: [Container Use for Locally Sandboxed, Background Agents in Zed](<https://devfeed.tech/articles/container-use-for-locally-sandboxed-background-agents-in-zed-13446.md>)

Original publisher: [Read original article](<https://zed.dev/blog/container-use-background-agents>)

Author: Jeremy Adams

Published: 2025-07-30T00:00:00Z

Content type: tutorial

Language: en

Sources: [Zed Industries - Blog](<https://devfeed.tech/sources/zed-industries-blog.md>)

Topics: [Containers](<https://devfeed.tech/topics/containers.md>), [AI-assisted coding](<https://devfeed.tech/topics/ai-assisted-coding.md>), [Git](<https://devfeed.tech/topics/git.md>), [Command-line interface](<https://devfeed.tech/topics/cli.md>), [MCP](<https://devfeed.tech/topics/mcp.md>), [Dagger](<https://devfeed.tech/topics/dagger.md>)

Tags: [agents](<https://devfeed.tech/tags/agents.md>), [ai-coding-agents](<https://devfeed.tech/tags/ai-coding-agents.md>), [cli](<https://devfeed.tech/tags/cli.md>), [container](<https://devfeed.tech/tags/container.md>), [dagger](<https://devfeed.tech/tags/dagger.md>), [git](<https://devfeed.tech/tags/git.md>), [mcp](<https://devfeed.tech/tags/mcp.md>)

## AI overview

This article explains how to use Zed with Container Use to run background coding agents in isolated containerized environments while maintaining parallel Git worktrees. It describes using MCP, Dagger containers, and CLI commands to manage and inspect agent environments.

## Source excerpt

Run AI agents in parallel without interference using containerized environments and Git Worktrees.