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

> ## Agent Instructions
> Reactor hosts multiple models, each with its own connect slug (modelName) and command/event schema. The catalog of every model — slug, typed SDK package, and links to its schema — is at /model-api-reference/overview. Some models expose one slug per experience (e.g. HappyOyster); always take the slug from the model's own pages, never guess it.
> Fastest path to a working app: `npx create-reactor-app my-app --model=<slug>` scaffolds a complete app with secure auth wired up. Typed TypeScript SDKs are published as @reactor-models/<model>; Python uses the base reactor-sdk package.
> Auth: exchange an API key (rk_...) for a JWT via POST https://api.reactor.inc/tokens from your server. Never put the API key in client-side code.
> Append .md to any docs URL for clean Markdown. Search these docs via the MCP server at https://docs.reactor.inc/mcp.

# reactor completion zsh

> Generate the autocompletion script for zsh

```sh theme={"theme":{"light":"github-light","dark":"github-dark-high-contrast"}}
reactor completion zsh [flags]
```

## Description

Generate the autocompletion script for the zsh shell.

If shell completion is not already enabled in your environment you will need
to enable it.  You can execute the following once:

```sh theme={"theme":{"light":"github-light","dark":"github-dark-high-contrast"}}
echo "autoload -U compinit; compinit" >> ~/.zshrc
```

**To load completions in your current shell session:**

```sh theme={"theme":{"light":"github-light","dark":"github-dark-high-contrast"}}
source <(reactor completion zsh)
```

To load completions for every new session, execute once:

#### Linux:

```sh theme={"theme":{"light":"github-light","dark":"github-dark-high-contrast"}}
reactor completion zsh > "${fpath[1]}/_reactor"
```

#### macOS:

```sh theme={"theme":{"light":"github-light","dark":"github-dark-high-contrast"}}
reactor completion zsh > $(brew --prefix)/share/zsh/site-functions/_reactor
```

You will need to start a new shell for this setup to take effect.

## Options

| Flag                | Description                     |
| ------------------- | ------------------------------- |
| `--no-descriptions` | disable completion descriptions |

## Global options

| Flag              | Description                                                                           |
| ----------------- | ------------------------------------------------------------------------------------- |
| `--server string` | Reactor API server URL (default "[https://api.reactor.inc](https://api.reactor.inc)") |
| `-v, --verbose`   | Enable verbose output                                                                 |

## See also

* [reactor completion](/deploy/cli-reference/reactor_completion) - Generate the autocompletion script for the specified shell
