In this quickstart, you’ll install Container Use, connect it to your coding agent, and experience the core workflow: agents work in isolated environments while your files stay untouched, then review and decide what to do with their work.
1. Install Container Use
Make sure you have Docker and Git installed before starting.
2. Point your agent at Container Use
Container Use works with any MCP-compatible agent: Just add container-use stdio as an MCP server. This example uses Claude Code but you can view instructions for other agents.
Add Agent Rules (Optional)
Save CLAUDE.md file at the root of your repository: Trust Only Container Use Tools (Optional)
For maximum security, restrict Claude Code to only use Container Use tools:
3. Run your first parallel task
Let’s create a demo repository and ask your agent to build something:
Now prompt your agent to do something:
After a short run you’ll see something like:
Replace {id} with your actual environment ID like fancy-mallard
Notice your local directory is still empty, because the agent worked in an isolated environment:
You can see all environments with container-use list.
4. Review the work
See what the agent changed:
Check out the environment locally to explore:
5. Accept or discard
Accept the work and keep the agent’s commit history:
Or stage the changes to create your own commit:
🎉 That’s it – you’ve run an agent in parallel, checked its work, and decided what to do with it.