Use Grok 4.5 from another machine in Codex Desktop — without copying secrets.

Shimex keeps your provider profiles on a host, then bridges a remote client over Tailscale with a one-time invite and revocable token. Your original Codex install stays untouched.

Shimex admin control plane showing providers, models, and managed-app controls
The local admin control plane at https://shimex.localhost/admin (with http://127.0.0.1:5413/admin as fallback).

Kimi K3 for Codex Desktop

Kimi K3 is now supported in Shimex through ClinePass. Connect a Cline profile, restart Shimex to refresh the model catalog, and select web: Kimi K3 in the Codex model picker.

Start with ClinePass

Open the local Shimex admin UI, choose Sign in with Cline, then run npm run stop:all && npm start after the profile is connected.

Get a working Codex agent

Choose web: Kimi K3 for text conversations, streamed replies, and Codex tool calls. Shimex normalises strict Moonshot tool schemas before routing.

Use host profiles from a remote Tailscale machine

Grok 4.5 is now available to remote Shimex clients. Start the host once, create a one-time client command, and use the host’s provider profiles from another machine without copying API keys or Grok sessions.

Host: shimex host up  →  admin page → Create client command  →  Client: run the generated curl ... | bash command.
shimex host up
shimex host code
# paste the generated command on the Tailscale client

Credentials stay on the host

The host keeps Grok, Codex, and Cline sessions. Clients receive a gateway URL and a scoped, revocable token.

Same model picker, remote machine

Open the managed client app and choose Grok 4.5. Requests travel through the host bridge over your private Tailscale network.

Read the host/client bridge guide →

What it does

Codex Desktop can only use the providers it knows about. Shimex gives it a local OpenAI-compatible gateway and generated model catalog so your own providers appear in the picker.

Free

Shimex is free and runs on your machine. Bring your own provider keys, local models, or external CLI sessions.

Free local app

Run Shimex and the managed Codex app locally. There is no hosted subscription or Shimex usage meter.

Bring your own providers

Use your own API keys, Ollama models, LM Studio server, ClinePass session, Cursor session, or OpenAI-compatible endpoint.

Install

macOS with Codex Desktop installed at /Applications/Codex.app, Node 20+, npm 10+.

git clone <repo-url> ~/Projects/shimex
cd ~/Projects/shimex
npm install
cp .env.example .env   # add your API keys; .env is git-ignored
shimex host up         # keep the host gateway online
npm start              # prepare and launch the managed Shimex.app

Then open the managed Shimex.app and the admin UI at https://shimex.localhost/admin. The direct fallback is http://127.0.0.1:5413/admin.

CLI

Run Shimex from npm. These commands manage the daemon, inspect health, and list configured provider models.

npm run status                                 # PID, log path, health
npm run shimex -- doctor                       # prerequisite check
npm run shimex -- providers list               # configured providers
npm run shimex -- models list                  # discovered models
npm run shimex -- host clients                 # paired remote clients
npm run shimex -- app stop                     # quit the app without stopping the host

Documentation

Shimex is configured by shimex.yml and a local git-ignored .env. The managed app copy, isolated Codex profile, model catalog, and local gateway are all created from those files.

Want to add a provider? Point your coding agent at the provider rules or the Adding a Provider docs. The required path is explicit: add the provider module, manifest, adapter, registry entries, shimex.yml example, and tests.

Managed Codex app

Shimex copies Codex Desktop into a managed app and points that copy at the local gateway.

Provider adapters

Adapters translate provider-specific request, response, model, and streaming behavior into Codex-ready shapes.

Agent-friendly provider docs

If Shimex does not support a provider yet, give your agent the provider docs and the Shimex provider rules. The architecture tells it exactly where each change belongs.

FAQ

Does Shimex modify the original Codex app?

No. Shimex creates a managed app copy and isolated profile so the original Codex Desktop installation stays untouched.

Which providers can Shimex use?

Shimex can route to ClinePass, DeepSeek, LM Studio, Cloudflare Workers AI, Anthropic, Ollama, Cursor Composer, OpenAI-compatible endpoints, and other configured providers.

Can I use Kimi K3 in Codex Desktop?

Yes. Connect a ClinePass profile in the Shimex admin UI, restart Shimex with npm run stop:all && npm start, and select web: Kimi K3 in the Codex model picker. Shimex supports text input, streaming responses, and Codex tool calls for Kimi K3.

Can a remote machine use a host’s Grok 4.5 profile?

Yes. Run shimex host up, create a one-time client command in the admin page, and run it on the Tailscale client. The client can then select Grok 4.5 without receiving the host’s provider credentials.

Does the host need Shimex.app open for bridging?

No. shimex host up runs the persistent gateway separately. Use shimex app start and shimex app stop to control only the managed desktop app.

Does Shimex support multiple provider profiles?

Yes. Keep multiple ChatGPT/Codex and ClinePass profiles separate. Shimex exposes profile-scoped models in the picker, so each request uses the profile you selected.

Where do API keys live?

Provider secrets live in a local .env file that is ignored by git. shimex.yml references those secrets by environment variable name.

How do I update when Codex Desktop releases a new version?

Just run npm run stop:all && npm start. Shimex re-copies the upstream Codex app into the managed Shimex.app, reapplies patches, and restarts the gateway with the latest version.