Skip to main content

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:

1

Install Hermes Agent

If you haven't already, install Hermes Agent.

2

Get a FriendliAI API Key

If you need a new API key, create one.

3

Set Up Hermes Agent

Set Up FriendliLink and connect your agent to FriendliAI with one command.
  1. In your terminal, run the following command:
    Hermes Agent opens.
  2. Select Custom endpoint (enter URL manually).
  3. Connect Hermes Agent to FriendliAI’s API:
    1. In API base URL, paste the following FriendliAI base URL:
    2. In API Key, paste your FriendliAI API key.
    3. In Select API compatibility mode, press Enter to auto-detect.
    4. In Available models, select a model. For example, select zai-org/GLM-5.3.
    5. In Context length in tokens, press Enter to auto-detect.
    6. (Optional) In Display name, enter “FriendliAI”.
To learn more, see Hermes Agent Docs > AI Providers.
4

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.

Help

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