cd /news/ai-agents/the-first-thing-i-set-up-before-any-… · home › topics › ai-agents › article
[ARTICLE · art-156661] src=dev.to ↗ pub= topic=ai-agents verified=true sentiment=· neutral

The First Thing I Set Up Before Any AI Coding Agent

A developer recommends mapping a dedicated folder to its own drive letter before running any AI coding agent, so that destructive commands like `rm -rf` stay confined to an isolated workspace rather than the user's home folder. The setup involves creating an agent workspace folder, mapping it to a drive letter, and pointing the agent at that drive.

read1 min views1 publishedOct 24, 2026
The First Thing I Set Up Before Any AI Coding Agent
Image: Dev.to

Before I let any AI coding agent touch my machine, I do one thing: give it its own drive letter.

#

The 5-minute setup

  1. Create a folder for the agent workspace
  2. Map it to a drive letter
  3. Point the agent at that drive
  4. Start working

#

Tools

- Local folder mapping: subst.scsoi.com
- WebDAV/cloud mapping: drive.scsoi.com

#

Why first?

Because the first time an agent runs rm -rf, you want it to be confined to its own drive, not your home folder.

Set up the sandbox before you set up the agent.

── more in #ai-agents 4 stories · sorted by recency
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/the-first-thing-i-se…] indexed:0 read:1min 2026-10-24 · —