Can Cursor Cloud agents be triggered via API? or Jira or slack (automatically)

I would like to auto trigger a Cloud Agent when a bug is detected. Is this possible? I would like the agent to create a new branch and add documentation explaining what it thinks the source of the bug is and what possible fixes are.

is this possible?