# omp (Oh My Pi)

Run omp on Boundless models: install, the models.yml provider with discovery, a verify step and common errors.


omp reaches Boundless through a provider declared in `~/.omp/agent/models.yml`, using the OpenAI chat completions format and the base URL `https://api.inference.boundless.network/v1`.

## Install

Install omp from its own documentation first. Then pick one way to point it at Boundless.

Run this in a terminal on macOS or Linux and choose **omp (Oh My Pi)**:

```bash
curl -fsSL https://boundless.md/install | sh
```

Or run the package yourself, which also works on Windows:

```bash
npx -y @boundless.md/setup@latest
```

Setup signs you in through your browser, creates a key on your account and backs up every file it changes. To undo it, run `curl -fsSL https://boundless.md/install | sh -s -- --revert`. Need a key to configure by hand? Create one in [API Keys](https://inference.boundless.network/settings/api-keys).

## Configure

### omp (Oh My Pi)

Declare a provider in `~/.omp/agent/models.yml`:

```yaml
providers:
  boundless:
    baseUrl: https://api.inference.boundless.network/v1
    api: openai-completions
    apiKey: BOUNDLESS_API_KEY
    discovery:
      type: litellm
    compat:
      reasoningContentField: reasoning_content

modelRoles:
  default: boundless/deepseek/deepseek-v4.1-flash
  tiny: boundless/deepseek/deepseek-v4-flash-0731
```

The file lists no models or prices, because `discovery` fetches both from `GET /v1/model/info` at startup. New models and price changes reach you on the next start without editing it. `apiKey` is read as an environment variable name before it is tried as a literal token, which keeps your key out of the file.

## Model ids

The examples use `deepseek/deepseek-v4.1-flash`. Use any id from `GET https://api.inference.boundless.network/v1/models`; the [models page](https://inference.boundless.network/models) lists each one with its price and limits.

## Verify

To check the base URL and key on their own, list the models the gateway serves. A list of models means both are right. A `401` means the key is missing or wrong:

```bash
curl https://api.inference.boundless.network/v1/models -H "Authorization: Bearer YOUR_API_KEY"
```

Then send a short message in a new session and check that a reply comes back.

## Common errors

| What you see | What it usually is |
| --- | --- |
| `401` on every request | `BOUNDLESS_API_KEY` is not set, or `apiKey` in the file holds the wrong value. |
| An error naming a model you never chose | The harness is sending its default. Set the model explicitly, including any small or background slot. |
| `403` with `model_not_allowed` | Your team admin has not enabled that model for you. Ask them, or pick another. See [Model access](https://inference.boundless.network/docs/teams#model-access). |

Every status and code is on the [Errors](https://inference.boundless.network/docs/errors) page. Other harnesses are on the [Coding Agents & Harnesses](https://inference.boundless.network/docs/coding-agents-and-harnesses) page.
