OMP
OMP is an AI coding agent for the terminal. ai& is included as a built-in provider.
1. Install OMP
Section titled “1. Install OMP”curl -fsSL https://omp.sh/install | shirm https://omp.sh/install.ps1 | iexYou can also install OMP with Bun 1.3.14 or newer:
bun install -g @oh-my-pi/pi-coding-agent2. Add your API key
Section titled “2. Add your API key”Create a key in the ai& console, then set it in your shell:
export AIAND_API_KEY="sk-your-aiand-api-key"$env:AIAND_API_KEY = "sk-your-aiand-api-key"3. Run OMP
Section titled “3. Run OMP”Start OMP with any ai& model:
omp --model aiand/<model-id>The model name must use the aiand/<model-id> format.
Verify
Section titled “Verify”Run a one-shot prompt:
omp --print --model aiand/<model-id> "reply with only: ok"If OMP reports an unauthorized request, confirm that AIAND_API_KEY is set in
the same shell.