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

# Coding-agent plugins

> RELAI ships plugins that let your coding agent drive the learning loop for you. Install a local marketplace, then add the RELAI plugin for Codex or Claude Code.

RELAI ships plugins that let your coding agent drive [the learning loop](/learning-loop) for you — instead of running each command by hand.

## Install the marketplace

One command refreshes the local plugin marketplaces under `~/.relai/plugins/`. It prints the follow-up commands but doesn't modify your tools until you run them.

```sh theme={"system"}
# install all marketplaces (default)
relai plugins install

# or just one
relai plugins install --agent codex
relai plugins install --agent claude
```

## Add the plugin to your agent

<Tabs sync={false}>
  <Tab title="Codex">
    ```sh theme={"system"}
    codex plugin marketplace add ~/.relai/plugins/codex
    codex plugin add relai@relai-codex
    ```
  </Tab>

  <Tab title="Claude Code">
    ```sh theme={"system"}
    claude plugin marketplace add ~/.relai/plugins/claude
    claude plugin install relai@relai-claude
    ```
  </Tab>
</Tabs>

<Info>
  The marketplace install is idempotent — rerun `relai plugins install` any time to refresh. Plugins for both agents install by default; use `--agent` to scope.
</Info>
