superheroYu

Use DeepSeek V4 from OpenCode Go in Claude Code via a local Anthropic-to-OpenAI protocol bridge.一个本地协议桥接服务,用于让 Claude Code 通过 OpenCode Go 使用 DeepSeek V4 模型;它将 Anthropic Messages 请求转换为 OpenAI 兼容的 chat completions,并支持工具调用历史中的 reasoning_content 回放。

10
0
100% credibility
Found May 01, 2026 at 10 stars -- GitGems finds repos before they trend. Get early access to the next one.
Sign Up Free
AI Analysis
JavaScript
AI Summary

This project runs a local helper that lets you use advanced AI models from OpenCode Go inside Claude Code for deeper coding assistance.

How It Works

1
💡 Hear About Smarter Coding Help

You learn about a simple way to give your coding assistant access to powerful new thinking brains for better code ideas.

2
📥 Grab the Helper Files

Download the easy-to-use files from the online sharing page to your computer folder.

3
🚀 Turn On the Bridge

Click the starter button or run the quick launch to start the helper right on your machine.

4
🔗 Connect Your Assistant

Tell your coding companion to use the new super-smart models through this friendly bridge – it feels magical!

5
⚙️ Set Auto-Run (Optional)

Use the handy scripts to make the helper start automatically when you log in, so it's always ready.

6
💻 Fire Up Coding Sessions

Launch your coding assistant, choose the deep-thinking model, and start chatting about your projects.

🎉 Build Amazing Code Effortlessly

Enjoy step-by-step reasoning, tool smarts, and lightning-fast help that makes complex coding feel simple and fun.

Sign up to see the full architecture

5 more

Sign Up Free

Star Growth

See how this repo grew from 10 to 10 stars Sign Up Free
Repurpose This Repo

Repurpose is a Pro feature

Generate ready-to-use prompts for X threads, LinkedIn posts, blog posts, YouTube scripts, and more -- with full repo context baked in.

Unlock Repurpose
AI-Generated Review

What is deepseek-v4-opencode-claude-code-bridge?

This JavaScript proxy bridges Anthropic's Messages API to OpenAI-compatible chat completions, letting you run Claude Code against DeepSeek V4 models via OpenCode Go's deepseek api opencode endpoint. It solves protocol mismatches and DeepSeek's reasoning_content requirements for tool calls and thinking mode, caching history locally so sessions don't break on tool replays or compaction. Spin it up with Node.js on http://127.0.0.1:8787, tweak config.json for models like deepseek-v4-pro[1m], and point Claude Code's ANTHROPIC_BASE_URL there—no npm deps needed.

Why is it gaining traction?

Unlike broad gateways like LiteLLM or oc-go-cc, it zeroes in on DeepSeek V4 quirks—replaying reasoning for opencode deepseek local tool history, streaming thinking blocks to Claude Code UI, and softening forced tool_choice that upstreams reject. Autostart scripts for Windows (tray optional), Linux systemd, macOS LaunchAgent make it dead simple versus manual proxies. Devs on deepseek github reddit threads praise the zero-config deepseek github install for agent workflows where opencode deepseek does not support tools natively.

Who should use this?

Claude Code users experimenting with DeepSeek V4 on OpenCode Go for coding agents, especially those hitting "reasoning_content must be passed back" errors in multi-turn tool chains. Ideal for AI devs building opencode deepseek coder prompts or deepseek github copilot alternatives locally, without managing full gateways. Skip if you're on native Anthropic or non-DeepSeek opencode deepseek models.

Verdict

Grab it from the deepseek github repo if Claude Code + DeepSeek V4 is your stack—docs are thorough, health checks and cache trim tools work out of the box. At 10 stars and 1.0% credibility, it's early but battle-tested for its niche; test with a quick curl to /health before production.

(198 words)

Sign up to read the full AI review Sign Up Free

Similar repos coming soon.