How to Install Hermes Agent

Hermes Agent is a powerful AI assistant with tool-calling capabilities. This guide walks you through the installation process on Linux/macOS.

Prerequisites

Method 1: Quick Install (Recommended)

curl -fsSL https://get.hermes-agent.ai | bash

This downloads and runs the official installer script.

Method 2: Manual Install via pip

# Install via pipx (recommended for isolation)
pipx install hermes-agent

# Or with pip directly
pip install hermes-agent

Method 3: From Source (Development)

git clone https://github.com/NousResearch/hermes-agent.git
cd hermes-agent
pip install -e .

Post-Installation Setup

  1. Run setup wizard:
    hermes setup
    

    This configures your model provider (OpenRouter, Anthropic, OpenAI, etc.), API keys, and toolsets.

  2. Verify installation:
    hermes chat -Q -q \"Hello, world!\"
    
  3. Start the messaging gateway (for Telegram/Discord):
    hermes gateway install
    hermes gateway start
    

Configuration

Config file: ~/.hermes/config.yaml

Useful Commands

Command Description
hermes chat Interactive chat session
hermes model Select/switch default model
hermes config View/edit configuration
hermes skills Manage skill library
hermes cron Schedule recurring tasks
hermes gateway status Check messaging gateway

Resources


Last updated: August 2025