Cursor
Launch and manage Cursor cloud agents to work on GitHub repositories
Cursor is an AI IDE and cloud-based platform that lets you launch and manage powerful AI agents able to work directly on your GitHub repositories. Cursor agents can automate development tasks, enhance your team's productivity, and collaborate with you by making code changes, responding to natural language instructions, and maintaining conversation history about their activities.
With Cursor, you can:
- Launch cloud agents for codebases: Instantly create new AI agents that work on your repositories in the cloud
- Delegate coding tasks using natural language: Guide agents with written instructions, amendments, and clarifications
- Monitor progress and outputs: Retrieve agent status, view detailed results, and inspect current or completed tasks
- Access full conversation history: Review all prompts and AI responses for transparency and auditability
- Control and manage agent lifecycle: List active agents, terminate agents, and manage API-based agent launches and follow-ups
In Sim, the Cursor integration enables your agents and workflows to interact programmatically with Cursor cloud agents. This means you can use Sim to:
- List all cloud agents and browse their current state (
cursor_list_agents)
- Retrieve up-to-date status and outputs for any agent (
cursor_get_agent)
- View the full conversation history for any coding agent (
cursor_get_conversation)
- Add follow-up instructions or new prompts to a running agent
- Manage and terminate agents as needed
This integration helps you combine the flexible intelligence of Sim agents with the powerful development automation capabilities of Cursor, making it possible to scale AI-driven development across your projects.
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.
List all cloud agents for the authenticated user with optional pagination.
| Parameter | Type | Required | Description |
|---|
apiKey | string | Yes | Cursor API key |
limit | number | No | Number of agents to return (default: 20, max: 100) |
cursor | string | No | Pagination cursor from previous response |
| Parameter | Type | Description |
|---|
content | string | Human-readable list of agents |
metadata | object | Agent list metadata |
Retrieve the current status and results of a cloud agent.
| Parameter | Type | Required | Description |
|---|
apiKey | string | Yes | Cursor API key |
agentId | string | Yes | Unique identifier for the cloud agent (e.g., bc_abc123) |
| Parameter | Type | Description |
|---|
content | string | Human-readable agent details |
metadata | object | Agent metadata |
Retrieve the conversation history of a cloud agent, including all user prompts and assistant responses.
| Parameter | Type | Required | Description |
|---|
apiKey | string | Yes | Cursor API key |
agentId | string | Yes | Unique identifier for the cloud agent (e.g., bc_abc123) |
| Parameter | Type | Description |
|---|
content | string | Human-readable conversation history |
metadata | object | Conversation metadata |
Start a new cloud agent to work on a GitHub repository with the given instructions.
| Parameter | Type | Required | Description |
|---|
apiKey | string | Yes | Cursor API key |
repository | string | Yes | GitHub repository URL (e.g., https://github.com/your-org/your-repo\) |
ref | string | No | Branch, tag, or commit to work from (defaults to default branch) |
promptText | string | Yes | The instruction text for the agent |
promptImages | string | No | JSON array of image objects with base64 data and dimensions |
model | string | No | Model to use (leave empty for auto-selection) |
branchName | string | No | Custom branch name for the agent to use |
autoCreatePr | boolean | No | Automatically create a PR when the agent finishes |
openAsCursorGithubApp | boolean | No | Open the PR as the Cursor GitHub App |
skipReviewerRequest | boolean | No | Skip requesting reviewers on the PR |
| Parameter | Type | Description |
|---|
content | string | Success message with agent details |
metadata | object | Launch result metadata |
Add a follow-up instruction to an existing cloud agent.
| Parameter | Type | Required | Description |
|---|
apiKey | string | Yes | Cursor API key |
agentId | string | Yes | Unique identifier for the cloud agent (e.g., bc_abc123) |
followupPromptText | string | Yes | The follow-up instruction text for the agent |
promptImages | string | No | JSON array of image objects with base64 data and dimensions (max 5) |
| Parameter | Type | Description |
|---|
content | string | Success message |
metadata | object | Result metadata |
Stop a running cloud agent. This pauses the agent without deleting it.
| Parameter | Type | Required | Description |
|---|
apiKey | string | Yes | Cursor API key |
agentId | string | Yes | Unique identifier for the cloud agent (e.g., bc_abc123) |
| Parameter | Type | Description |
|---|
content | string | Success message |
metadata | object | Result metadata |
Permanently delete a cloud agent. This action cannot be undone.
| Parameter | Type | Required | Description |
|---|
apiKey | string | Yes | Cursor API key |
agentId | string | Yes | Unique identifier for the cloud agent (e.g., bc_abc123) |
| Parameter | Type | Description |
|---|
content | string | Success message |
metadata | object | Result metadata |
- Category:
tools
- Type:
cursor