Trigger Background Agent Programmatically

It would be great if I could trigger a new Background Agent to run programmatically from an API endpoint.

We have a ton of use cases for this. For example, whenever some leaves a batch of review comments on a PR, it should immediately trigger Cursor to run a new Background Agent to address all of the review comments.

2 Likes