> ## 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]
>
> See [Endor Labs MCP server in Cursor](https://docs.endorlabs.com/setup-deployment/mcp/cursor.md) to query Endor Labs from the assistant. See [Endor Labs Agent Kit in Cursor](https://docs.endorlabs.com/secure-ai-coding/agent-kit/cursor.md) to install workflow agents. See [Deploy hooks for Cursor](https://docs.endorlabs.com/agent-governance/cursor.md) to capture events and enforce Coding Agent Governance policies.

> [!NOTE]
>
> To run Agent Kit workflows from Python code, CI, or a backend service instead of the Cursor IDE, use the [Cursor SDK](https://docs.endorlabs.com/secure-ai-coding/agent-kit/cursor-sdk.md).

**1. 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.

**2. 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.

**3. 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-remediation-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-configuration-automation-agent probe GitHub org <org> for Endor Labs monitored-branch onboarding gaps and setup prescriptions
```

```text theme={null}
@endor-troubleshooting-agent diagnose this Endor Labs scan failure from redacted error text and read-only tenant evidence
```

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


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.