Background agents
Kick off long-running tasks and keep coding while they work.
Some tasks are too big to babysit: a dependency upgrade across forty files, a test suite for a legacy module, a mechanical refactor. Background agents take these off your hands — start one, keep coding, and review the diff when it is ready.
Starting a background run
From the agent panel, choose “Run in background” instead of “Run”. The agent works on an isolated snapshot of your repository, so its edits never collide with yours, even in the same files. You can run several background agents at once on independent tasks.
Progress lives in the runs sidebar: current step, files touched so far, and test results. A notification fires when the diff is ready for review.
Merging results
Because the agent worked on a snapshot, Arshas rebases its diff onto your current state before review. Genuine conflicts with your local edits are flagged as such in the review, and only conflict-free hunks can be applied blind.
Background runs pair well with the end of the day: queue up the tedious task at five, review a finished diff in the morning.