Background agents - cloud or local machine?

Maybe I’m being really dumb, but I sort of just assumed that background agents ran on some Cloud infrastructure, hosted by Cursor.

Which means I could exit Cursor, or turn off my machine, and there would be lovely new Pull Request sitting for me in the morning - is this not the case? Are they actually in the background on my local machine?

I ask as the fans started whirring during a Background Agent task, which got me thinking, perhaps I was wrong.

Hi @mwjt42 you are right that the Background Agent operates on a Cloud server.

In this case its AWS. Note this was mentioned in the Documentation, near the end.

There is however at times a connection to local machine as it needs to update settings, share progress and files with your local system.

I am not aware what happens to the cloud server when you shut down your own machine, but would assume it still continues.

1 Like

Can it also run on my local dev environment? like claude code, because my database is in the hosted behind the web server and no cloud environment can connect it.

nope, you can access it from anywhere now at Cursor - The AI Code Editor, but the background agents will only run in the cloud