#9821: add DeepSeek API provider support
cli
commands
stale
Cluster:
Provider Support Enhancements
## Summary
Adds DeepSeek API as a first-class LLM provider to OpenClaw's onboarding flow.
## Changes
- Added DeepSeek to authentication choice types and options
- Created DeepSeek authentication handler following existing provider patterns
- Implemented provider configuration with proper model definitions
- Full integration with credential management system
## Testing
- ✅ Build passing
- ✅ All TypeScript compilation successful
- ✅ Follows existing patterns (Anthropic/Moonshot)
Resolves #7309
<!-- greptile_comment -->
<h2>Greptile Overview</h2>
<h3>Greptile Summary</h3>
This PR adds DeepSeek as a first-class onboarding/auth provider by introducing a new `deepseek-api-key` auth choice, wiring it into the auth-choice dispatcher, and adding provider/model configuration helpers (`applyDeepSeekProviderConfig`/`applyDeepSeekConfig`) plus a credentials writer (`setDeepSeekApiKey`). It also updates onboarding option types to accept a `deepseekApiKey` flag and registers a new CLI tagline/check script tweak.
<h3>Confidence Score: 4/5</h3>
- Mostly safe to merge, but a small config constant duplication should be fixed to avoid future breakage in default model selection.
- DeepSeek integration follows existing patterns and appears type-safe, but there are two separate `DEEPSEEK_DEFAULT_MODEL_REF` constants in different modules, which is a real footgun for config/model key consistency once either side changes.
- src/commands/onboard-auth.credentials.ts, src/commands/onboard-auth.config-core.ts
<!-- greptile_other_comments_section -->
<sub>(3/5) Reply to the agent's comments like "Can you suggest a fix for this @greptileai?" or ask follow-up questions!</sub>
<!-- /greptile_comment -->
Most Similar PRs
#12503: feat: add DeepSeek provider suppor
by MackDing · 2026-02-09
90.5%
#14393: feat: add standalone DeepSeek provider support
by osoulmate · 2026-02-12
90.2%
#11151: feat: add DeepSeek provider support
by MackDing · 2026-02-07
89.3%
#21620: Add DeepSeek embeddings provider for memory search
by YoungjuneKwon · 2026-02-20
78.9%
#20476: Providers: add DigitalOcean Gradient AI inference endpoint
by adugan-do · 2026-02-19
75.9%
#15742: feat: add Edgee AI Gateway as provider
by manthis · 2026-02-13
75.3%
#7113: feat(providers): add CommonStack provider support
by flhoildy · 2026-02-02
74.4%
#13079: feat: Add OpenAI-compatible API option to CLI for self-hosted models
by MikeWang0316tw · 2026-02-10
74.0%
#7272: Models: add SiliconFlow provider
by qychen2001 · 2026-02-02
73.7%
#12059: feat(agents): Add Azure AI Foundry credential support
by lisanyambere · 2026-02-08
73.5%