Cursor

Launch and manage Cursor cloud agents to work on GitHub repositories

Cursor is an intelligent cloud-based platform that enables you to launch and manage AI agents capable of collaborating on your GitHub repositories. Cursor agents are designed to help automate software development workflows, accelerate code changes, and provide powerful assistance directly within your version control stack.

With Cursor, you can:

  • Launch cloud agents: Instantly start AI agents to perform tasks on your repositories—ranging from code generation and refactoring to documentation and bug fixing.
  • Collaborate on pull requests and branches: Agents can work on feature branches, propose changes, and assist with code reviews.
  • Guide and refine AI work: Provide follow-up instructions to agents, enabling you to iteratively direct their actions and results.
  • Monitor progress and results: Check agent status, review their output, and inspect conversation threads—all from a unified dashboard or API.
  • Control agent lifecycle: Start, stop, restart, or archive agents as needed to manage compute resources and workflow states.
  • Integrate with your workflow: Use the API to connect Cursor agents with CI/CD pipelines, chatbots, or internal tools for automated workflows.

Integrating Cursor into your Sim automations unleashes the power of AI assistance on your software projects. Let agents contribute code, resolve issues, and complete repetitive development tasks so you and your team can focus on higher-level engineering work.

Usage Instructions

Interact with Cursor Cloud Agents API to launch AI agents that can work on your GitHub repositories. Supports launching agents, adding follow-up instructions, checking status, viewing conversations, and managing agent lifecycle.

Tools

cursor_list_agents

List all cloud agents for the authenticated user with optional pagination. Returns API-aligned fields only.

Input

ParameterTypeRequiredDescription
apiKeystringYesCursor API key
limitnumberNoNumber of agents to return (default: 20, max: 100)
cursorstringNoPagination cursor from previous response

Output

ParameterTypeDescription
agentsarrayArray of agent objects
nextCursorstringPagination cursor for next page

cursor_get_agent

Retrieve the current status and results of a cloud agent. Returns API-aligned fields only.

Input

ParameterTypeRequiredDescription
apiKeystringYesCursor API key
agentIdstringYesUnique identifier for the cloud agent (e.g., bc_abc123)

Output

ParameterTypeDescription
idstringAgent ID
namestringAgent name
statusstringAgent status
sourcejsonSource repository info
targetjsonTarget branch/PR info
summarystringAgent summary
createdAtstringCreation timestamp

cursor_get_conversation

Retrieve the conversation history of a cloud agent, including all user prompts and assistant responses. Returns API-aligned fields only.

Input

ParameterTypeRequiredDescription
apiKeystringYesCursor API key
agentIdstringYesUnique identifier for the cloud agent (e.g., bc_abc123)

Output

ParameterTypeDescription
idstringAgent ID
messagesarrayArray of conversation messages

cursor_launch_agent

Start a new cloud agent to work on a GitHub repository with the given instructions. Returns API-aligned fields only.

Input

ParameterTypeRequiredDescription
apiKeystringYesCursor API key
repositorystringYesGitHub repository URL (e.g., https://github.com/your-org/your-repo\)
refstringNoBranch, tag, or commit to work from (defaults to default branch)
promptTextstringYesThe instruction text for the agent
promptImagesstringNoJSON array of image objects with base64 data and dimensions
modelstringNoModel to use (leave empty for auto-selection)
branchNamestringNoCustom branch name for the agent to use
autoCreatePrbooleanNoAutomatically create a PR when the agent finishes
openAsCursorGithubAppbooleanNoOpen the PR as the Cursor GitHub App
skipReviewerRequestbooleanNoSkip requesting reviewers on the PR

Output

ParameterTypeDescription
idstringAgent ID
urlstringAgent URL

cursor_add_followup

Add a follow-up instruction to an existing cloud agent. Returns API-aligned fields only.

Input

ParameterTypeRequiredDescription
apiKeystringYesCursor API key
agentIdstringYesUnique identifier for the cloud agent (e.g., bc_abc123)
followupPromptTextstringYesThe follow-up instruction text for the agent
promptImagesstringNoJSON array of image objects with base64 data and dimensions (max 5)

Output

ParameterTypeDescription
idstringAgent ID

cursor_stop_agent

Stop a running cloud agent. Returns API-aligned fields only.

Input

ParameterTypeRequiredDescription
apiKeystringYesCursor API key
agentIdstringYesUnique identifier for the cloud agent (e.g., bc_abc123)

Output

ParameterTypeDescription
idstringAgent ID

cursor_delete_agent

Permanently delete a cloud agent. Returns API-aligned fields only.

Input

ParameterTypeRequiredDescription
apiKeystringYesCursor API key
agentIdstringYesUnique identifier for the cloud agent (e.g., bc_abc123)

Output

ParameterTypeDescription
idstringAgent ID

On this page

Start building today
Trusted by over 60,000 builders.
Build Agentic workflows visually on a drag-and-drop canvas or with natural language.
Get started