Cursor

Cursor

Automate AI development workflows with Cursor and emma

With emma's Cursor integration, you can connect directly with Cursor Cloud Agent. Streamline your development workflow through agent launching, management, and conversation history retrieval.

Features

Cursor_Operator supports the following 9 tools:

CategoryTools
Read Operations6
Tool NameDescription
cursor_get_api_key_infoGet Cursor API key information (key name, user email, creation date)
cursor_list_agentsList Cloud Agents (ID, status, repository, branch, etc.). Supports pagination
cursor_get_agent_statusGet detailed status of a specific Cloud Agent (source repository, target branch, PR URL, summary, etc.)
cursor_get_agent_conversationGet Cloud Agent conversation history
cursor_list_modelsList available AI models for Cloud Agent
cursor_list_repositoriesList GitHub repositories accessible by authenticated user
Write Operations3
Tool NameDescription
cursor_launch_agentLaunch a new Cloud Agent. Clones GitHub repository, executes task, optionally auto-creates PR
cursor_add_followupAdd follow-up instructions to a running Cloud Agent (additional requests or modifications)
cursor_delete_agentDelete a Cloud Agent (permanently deleted, including conversation history)

Main Parameters

ParameterDescription
prompt_textTask instruction content to execute
repositoryGitHub repository URL (e.g., https://github.com/owner/repo)
refBase Git ref (branch, tag, commit)
modelAI model to use (auto-selected if not specified)
auto_create_prWhether to auto-create PR on completion
branch_nameBranch name to create
webhook_urlURL for status change notifications

Prerequisites

  • emma account
  • Cursor account
  • Cursor API key
  • GitHub account integration

Setup

1. Install the package

npm install @duzzle/cursor-integration

2. Initialize

import { DuzzleCursor } from '@duzzle/cursor-integration';

const cursor = new DuzzleCursor({
  apiKey: process.env.DUZZLE_API_KEY,
  cursorApiKey: process.env.CURSOR_API_KEY
});

3. Launch Cloud Agent

// Launch a new Cloud Agent
const agent = await cursor.launchAgent({
  repository: 'https://github.com/owner/repo',
  ref: 'main',
  prompt_text: 'Add unit tests for the authentication module',
  auto_create_pr: true,
  branch_name: 'feature/add-auth-tests',
  model: 'claude-4-sonnet'
});

console.log('Agent ID:', agent.id);
console.log('Status:', agent.status);

© 2026 Duzzle Inc. All rights reserved.