> ## Documentation Index
> Fetch the complete documentation index at: https://docs.edgespark.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Cursor and EdgeSpark

> Set up Cursor to work with EdgeSpark — install the EdgeSpark Cursor plugin, generate AGENTS.md, and use the dedicated Cursor workflow.

Cursor now has a dedicated EdgeSpark onboarding path. Use the EdgeSpark Cursor plugin together with `AGENTS.md` as the project instructions file. You can still copy project-specific rules into `.cursor/rules/` if you want Cursor-native rule files.

<Steps>
  <Step title="Install the EdgeSpark CLI">
    ```bash theme={null}
    npm install -g @edgespark/cli
    edgespark login
    ```

    This installs the CLI globally and authenticates your account. Your credentials are stored locally and reused for all subsequent commands.
  </Step>

  <Step title="Install the EdgeSpark Cursor plugin">
    In the Cursor Agent chat, run:

    ```text theme={null}
    /add-plugin edgespark@https://github.com/edgesparkhq/cursor-plugins
    ```

    <Note>
      This is the current public Cursor onboarding flow exposed by EdgeSpark. It requires Cursor 2.5 or later.
    </Note>
  </Step>

  <Step title="Initialize your project">
    ```bash theme={null}
    edgespark init my-app --agent cursor
    cd my-app
    ```

    The scaffold writes `AGENTS.md`, which EdgeSpark uses as Cursor's project instructions file.
  </Step>

  <Step title="Start an EdgeSpark task in Cursor">
    In Cursor Agent chat, start EdgeSpark tasks with the plugin command:

    ```text theme={null}
    /building-edgespark-apps
    Build a full-stack EdgeSpark app with auth and storage.
    ```
  </Step>
</Steps>

## See also

<Columns cols={2}>
  <Card title="Supported agents" icon="robot" href="/agents/supported-agents">
    Claude Code, Gemini CLI, OpenAI Codex, GitHub Copilot, Cursor, OpenCode, Amp, Devin, Aider, Windsurf, Cline, Continue, Antigravity, Kiro, and all other AI agents.
  </Card>

  <Card title="AGENTS.md reference" icon="file-lines" href="/agents/agents-md">
    What the agent instructions file contains and how to extend it with project-specific rules.
  </Card>

  <Card title="Declarative workflow" icon="database" href="/agents/declarative-workflow">
    Pull schema, write code against generated types, and validate deploys safely.
  </Card>

  <Card title="Deploy and test loop" icon="rotate" href="/agents/deploy-and-test">
    The full autonomous deploy and test workflow any agent follows.
  </Card>
</Columns>
