treg
superdesigndev
OpenRouter for agent tools. Join community here: https://discord.gg/6mQYYfFMAn
PROJECT TOPICS
INSTALL REFERENCE
dsh plugin --profile web add github:Firefox2100/dsh-ai-providers
该命令指向仓库当前默认分支;尚无绑定当前 commit 的完整验证结果。
PROJECT README
Reusable, provider-neutral AI services for DeepSeek Harness.
English | 简体中文
DSH AI Providers is infrastructure for plugins that need AI capabilities beyond a single model backend. Users register a vendor connection and credential once, then reuse it for every capability that vendor supplies. Consumer plugins call stable services instead of implementing credentials, provider selection, concurrency control, and vendor APIs themselves.
It currently covers:
The project is primarily useful to plugin developers and to users of plugins built on it. Installing it alone does not add an assistant or start making AI requests: configure the providers you need, then install or build a plugin that consumes the services.
The provider-neutral contracts are the foundation. A provider can be added behind those contracts without requiring each consumer plugin to add another vendor transport.
consumer plugin
|
v
@dsh-ai-providers/core contracts
|
v
@dsh-ai-providers/runtime
|
+-- OpenAI-compatible
+-- LocalAI
+-- Anthropic
+-- Ollama
+-- Cohere
+-- DashScope
+-- Jina
+-- TypeSafe
Consumer plugins depend on the contracts, not a particular vendor package. The runtime exposes the provider selected in the profile and applies shared concurrency controls. Provider packages keep ownership of their connections, request defaults, and vendor-specific settings.
| Package | Purpose |
|---|---|
@dsh-ai-providers/core |
Provider-neutral service contracts, errors, and shared types |
@dsh-ai-providers/openai-compatible |
Reusable OpenAI-compatible wire transports; not a plugin |
@dsh-ai-providers/runtime |
Provider registry, service selection, concurrency control, optional tracing, API routes, and settings UI |
@dsh-ai-providers/openai |
OpenAI-compatible language models, embeddings, decisions, TTS, file and live STT, and image generation |
@dsh-ai-providers/localai |
LocalAI language models, embeddings, reranking, decisions, TTS, file and live STT, and image generation |
@dsh-ai-providers/anthropic |
Language models through Anthropic's native Messages API |
@dsh-ai-providers/ollama |
Language models and embeddings through Ollama's native API |
@dsh-ai-providers/cohere |
Language models, embeddings, and reranking through Cohere's native API |
@dsh-ai-providers/dashscope |
Language models, embeddings, reranking, speech, and images through Alibaba Cloud DashScope's native API (Qwen) |
@dsh-ai-providers/jina |
Reranking and embeddings through Jina's API |
@dsh-ai-providers/typesafe |
Decisions from TypeSafe's hosted Jev model |
@dsh-ai-providers/jina-cohere |
Reusable Jina- and Cohere-style rerank and embedding transports; not a plugin |
@dsh-ai-providers/systemone |
Reusable System One decision transport; not a plugin |
@dsh-ai-providers/all |
Metadata-only DSH bundle containing the runtime and every provider maintained by this project |
See the individual provider guides for configuration and supported features:
DSH AI Providers requires Node.js 22 or later and currently targets DSH >=0.2.2-rc.1 <0.2.3.
Install the bundle into a DSH profile:
dsh plugin --profile <profile> add @dsh-ai-providers/all
The bundle installs the runtime and all provider packages maintained by this project. Restart the profile, configure reusable endpoints and credentials under Settings > Providers, then choose models and parameters in each service page. Individual packages may also be installed separately for a custom deployment.
To use these language-model routes in place of DSH's stock routes, disable @deepseek-ai/dsh-llm-pi-ai and the stock ui-settings-models settings page in that profile. Keep DSH's core llm service enabled. For DSH Voice Input, keep its speech-to-text registry enabled but select the API-backed provider instead of the built-in SenseVoice provider.
This is an independent project maintained by Firefox2100. It is not an official DeepSeek Harness project and is not maintained or endorsed by the DSH maintainers.
Consumer plugins normally add @dsh-ai-providers/core as a dependency and request the services they use from the Cordis context. Provider authors implement the same contracts and register their capabilities with the runtime.
Start with Using services for a consumer integration, or Creating a provider for a new backend. The core contract reference documents lifecycle rules, errors, and request types.
Requires Node.js 22 or later and pnpm.
pnpm install
pnpm run typecheck
pnpm run test
pnpm run build
pnpm run release:check
See Contributing for branch and release policy.
CLASSIFICATION EVIDENCE
系统优先读取 GitHub Topics,再与站内分类词典和词根规则比对。当前命中: anthropic-api、cohere-api、localai-api、openai-api。