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.
Once you've added those details, close the window and you will see your Cursor agent ready for use.
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.