> ## Documentation Index
> Fetch the complete documentation index at: https://docs.jiekou.ai/llms.txt
> Use this file to discover all available pages before exploring further.

> ## Agent Instructions
> JieKou AI model APIs are OpenAI-compatible. Base URL for users in mainland China (direct, no VPN): https://api.highwayapi.ai/openai; elsewhere: https://api.jiekou.ai/openai. Anthropic-compatible base URL: https://api.highwayapi.ai/anthropic or https://api.jiekou.ai/anthropic.
> Authenticate with `Authorization: Bearer <API_KEY>`; with Anthropic SDKs or Claude Code, pass the same key as `ANTHROPIC_AUTH_TOKEN`. Users create keys at https://jiekou.ai/settings/key-management. Never print or hardcode a real key.
> Get current model IDs from GET https://api.jiekou.ai/openai/v1/models instead of reusing model names from memory.

# DeepSeek Harness

## 什么是DeepSeek Harness？

DeepSeek Harness（DSH）是由 [DeepSeek AI](https://deepseek.com/) 开发的开源 agent harness（智能体框架）。

它构建于一切皆插件的架构之上，由 [Cordis](https://github.com/cordiverse/cordis) 驱动。

官网：[https://www.deepseek.com/harness/](https://www.deepseek.com/harness/)

Github：[https://github.com/deepseek-ai/deepseek-harness](https://github.com/deepseek-ai/deepseek-harness)

## 如何将接口AI接入DeepSeek Harness？

### 获取 API Key

1. 登录官网 jiekou.ai 注册。

2. 进入管理后台，点击右上方“我的”，在下拉列表中选择“API 密钥管理”。

   ![](https://mintcdn.com/jiekou/f-T_E3hNj8sGYUsR/images/deepseek-harness-01.png?fit=max\&auto=format\&n=f-T_E3hNj8sGYUsR\&q=85\&s=5e81e9b20ae476ac4c4c5b727994bd70)

3. 点击“创建”，输入密钥名称。建议填写便于识别的名称，方便后续在控制台区分不同用途的密钥。

   ![](https://mintcdn.com/jiekou/f-T_E3hNj8sGYUsR/images/deepseek-harness-02.png?fit=max\&auto=format\&n=f-T_E3hNj8sGYUsR\&q=85\&s=b1254a289e16ac82d7409489e2bb4247)

4. 点击复制并记录生成的 Key。控制台不可再次查看，请妥善保存Key以便后续使用。

### 将接口AI接入DeepSeek Harness

1. 安装好DeepSeek Harness后，运行客户端或网页，打开设置→模型，点击“添加模型供应商”
2. 填入刚刚复制的API Key，填入URL，选择你想要调用的模型适用的API格式（API Endpoint）

* 国内直连URL：[https://api.highwayapi.ai/openai](https://api.highwayapi.ai/openai)
* 海外URL：[https://api.jiekou.ai/openai](https://api.jiekou.ai/openai)

  ![](https://mintcdn.com/jiekou/eY20tqhq6niA3Adp/images/deepseek-harness-03.png?fit=max\&auto=format\&n=eY20tqhq6niA3Adp\&q=85\&s=56b34666b229a0b1c4779f8f79421677)

3. 点击“获取可用模型”，选择你想调用的模型，点击“添加所选”保存，再点击“创建供应商”，即可在对话中调用

   ![](https://mintcdn.com/jiekou/eY20tqhq6niA3Adp/images/deepseek-harness-04.png?fit=max\&auto=format\&n=eY20tqhq6niA3Adp\&q=85\&s=a99ae21cb94d0d4a4a78112e5a3e4c12)

![](https://mintcdn.com/jiekou/eY20tqhq6niA3Adp/images/deepseek-harness-05.png?fit=max\&auto=format\&n=eY20tqhq6niA3Adp\&q=85\&s=dfa9c9486798fd9648c14d12d46dcb60)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.