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

# Endor Labs Agent Kit in Cursor

> Install and use the Endor Labs Agent Kit in Cursor.

The Endor Labs Agent Kit installs into Cursor as a plugin, adding the Endor Labs setup agent, workflow agents, support skills, and advisory hooks.

<Note>
  To run Agent Kit workflows from Python code, CI, or a backend service instead of the Cursor IDE, use the [Cursor SDK](/secure-ai-coding/agent-kit/cursor-sdk).
</Note>

<Steps>
  <Step title="Install the plugin">
    Install the Endor Labs plugin from the Cursor Marketplace. In Cursor Agent chat, run.

    ```text theme={null}
    /add-plugin endorlabs
    ```

    You can also install it from the [Cursor Marketplace page](https://cursor.com/marketplace/endorlabs). Open your project and reload Cursor if prompted.
  </Step>

  <Step title="Set up this machine">
    Ask your AI coding assistant to run the setup skill.

    ```text theme={null}
    Use the endor-agent-kit-setup skill to check Endor Labs Agent Kit readiness.
    ```

    The setup skill guides package-manager-first `endorctl` installation, verifies Endor Labs authentication and namespace readiness, and reports missing `gh` or toolchain prerequisites. It does not run scans, run `endorctl host-check`, edit shell profiles, auto-install `gh`, or install language runtimes and package managers.
  </Step>

  <Step title="Run your first workflow">
    Select an Endor Labs agent from the Cursor agent picker, or invoke one by name. Try these example prompts.

    ```text theme={null}
    @endor-ai-sast-triage-agent triage AI SAST findings for this repository
    ```

    ```text theme={null}
    @endor-sca-remediation-agent check this repository for P0 SCA findings I can start remediating
    ```

    ```text theme={null}
    @endor-probe-droid-agent probe GitHub org <org> for Endor Labs monitored-branch onboarding gaps and setup prescriptions
    ```

    ```text theme={null}
    @endor-troubleshooter-agent diagnose this Endor Labs scan failure from redacted error text and read-only tenant evidence
    ```
  </Step>
</Steps>

See the [Agent Kit overview](/secure-ai-coding/agent-kit) for the full agent catalog, and the [safety model](/secure-ai-coding/agent-kit/safety-model) for how mutating agents handle approval gates.
