Skip to main content
Codex is OpenAI’s coding agent, in the terminal and as a desktop app. It talks to the Responses API, which Lyceum serves, so you add Lyceum as a model provider and keep the rest of your setup.

Configure

Add a Lyceum provider to ~/.codex/config.toml: Export your key, then start Codex in your project:
Already use Codex with OpenAI? Put the same lines in ~/.codex/lyceum.config.toml instead, and start Codex with codex --profile lyceum when you want Lyceum.
Codex’s built-in web search works on Lyceum with nothing to set up. When a task needs current information, we run the search and the model answers from the results. Codex lists each search in its output as web search: <query>. Its default cached setting and live both search the live web on Lyceum. See Web search for pricing and the models that search best. To keep results to sites you trust, or to get more results per search, add a [tools.web_search] table:
~/.codex/config.toml
Codex shows citations as [1]-style markers rather than links, so ask for full URLs in your prompt when you want them.

Verify

Run one task without the interactive view: To let Codex edit files in a one-off run, add -s workspace-write. Continue the last session with codex exec resume --last "<your next prompt>". With the profile setup, add --profile lyceum before resume or the prompt.

Notes

  • Desktop app. The Codex app reads the same config.toml. Pick the Codex workspace in the switcher at the top left, then start a project.
  • Models. GLM-5.3, Kimi K3, Kimi K3.1 Pro and DeepSeek V4.1 Flash work well for coding and search in Codex. Take model IDs from the models page.
  • Reasoning effort. If you set model_reasoning_effort, low, medium, high, xhigh and max are all accepted.
  • Model notice. Codex says it has no metadata for the model and uses defaults. You can ignore it: tools and file edits work. Codex leaves out its plan tool for models it doesn’t know, so add a [tools.update_plan] table with enabled = true if you want it.
  • History. We don’t store responses. Codex sends the whole conversation with every turn, so resumed sessions work as usual.
  • Responses API. Requests and streaming over HTTP work today, and we’re adding more of the Responses API. Tell us at support@lyceum.technology what you need next.