Go CLI Bridges DeepSeek R1/V3 to Claude Code and Ollama — SkimNews
Get the Tech newsletter
Daily tech — startups, AI labs, chips, the launches that shape the next decade. Free.
- Nexus-CLI is a pure Go CLI and local API proxy that connects any application or coding agent to DeepSeek V3 (deepseek-chat) and R1 (deepseek-reasoner) using a free chat.deepseek.com account, requiring no paid DeepSeek API key.
- The tool solves DeepSeek's DeepSeekHashV1 PoW challenges — Keccak-f[1600] SHA3-256 across 1–23 rounds — in parallel across CPU cores with no CGO, WASM, or Python dependencies, clearing difficulty 144,000 challenges in roughly 40–50 milliseconds.
nexus servemode exposes OpenAI Chat Completions, the Anthropic Messages API (100% compatible with Claude Code and the Anthropic SDK), the OpenAI Responses API, and a full Ollama emulation layer, with plug-and-play compatibility for Cursor, Open WebUI, Continue.dev, Dify, AnythingLLM, and LlamaIndex.- The interactive REPL streams R1's
reasoning_contentin real time with italic/cyan styling, includes ANSI prompts and animated spinners, and accepts slash commands (/help, /new, /model, /thinking, /search, /whoami, /clear, /exit) plus Unix pipe workflows likecat main.go | nexus "Review this code". - A Round-Robin multi-account pool cycles through additional DeepSeek logins to dodge HTTP 429 rate limits, with accounts added via
nexus auth addor extracted automatically through Chrome's CDP-based session capture. - A one-command launcher boots the proxy in the background and starts Claude Code, DeepSeek Harness (
dsh), OpenAI Codex, OpenCode, Goose, Aider, or a DeepSeek Agentic Eval harness, auto-configuring each tool to talk to http://localhost:9655. - Structured JSON output and JSON Schema validation are enforced across the CLI, Ollama endpoints, and OpenAI
response_formatrequests, while a built-innexus doctorcommand checks token validity, server connectivity, and PoW solver performance.
Why it matters: By re-implementing the OpenAI, Anthropic Messages, and Ollama surfaces on top of DeepSeek's free web login, Nexus-CLI effectively turns a no-cost DeepSeek account into drop-in infrastructure for Claude Code and other agents — a real alternative for developers who want DeepSeek R1's reasoning without paying for DeepSeek's official API. The parallel PoW solver (~40–50 ms per challenge) and Round-Robin account pool quietly neutralize the two friction points (gate-keeping and rate limits) that normally keep free tiers from being production-usable.
Ask SkimNews


