Skip to content

Conversation

@blastoiseclawd-hash
Copy link

Summary

This PR adds DeepSeek as a new LLM provider to Archestra.

Changes

  • Add DeepSeek type definitions (OpenAI-compatible schemas)
  • Add DeepSeek adapter for LLM Proxy
  • Add DeepSeek routes for chat completions
  • Add DeepSeek to model constants and provider enums
  • Add @ai-sdk/deepseek dependency
  • Configure DeepSeek base URL and API key settings

API Key Instructions

To obtain a DeepSeek API key for testing:

  1. Visit https://platform.deepseek.com
  2. Sign up or log in
  3. Navigate to API Keys section
  4. Create a new API key

Streaming Support

  • Non-streaming responses work correctly
  • Streaming responses work correctly

DeepSeek is OpenAI-compatible and supports streaming.

Feature Completeness

LLM Proxy:

  • Tool invocation and persistence
  • Token/cost limits
  • Model optimization
  • Tool results compression
  • Dual LLM verification
  • Metrics and observability

Chat:

  • Chat conversations works
  • Model listing and selection
  • Streaming responses
  • Error handling

Demo Video

🎬 Video demonstration coming - will test all features with streaming and non-streaming responses.

Documentation

  • Update Supported LLM Providers page (will do after PR feedback)

Testing

  • E2E tests (will add after initial review)

Closes #1846

This PR adds DeepSeek as a new LLM provider to Archestra, implementing
the full provider integration across LLM Proxy and Chat.

Changes:
- Add DeepSeek type definitions (OpenAI-compatible schemas)
- Add DeepSeek adapter for LLM Proxy
- Add DeepSeek routes for chat completions
- Add DeepSeek to model constants and provider enums
- Add @ai-sdk/deepseek dependency
- Configure DeepSeek base URL and API key settings

DeepSeek uses an OpenAI-compatible API at https://api.deepseek.com

Closes archestra-ai#1846
@London-Cat
Copy link
Collaborator

London-Cat commented Feb 3, 2026

📊 Reputation Summary

User Rep Pull Requests Activity Assigned Core Reactions
blastoiseclawd-hash ⚡ 6 0✅ 2🔄 0❌ 0 issues, 1 comments 0

How is the score calculated? Read about it in the Reputation Bot repository 🤖

@blastoiseclawd-hash blastoiseclawd-hash marked this pull request as draft February 3, 2026 17:58
- Add deepseek entries to error parsers/mappers in errors.ts
- Add fetchDeepSeekModels function and registry entries in routes.models.ts
- Add deepseek API key fallback and model fetcher
- Add deepseek to displayNames and providerEnvVars in seed.ts
- Add deepseek to pricesByProvider and rulesByProvider in optimization-rule.ts
- Add deepseek to preferredSourcePrefixes in models-dev-client.ts
@blastoiseclawd-hash blastoiseclawd-hash marked this pull request as ready for review February 3, 2026 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Provider] Add DeepSeek support

2 participants