dsh-llm-openai-codex
Run the following command in DeepSeek Harness:
dsh plugin install auggie246/dsh-llm-openai-codex
Paste the following prompt into your AI chat to install this plugin:
Run dsh plugin install auggie246/dsh-llm-openai-codex to install this plugin; the source code is at https://github.com/auggie246/dsh-llm-openai-codex.
About this plugin
The pi-ai adapter in DeepSeek Harness authenticates provider routes with API keys alone, so any OAuth-backed backend is rejected by its own validation. OpenAI's Codex backend is exactly that kind of provider: it speaks ChatGPT subscription OAuth, not a key. dsh-llm-openai-codex closes that gap. It reuses pi-ai's openai-codex provider catalog and generic request machinery, swapping the credential on every request for a ChatGPT OAuth access token, so the backend sees nothing but a normal Codex client.
Three capabilities stand out. First, credential management: browser PKCE or device-code login, automatic token refresh with a 60-second expiry margin, temp-file writes locked to mode 0600, and a hard guarantee that the plugin never deletes an existing shared Codex CLI auth file. Second, live model discovery: the route pulls the same model manifest the Codex CLI and ChatGPT web use, so a newly released OpenAI model appears in your picker without upgrading the plugin, pi-ai, or Harness. Models already in the catalog keep their hand-audited parameters; unknown ones are synthesized from the manifest. Third, route resilience: empty-body and transient provider errors retry twice by default, and modelOverrides lets you correct a single model's context window, thinking levels, or wire spelling without touching code.
Best suited to developers who already hold a ChatGPT subscription with Codex access, or engineers who have a Codex CLI login and want to fold it into a DeepSeek Harness workflow at zero extra API cost. No OPENAI_API_KEY required.
Use Cases
- Swap API-key billing for a ChatGPT subscription to use Codex models at zero extra cost
- Grab newly released OpenAI models in the picker instantly without any plugin or pi-ai upgrade
- Fold an existing Codex CLI login into a DeepSeek Harness pipeline seamlessly
Best For
- Developers with ChatGPT Plus, Pro, or Enterprise and Codex access
- Engineers who already log in via Codex CLI and want DSH integration
- Teams that prefer subscription-based OpenAI model access without an API key
Related Plugins
A unified suite combining hot runtime injection, task-aware thinking-mode routing, and a graded session protocol with red-team gates to sustain model diligence across long-horizon inference.
ModLens is a vision plugin for DeepSeek Harness that gives text-only models sight by reading images pasted directly into chat, with zero-config setup and multiple vision engines.
On-demand vision for text-only DeepSeek Harness agents: built-in free keyless vision chain and 14 vision tools, routing image turns as tool calls to vision models with pixel fidelity, no Python needed, one-command install.
Give text-only models in DeepSeek Harness eyes, enabling image Q&A, long-screenshot OCR, UI restoration, and GUI visual tasks.