Is it possible to have agents open PRs with another GitHub account?

Hey, I’d like to have the PRs that my cursor agents open to have an author other than my own GitHub account. Is it possible to set this up? Or do the PRs always get opened by the account that invoked them?

Hi @ThiagoMaia1 how do Agents open PRs now? Is this for Background Agent or within the Cursor app?

I mean Background Agents. For example, the one I can invoke from Slack. They always open as if I am the author

Any Background Agent runs on a temporary virtual machine and only sees info from your repo or as provided by your prompt in Slack.

As you can configure ENV secrets for Background Agents in your Dashboard you could set with which user AI has to use for GH operations, though the actual enforcement would not be strict as you would have to instruct AI with rules.