Skip to main content

AI coding agent with Cursor background agents

Assign tasks to your coding agent using Cursor background agents to quickly create PRs and other code changes

Updated yesterday

The AI coding agent allows you to assign tasks to a dedicated agent that will return work directly in your code repository.

The initial setup can be completed in five minutes or less.

To set up a more traditional AI integration with Cursor via the MCP, see our other article.

Implementation

First, create or use your existing Cursor account, connect GitHub and get background agents set up, and then generate your API token here.

Then visit the Dart agents page and click Add agent -> Cursor, and paste the API key into the box for it. Finally, choose the GitHub repository you would like the agent to work in, and paste the URL into that box.

setting up cursor

Once you've added those details, close the window and you will see your Cursor agent ready for use.

Cursor agent in the list of agents

Now, just assign tasks to your Cursor agent in any dartboard that it has access to and you'll be able to return code automatically!

You can learn more about setting up other AI agents here.

Did this answer your question?