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

# Codex

> Teach Codex to build with Levanto, or run it on Levanto's LLMs.

## Build with Levanto

Install the plugin, for every project you open:

```bash theme={"theme":"github-light"}
codex plugin marketplace add levantolabs/skills
codex plugin add levanto@levanto
```

Or set up one project, for everyone who clones it:

```bash theme={"theme":"github-light"}
npx levanto init
```

## Run it on Levanto's LLMs

Add a provider to `~/.codex/config.toml`:

```toml theme={"theme":"github-light"}
model = "auto"
model_provider = "levanto"

[model_providers.levanto]
name = "Levanto"
base_url = "https://api.levanto.ai/v1"
env_key = "LEVANTO_API_KEY"
wire_api = "responses"
```

To pin one model, replace `auto` with an id from `GET /v1/models`, such as `moonshotai/kimi-k3.1-pro`.

## Check it worked

```bash theme={"theme":"github-light"}
codex plugin list
```

`levanto@levanto` shows as installed and enabled.


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