Set up Hermes Agent to connect to FriendliAI. Once you complete these steps, your agent will send requests to FriendliAI.
To get started, complete the following steps:
Install Hermes Agent
If you haven't already, install Hermes Agent.
Get a FriendliAI API Key
If you need a new API key, create one.
Set Up Hermes Agent
-
In your terminal, run the following command:
Hermes Agent opens.
- Select Custom endpoint (enter URL manually).
-
Connect Hermes Agent to FriendliAI’s API:
-
In API base URL, paste the following FriendliAI base URL:
- In API Key, paste your FriendliAI API key.
- In Select API compatibility mode, press Enter to auto-detect.
- In Available models, select a model. For example, select zai-org/GLM-5.3.
- In Context length in tokens, press Enter to auto-detect.
- (Optional) In Display name, enter “FriendliAI”.
-
In API base URL, paste the following FriendliAI base URL:
Send a Prompt to Hermes Agent
Open your agent and send a prompt. For example, use the following prompt:
Explore your codebase.
To learn more, see Hermes Agent Docs > Quickstart.