Skip to main content

Set up DeepSeek Harness to connect to FriendliAI. Once you complete these steps, your agent will send requests to FriendliAI.

To get started, complete the following steps:

1

Install DeepSeek Harness

If you haven't already, install DeepSeek Harness.

2

Get a FriendliAI API Key

If you need a new API key, create one.

3

Set Up DeepSeek Harness

Set Up FriendliLink and connect your agent to FriendliAI with one command.
  1. In your terminal, run the following command:
    DeepSeek Harness opens.
  2. Open Settings. Then, click Models.
  3. Click Add a custom provider. Then, connect DeepSeek Harness to FriendliAI:
    1. In Provider ID, enter friendliai.
    2. (Optional) In Display name, enter “FriendliAI”.
    3. In Base URL, paste the following FriendliAI base URL:
    4. In API protocol, select openai-completions.
    5. In API key, paste your FriendliAI API key.
    6. Click Fetch available models. Then, click Add selected.
    7. Click Create provider.
  4. When you’re ready to send a prompt, select a model. For example, select zai-org/GLM-5.3.
To learn more, see DeepSeek Harness Docs > Configure models.
4

Send a Prompt to DeepSeek Harness

Open your agent and send a prompt. For example, use the following prompt:

Explore your codebase.

To learn more, see DeepSeek Harness Docs > Use the Web UI.

Help

Find answers to common agent setup questions.
Last modified on September 23, 2026