> ## 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 OpenAI Codex

> Install and use the Endor Labs Agent Kit in OpenAI Codex.

The Endor Labs Agent Kit installs into OpenAI Codex as a plugin, adding the Endor Labs setup skill, Codex skills, and bundled custom-agent definitions.

<Steps>
  <Step title="Install the plugin">
    Add the Endor Labs marketplace and install the Endor Labs Agent Kit from the Codex plugin directory. In the Codex CLI, run.

    ```bash theme={null}
    codex plugin marketplace add endorlabs/ai-plugins \
      --sparse .agents/plugins \
      --sparse plugins/codex/endor-labs-agent-kit
    ```

    Restart Codex and start a new thread after installing or reinstalling the plugin so the host loads the skills and agents.
  </Step>

  <Step title="Set up this machine">
    Ask Codex to run setup.

    ```text theme={null}
    Use the endor-agent-kit-setup skill to check readiness and install the bundled Codex custom agents.
    ```

    After explicit approval, the setup skill installs the managed Endor Labs custom agents for Codex under `${CODEX_HOME:-~/.codex}/agents` and bundled user skills under `$HOME/.agents/skills`. It does not run scans, run `endorctl host-check`, edit shell profiles, install `gh`, or install language runtimes and package managers.
  </Step>

  <Step title="Run your first workflow">
    Each workflow is available as a Codex skill and as a custom agent. Try these example prompts.

    ```text theme={null}
    Use the ai-sast-triage skill to triage AI SAST findings for this repository.
    ```

    ```text theme={null}
    Use the sca-remediation skill to check this repository for P0 SCA findings I can start remediating. Do not edit files or open a PR/MR until I approve.
    ```

    ```text theme={null}
    Use the probe-droid skill to probe GitHub org <org> for Endor Labs monitored-branch onboarding gaps and setup prescriptions.
    ```

    ```text theme={null}
    Use the endor-troubleshooter skill to diagnose this Endor Labs issue 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.
