Skip to main content

Hermes Agent Setup Guide

Overview

This document describes the complete installation and configuration process for Hermes Agent using a custom OpenAI-compatible API endpoint.

1. Installation

Windows (PowerShell)

Open PowerShell and run:
iex (irm https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.ps1)

macOS / Linux

Install Hermes Agent using the official install script:
curl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash
After installation, reload your shell and verify:
source ~/.bashrc
hermes --version
The installer will:
  • Install Hermes Agent
  • Install required dependencies
  • Create configuration files
  • Add Hermes to PATH
  • Launch the setup wizard
Setting up Hermes

2. Setup Wizard

Setup Type

Prompt:
How would you like to set up Hermes?

1. Quick Setup (Nous Portal)
2. Full setup
Selected:
2. Full setup
Reason:
  • Using a custom API gateway
  • Managing own API keys
  • Full control over provider configuration

3. Model Provider

Prompt:
Select provider
Selected:
30. Custom endpoint (enter URL manually)

4. Endpoint Configuration

Base URL

Configured:
https://api.znapai.com/v1

API Compatibility Mode

Prompt:
1. Auto-detect
2. Chat Completions
3. Responses / Codex
4. Anthropic Messages
Selected:
2. Chat Completions
Reason:
  • OpenAI-compatible endpoint
  • Uses /chat/completions

5. Model Selection

Hermes successfully queried the gateway and discovered available models. Example models returned:
gpt-5.5
gpt-5
gpt-5.3-codex
gpt-5.2-codex
gpt-4o
claude-opus-4.6
gemini-2.5-pro
model-router
...
Selected model:
<selected model>
Recommended options:

General Purpose

gpt-5.5

Coding

gpt-5.3-codex

Dynamic Routing

model-router

6. Context Length

Prompt:
Context length in tokens
Selected:
Leave blank
Reason:
  • Allow Hermes to auto-detect model limits

7. Provider Display Name

Prompt:
Display name
Configured:
ZnapAI Gateway
(or any preferred name)
Hermes Configuration

8. Terminal Backend

Prompt:
Choose terminal backend
Selected:
1. Local
Reason:
  • Direct access to local repositories
  • Direct access to Node.js, Python, Git
  • Best experience for software development

9. Messaging Platforms

Prompt:
Select messaging platforms
Selected:
None
Action:
Press Enter
Reason:
  • Focus on local coding workflow
  • Configure Telegram/Discord/etc. later if needed

10. Tool Configuration

Enabled:
✓ Web Search & Scraping
✓ Browser Automation
✓ Terminal & Processes
✓ File Operations
✓ Code Execution
✓ Vision
✓ Text-to-Speech
✓ Skills
✓ Task Planning
✓ Memory
✓ Session Search
✓ Clarifying Questions
✓ Task Delegation
✓ Cron Jobs
Disabled:
✗ Video Analysis
✗ Video Generation
✗ X Search
✗ Home Assistant
✗ Spotify
✗ Context Engine

11. Browser Automation Provider

Prompt:
Browser Automation Provider
Selected:
1. Local Browser
Reason:
  • Free
  • No API key required
  • Local Chromium execution

12. Image Generation Provider

Prompt:
Image Generation Provider
Selected:
Skip
Reason:
  • Not required for coding workflows
  • Can be configured later

13. Text-to-Speech Provider

Prompt:
Text-to-Speech Provider
Selected:
Microsoft Edge TTS
Reason:
  • Free
  • Local
  • No API key required

14. Web Search Provider

Prompt:
Web Search Provider
Selected:
DuckDuckGo (ddgs)
Reason:
  • Free
  • No API key required
  • Good enough for general research

15. Installation Result

Successful installation message:
[OK] Installation Complete!
Files created:
C:\Users\<username>\AppData\Local\hermes\
Important files:
config.yaml
.env
cron/
sessions/
logs/

16. Common Commands

Start Hermes

hermes
Hermes Terminal

Re-run Setup

hermes setup

Change Model

hermes setup model

Configure Tools

hermes setup tools

Configure Terminal Backend

hermes setup terminal

Show Current Configuration

hermes config

Edit Configuration

hermes config edit

Run Diagnostics

hermes doctor

Update Hermes

hermes update

17. Configuration Location

Config

C:\Users\<username>\AppData\Local\hermes\config.yaml

Environment Variables

C:\Users\<username>\AppData\Local\hermes\.env

18. Validation Steps

After installation:
hermes
Verify:
What model are you using?
What tools are available?
List files in the current directory.
Create a todo list for understanding this repository.
If all commands succeed, the installation is complete and functional.