Run DeepSeek V4 in Codex with 1M context, Codex tool compatibility, and built-in Web Search.
Unofficial and unaffiliated. Use your own credentials and follow the applicable Codex, OpenAI, DeepSeek, and search-provider terms.
CodeSeeX gives Codex a local Responses API endpoint, forwards supported requests to DeepSeek, preserves the Codex tool workflow, and provides a desktop manager for setup, logs, usage, tools, and adapter configuration.
Codex Desktop -> CodeSeeX local API -> DeepSeek API
^
|
desktop manager
- DeepSeek V4 with 1M context: expose
deepseek-v4-proanddeepseek-v4-flashto Codex with million-token catalog metadata. - Codex tool compatibility: keep Codex workflows such as Apply Patch, MCP, Skills, and Plugins available through the bridge.
- Built-in tool layer: use CodeSeeX Web Search, workspace search, file reading, and patch support out of the box.
- Generated setup: copy a ready-to-use
config.tomlfrom the CodeSeeX proxy settings page. - Local visibility: see service state, balance, usage estimates, user-level logs, and tool activity from the desktop UI.
- Download the latest build for your platform from GitHub Releases.
- Start CodeSeeX and open the desktop manager.
- Go to
Settings -> Proxy. - Confirm the local service is running. The default listen port is
8787. - Copy the generated
config.tomlshown by CodeSeeX into the Codex configuration you use for DeepSeek. - Restart CodeSeeX only if you changed the listen port, then start or restart Codex Desktop.
- In Codex, choose
deepseek-v4-proordeepseek-v4-flashand start a new conversation.
Release artifacts may vary by version. Build scripts are included for Windows, macOS, and Linux, and platform builds should be verified on real devices before release.
Prefer copying the TOML generated inside CodeSeeX, because the local port and catalog path are machine-specific.
model_provider = "custom"
model = "deepseek-v4-pro"
disable_response_storage = true
model_reasoning_effort = "xhigh"
model_catalog_json = '~/.codeseex/model-catalog.json'
[model_providers.custom]
name = "DeepSeek"
wire_api = "responses"
requires_openai_auth = true
base_url = "http://127.0.0.1:8787/v1"To use the faster model, change:
model = "deepseek-v4-flash"CodeSeeX reads API credentials from the user's Codex auth configuration. It does not store DeepSeek API keys in proxy.env.
- Codex-compatible local API for
/v1/responsesand related model calls. - DeepSeek V4 adapter catalog for
deepseek-v4-flashanddeepseek-v4-prowith1Mcontext metadata. - Compatibility with Codex built-in tool flows, including Apply Patch, MCP, Skills, and Plugins.
- Single configurable local port for the desktop manager,
/api/*, and/v1/*. - Proxy settings for catalog mode, upstream model override, billing rates, and generated
config.toml. - Streaming answer display with reasoning visibility controls and grouped proxy tool summaries.
- User-level logs, daily log retention, balance checks, usage estimates, tray shortcuts, auto-start, and silent update indicators.
- Built-in tools for Web Search, patching, workspace search, and file reading, plus optional community tools.
Runtime data is stored in the user's ~/.codeseex directory by default so installed apps can write safely across Windows, macOS, and Linux.
Important runtime paths:
~/.codeseex/model-catalog.json: adapter catalog referenced by Codex throughmodel_catalog_json.~/.codeseex/logs/: daily user-level logs such aslogs-20260521.jsonl.~/.codeseex/extension/tools/<tool>/: optional community tool packages.~/.codeseex/proxy.env: non-secret local runtime settings.
Community tools are disabled unless enabled in configuration. Enabling community tool code means running local code from that tool package, so only use tools you trust. See docs/tool-authoring.md for the tool package format.
- Make sure Codex auth is configured for the same user account.
- Confirm the machine can reach the DeepSeek API endpoint.
- If a local proxy is configured, make sure that proxy process is actually running.
- Confirm
model_catalog_jsonpoints to an existing~/.codeseex/model-catalog.json. - Copy the generated TOML from CodeSeeX instead of typing the path manually.
- Restart Codex after changing TOML.
- GPT/OpenAI TOML files do not need
model_catalog_jsonand are not affected by CodeSeeX.
- Check the CodeSeeX logs page for the upstream error.
- Confirm Codex
base_urlpoints to CodeSeeX, for examplehttp://127.0.0.1:8787/v1. - Test whether the machine can access
https://api.deepseek.com. - Make sure no other process is using the configured CodeSeeX port.
npm install
npm start
npm run check
npm run dist:winAdditional build scripts are available for target-platform testing:
npm run dist:mac
npm run dist:linuxGitHub Actions can build the desktop artifacts automatically for Linux, macOS, and Windows. See Desktop Build Action for the workflow setup and testing steps.
CodeSeeX is a local proxy, but model requests are forwarded to the configured DeepSeek API endpoint. Do not send code, secrets, personal data, or third-party material unless you have permission to process it with that service.
The built-in web_search tool may request search-result pages or regular web pages from third-party websites. Those services may apply their own terms, rate limits, and anti-abuse rules.
CodeSeeX is licensed under AGPL-3.0-only. See LICENSE. If you modify and distribute CodeSeeX, or provide a modified version as a network service, you must make the corresponding source code available under the same license.