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:
Install DeepSeek Harness
If you haven't already, install DeepSeek Harness.
Get a FriendliAI API Key
If you need a new API key, create one.
Set Up DeepSeek Harness
-
In your terminal, run the following command:
DeepSeek Harness opens.
- Open Settings. Then, click Models.
-
Click Add a custom provider. Then, connect DeepSeek Harness to FriendliAI:
-
In Provider ID, enter
friendliai. - (Optional) In Display name, enter “FriendliAI”.
-
In Base URL, paste the following FriendliAI base URL:
-
In API protocol, select
openai-completions. - In API key, paste your FriendliAI API key.
- Click Fetch available models. Then, click Add selected.
- Click Create provider.
-
In Provider ID, enter
- When you’re ready to send a prompt, select a model. For example, select zai-org/GLM-5.3.
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.