Running in 2 minutes

Docs

We run on Codex CLI, OpenAI's open-source agent. Four steps to set it up.

  1. 1

    Install Codex CLI

    An open-source project under Apache 2.0. Requires Node.js 20 or newer.

    npm i -g @openai/codex
  2. 2

    Add our provider

    Create ~/.codex/config.toml and paste this in.

    ~/.codex/config.toml
    [model_providers.amory]
    name = "AmoryMe"
    base_url = "https://ai-api.amoryme.com/v1"
    env_key = "AMORY_API_KEY"
    wire_api = "responses"
    
    [model]
    model_provider = "amory"
    model = "luna"

    wire_api must be responses — Codex CLI no longer speaks chat/completions, and with chat it fails silently.

  3. 3

    Put your key in an environment variable

    Create a key in your account settings. Codex reads it from AMORY_API_KEY.

    export AMORY_API_KEY="amr_live_..."
  4. 4

    Run it in your project folder

    The agent sees your files, edits them and runs commands.

    cd my-project
    codex
Done. Codex now runs on our keys and our models.

Choosing a model

Three ways: for one run, inside a session, or permanently in the config.

# per run
codex --model sol -- refactor this module

# inside a session
/model sol

# permanent default in ~/.codex/config.toml
[model]
model = "sol"
ModelBest forPlan
lunaThe most economical one. Included in the free plan.Free
terraStronger at long reasoning and harder problems.Pro
codeBuilt for code: refactors, tests, migrations.Pro
solFast general-purpose model. Good at nearly everything.Premium
opusThe strongest model available. Limited seats.Premium

Models above your plan return a clear 403 — nothing is charged.

Using Opus 5

Opus is on the Premium plan. No separate setup — it is just another --model value.

codex --model opus -- найди причину падения тестов и почини

Opus seats are limited: our throughput is around ten concurrent sessions for the whole platform. If they are all busy your request waits a few seconds in a queue.

Terminal or browser

Two different tools for two different jobs. Billing and limits are shared.

Agent in the terminal

Works on your files: reads the project, edits it, runs commands and checks the result. Use it for code.

Chat in the browser

An ordinary conversation with a model. Nothing to install, no access to your files. Use it for questions and text.

Third-party clients

Put these values into any OpenAI-compatible client:

API base URL
https://ai-api.amoryme.com/v1
API key
get it in your dashboard

Cline, Continue, Cursor, Aider and Zed work with the same URL and key. They use the ordinary chat mode.

Docs · AmoryMe