Isolation, file ownership and cleanup: the boring half of running coding agents in parallel on Windows Alex Shev's comment inspired a NestMux developer to detail the practical challenges of running coding agents in parallel on Windows, focusing on isolation, file ownership, and cleanup. The post explains how to properly redirect home directories for separate agent accounts, the pitfalls of hardlinks versus symlinks for shared configs, and why git worktree removal fails with misleading permission errors on Windows. The developer shares specific commands and code snippets to address these issues. Someone left a comment on my last post that was a better outline than the post was: Parallel agents are only practical when the workspace boundaries are boring and explicit. On Windows especially, I would care less about the launch trick and more about isolation, logs, file ownership, and cleanup after failed runs. That is Alex Shev, and he is right. Four agents in a pane grid is the screenshot. The four things he listed are what decide whether you are still using the setup in a month. I work on NestMux, so I have a stake in this. Most of what is below is plain Windows and plain git, and the commands run the same whether or not you use it. Where I describe a decision we made, I say so, and I say where it still falls short. Two agents running under the same Windows account share ~/.claude , ~/.codex , ~/.gemini . Same config, and more importantly the same authenticated session. If you want two Claude accounts side by side, they need separate home directories. On Windows, HOME is not the variable that gets you there. It is a POSIX convention that some tools honor and Windows itself does not. Set only HOME and you get a half-redirected agent: the CLI writes its config to the new location while git writes .gitconfig to the old one, and you will not notice until two panes start sharing a git identity. What you actually need per process: HOME =