Skip to content

VPC-byte/deepseek-v4-claude-code-bridge

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

DeepSeek V4 Claude Code Bridge

An unofficial English starter for developers testing DeepSeek V4 Preview.

This repository is independently written. It is not affiliated with DeepSeek. It does not copy DeepSeek model weights, docs, branding assets, or private material.

Why this exists

DeepSeek V4 Preview changed the practical evaluation surface for open-weight and API-based AI systems:

  • deepseek-v4-pro and deepseek-v4-flash are available through the official API.
  • The official API keeps the OpenAI-compatible base URL and also exposes an Anthropic-compatible endpoint.
  • The models are positioned around 1M context, thinking/non-thinking modes, coding-agent integration, tool calls, JSON output, and cost-sensitive workloads.

This guide packages one focused workflow: running Claude Code-style workflows against DeepSeek V4 through the Anthropic-compatible API.

Use Case

Use this when you want to compare DeepSeek V4 Pro and Flash inside a coding-agent loop without rewriting your agent workflow.

Quick Start

Set an API key locally:

export DEEPSEEK_API_KEY="replace-with-your-key"

Use this repo as a checklist while wiring DeepSeek V4 into:

  • Claude Code, Anthropic-compatible clients, shell-based coding agents
  • OpenAI-compatible clients via https://api.deepseek.com
  • Anthropic-compatible clients via https://api.deepseek.com/anthropic
  • Agent tooling that benefits from long context and explicit reasoning effort controls

Example command shape:

ANTHROPIC_BASE_URL=https://api.deepseek.com/anthropic ANTHROPIC_AUTH_TOKEN=$DEEPSEEK_API_KEY ANTHROPIC_MODEL=deepseek-v4-pro claude

Evaluation Plan

  • Run a small bug-fix task.\n- [ ] Run a long-context refactor plan.\n- [ ] Compare Pro vs Flash on latency, cost, and patch quality.\n- [ ] Record failure modes: tool misuse, stale context, overlong reasoning, and bad diffs.

Guardrails

  • Keep API keys in environment variables or a secret manager.
  • Do not commit prompts containing customer data, private logs, or proprietary code.
  • Label benchmark results with date, model name, parameters, and dataset version.
  • Do not claim official affiliation with DeepSeek.
  • Link back to official docs and upstream projects when publishing demos.

Official References

Launch Post Draft

DeepSeek V4 has an Anthropic-compatible API and 1M context. I made a small English bridge for testing it in Claude Code-style agent loops.

Attribution

DeepSeek, DeepSeek V4, and related model names belong to their respective owner. This repository is an independent English field guide built around public official documentation.

About

Unofficial English bridge for using DeepSeek V4 with Claude Code-style agent workflows.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors