{"slug": "the-first-thing-i-set-up-before-any-ai-coding-agent", "title": "The First Thing I Set Up Before Any AI Coding Agent", "summary": "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.", "body_md": "Before I let any AI coding agent touch my machine, I do one thing: give it its own drive letter.\n\n## \n  The 5-minute setup\n\n1. Create a folder for the agent workspace\n2. Map it to a drive letter\n3. Point the agent at that drive\n4. Start working\n\n## \n  Tools\n\n- Local folder mapping: subst.scsoi.com\n- WebDAV/cloud mapping: drive.scsoi.com\n\n## \n  Why first?\n\nBecause the first time an agent runs `rm -rf`, you want it to be confined to its own drive, not your home folder.\n\nSet up the sandbox before you set up the agent.", "url": "https://wpnews.pro/news/the-first-thing-i-set-up-before-any-ai-coding-agent", "canonical_source": "https://dev.to/scsoi/the-first-thing-i-set-up-before-any-ai-coding-agent-4i19", "published_at": "2026-10-24 08:39:01+00:00", "updated_at": "2026-10-24 08:44:00.143316+00:00", "lang": "en", "topics": ["ai-agents", "ai-tools", "ai-safety"], "entities": [], "also_reported_by": [], "alternates": {"html": "https://wpnews.pro/news/the-first-thing-i-set-up-before-any-ai-coding-agent", "markdown": "https://wpnews.pro/news/the-first-thing-i-set-up-before-any-ai-coding-agent.md", "text": "https://wpnews.pro/news/the-first-thing-i-set-up-before-any-ai-coding-agent.txt", "jsonld": "https://wpnews.pro/news/the-first-thing-i-set-up-before-any-ai-coding-agent.jsonld"}}