blucca✳

Codex Desk / Installed local workbench

Continue your project, not just the trial.

Browse native conversations, read command results, and review a provider handoff before starting the next task. This page remains the optional terminal-only setup and receipt reference.

Install Codex Desk → · Project-task support

Python 3.11+ and existing Codex CLI required. Native integration exercised with CLI 0.171.0 on Linux.

Native Codex / Provider trial

Try the API.
Keep your setup.

Test a Responses-compatible provider on your own project. Codex inherits your MCP and trust settings; a sidecar profile keeps your normal defaults intact.

Watch the 2-minute walkthrough → Build · test · local receipt · next-session reuse

日本語の技術解説:設定・実タスク・usage・再利用 →

Zero extra installsProvider-only overlayLocal API key
config.toml
MCP · trusted projects · preferences
auth.json · existing login
+ trial.config.toml
  endpoint · model · env_key
→ codex -p trial
→ normal codex to return

01 / Prepare a trial

A profile, not a migration.

Use the Codex you already have. Check codex --version: this recipe was run on CLI 0.163.0 and 0.171.0, using the NAME.config.toml sidecar format. The provider must support the Responses API.

Get the exact base URL and model ID from your provider. Include /v1 when its API uses that prefix.

Your key is entered in your terminal. This page only builds a plain-text profile and commands.

Optional account source: CometAPI signup (affiliate link) · official Codex setup and model access. CometAPI’s program offers Blucca 20% on referred top-ups. The native task runs documented here used another provider.

88API example: official model/setup guide. Select a model included in your token group. Example checked November 23, 2026.

New 88API account: signup (affiliate link). Blucca receives an initial 5% of eligible referred top-ups under the referral rules. Use this link before registration; existing accounts cannot be bound later.

The sidecar profile

02 / Run in your terminal

Create the profile and enter your key.

Run in the selected terminal. The command creates $CODEX_HOME/trial.config.toml (or your chosen name), without editing your main config or login files. An existing sidecar with the same name is kept; choose a new name to try another setup.

Profile + terminal-only key

To use a downloaded profile instead: save it beside your existing config.toml, then set ONRAMP_API_KEY in the terminal you will use.

Check what this key can access.

Find your model ID in the response. A 401 is a key/auth problem; “model not found” after a successful listing usually means the selected model or token group differs. Providers that do not expose /models list access in their console.

Changed the model or base URL in the form? Create a corrected profile and retry →

Model discovery

Run one task in your project.

cd into your existing project, then run this read-only task. It asks Codex to inspect the code and run a small existing test. A completed task and passing test matter more than an HTTP 200.

Native task / JSON events

The command saves native events to NAME-UTC-TIME.events.jsonl and task time/model/exit to NAME-UTC-TIME.run.json in your current directory. Each run has a timestamped pair, so you can keep earlier receipts. When it finishes, open those matching files in the local receipt below.

For interactive work with your normal approval policy, use:

03 / Check the result

Read your native trial receipt.

Select the events from your terminal run, then its matching timing file. Your browser reads the files locally. See the native completion, actual command exits, final answer and token usage in one view.

Choose your events file to begin.

Summary fields: native completion, command exit counts, usage, and optional run metadata. Command text, command output and the final answer stay in this local view.

Completed a task or hit a blocker? Share a short result →

Three checks. One completed trial.

Task

Open the receipt’s command details and final answer. Identify your test command, its output and exit code.

Setup

codex -p trial mcp list should still show your base MCP entries. Compare existing MCP/provider/trust entries with your pre-trial copies. Codex can add a trust entry when first opening a new project.

Usage

The turn.completed event includes usage. Use the receipt’s task time/model to find the run in your provider’s usage page and read its actual charge.

Return to normal defaults with codex—omit -p. To clear the terminal key:

Recorded native check

Linux · Codex CLI 0.163.0 · provider-only sidecar. A stable-order dedupe task completed in 130 seconds, native exit 0, all three assertions passed. In the already-trusted fixture, base configuration and auth remained byte-for-byte unchanged; MCP entries and existing project trust were inherited.

Read the result · Source + runnable fixture

Current stable check: Linux · CLI 0.171.0 ran this guide’s existing receipt test in 92.75 seconds, with native and test exits 0. The retained 0.163.0 provider sidecar, base config and auth stayed unchanged; a disabled stdio MCP entry was inherited. Read the current-version result.

04 / Next session

Keep the profile. Bring your next task.

Your sidecar stays beside config.toml. In a new terminal, enter the provider key again and reopen the same profile. Use this after clearing the key, too. Skip profile creation and continue with a real task in your project.

New terminal / same profile

Use the same CODEX_HOME as the first trial. Keep your receipt to compare completed work and provider charges across sessions; normal codex still uses your original defaults.

Used this profile in a later session? Report whether your next task completed →

Keep the useful parts.

I already use CC Switch or All API Hub.

Keep using it. Current CC Switch already preserves unrelated config, and All API Hub exports into it. A native trial profile is useful when you want to test one provider without installing another manager or changing your live defaults.

Older Codex versions use a different profile format.

This recipe uses the native sidecar file format observed in CLI 0.163.0. Update an older npm installation with npm install -g @openai/codex, or use your existing package manager. Older [profiles.NAME] tables are a different configuration format.

I corrected the model or base URL. How do I retry?

Changing the form updates the generated text. A sidecar already saved on your computer keeps its original model and endpoint; both setup commands retain an existing same-name file.

  1. Return to the builder, enter the corrected base URL and model ID enabled for your token group, and choose an unused profile name, such as trial2. Click Build my commands.
  2. Copy the newly generated Profile + terminal-only key block and run it with the same CODEX_HOME. It creates the new sidecar and prompts for your key.
  3. Run the newly generated Model discovery and Native task / JSON events blocks. The task now launches the new profile, for example codex exec -p trial2. Keep its matching receipt pair.

Your earlier profile stays available under its original name.

The API lists models but the task fails.

Check the exact model ID, token group and Responses support. The base URL is the API root before /responses. The profile uses provider-specific env_key authentication and HTTP streaming, so the key is available to Codex in the same terminal.

What happens to existing settings?

Codex loads the base configuration and layers this model/provider profile over it. For an already-trusted project, the native check preserves the full base file. In a new project, Codex may persist its normal trust entry. Leave MCP and trust entries in your base; the generated profile contains a complete provider table. Project-local settings can also affect the task. The trial creates a new CLI session; your normal launch uses the original defaults.

Completed, reused, or blocked?

Copy this short report, fill in your result, and reply in the Codex discussion. First-task results, later-session reuse and specific blockers help shape this same workflow.

Result / support report
OS / Codex version: [fill in]
Reached step: [setup / task / receipt / charge / reuse]
Own-task result: [completed / blocked; tests passed / failed / not run]
Provider bill: [checked / unchecked; optional amount + currency]
Later same-profile task: [completed / blocked / not tried]
Help needed: [error class or status code + short symptom / none]

中文摘要:用 Codex 原生侧配置文件测试新 API,主配置中的 MCP、项目信任及原登录保持不变。密钥在终端输入;先核对模型分组,再完成项目中的真实任务。平时启动时不加 -p 即恢复原默认配置。

For API providers & integration teams

Native Codex engineering delivery.

200 USD fixed fee · 5 business days

One repository, one provider/model and one agreed native task or recovery path: runnable sample or scoped repair, actual command results, and restart/continuation checks. Scope, test access/allowance and funded payment arrangement are confirmed before work starts.

See delivery & send a brief →