Background Agents are designed for real-world dev velocity: you keep momentum on your current task while AI handles refactors, test generation, migrations, and bug fixes in parallel.
Isolated Git Worktrees
Each job runs in its own branch and filesystem context, so edits never interfere with what you are actively writing.
Autonomous Task Execution
Agents can inspect files, update code across modules, run scripts, and iterate until acceptance criteria are met.
Built-in Verification
Agents run test and build commands in their branch and include output notes with the final diff to speed up review.
Parallel Multi-Agent Runs
For larger initiatives, split work into multiple agents targeting separate domains and merge outcomes progressively.
Typical workflow
- Open Agent Chat and describe the task with clear expected outputs.
- Select `Background` execution mode.
- Continue your primary work while the agent runs in parallel.
- Review the generated diff and test results, then merge.
Best for: refactors, repetitive updates, dependency migrations, and broad test scaffolding.