Discover and explore top open-source AI tools and projects—updated daily.
wujfeng712-uiLocal proxy for unified AI CLI access
Top 98.8% on SourcePulse
This project provides a zero-dependency local proxy that enables the Codex CLI to interact with DeepSeek, Xiaomi MiMo, and OpenAI models. It addresses the challenge of integrating diverse LLM APIs with the Codex CLI's specific Responses API by offering bi-directional protocol translation. This allows users to leverage a wider range of powerful models through a single, unified interface without modifying the Codex client, benefiting developers and power users seeking flexibility in their AI tooling.
How It Works
The codex-bridge acts as an intermediary, translating requests between the Codex CLI's Responses API and the Chat Completions API used by DeepSeek and MiMo, while also supporting OpenAI's Responses API. It intelligently routes requests based on the model name, supporting features like streaming Server-Sent Events (SSE), tool call round-trips, and mapping Codex's reasoning effort levels to upstream provider capabilities. Its architecture prioritizes flexibility and compatibility, ensuring seamless integration.
Quick Start & Requirements
git clone https://github.com/wujfeng712-ui/codex-bridge.gitcd codex-bridgecp env.example .env.env with necessary API keys (e.g., PROXY_AUTH_KEY, DEEPSEEK_API_KEY).node --env-file=.env proxy.mjs~/.codex/config.toml) to use http://127.0.0.1:4000/v1 as the base_url with model_provider = "local_proxy".https://github.com/wujfeng712-ui/codex-bridge.gitHighlighted Details
PROXY_AUTH_KEY, PROXY_KEYS) with optional per-key provider locking.web_fetch tool for handling URL-heavy conversations and bypassing sandbox restrictions.proxy.mjs ~2000 lines).Maintenance & Community
The provided README does not contain specific details regarding maintainers, community channels (e.g., Discord, Slack), sponsorships, or a public roadmap.
Licensing & Compatibility
Limitations & Caveats
The proxy requires Node.js version 18 or higher; older versions require alternative startup methods. While robust, users must configure upstream API keys and potentially adjust timeouts (UPSTREAM_TIMEOUT_MS) for slow provider responses. Troubleshooting guidance is provided for common issues like port conflicts and authentication errors.
2 months ago
Inactive