BUILD · Jun 10, 2026

How to set up Hermes Agent: a step-by-step guide

A complete guide to installing and configuring Hermes Agent — the open-source CLI agent from Nous Research. Configure providers, set up skills, and run your first agent session.

Agent-ready — drop this post into Claude Code or Codex

TL;DR: Hermes Agent is an open-source CLI agent from Nous Research. Install it via npm, configure a provider (OpenAI, Anthropic, OpenRouter), and run your first session. Skills and plugins extend what it can do.

Hermes Agent is the open-source CLI agent that powers this very session. It’s built by Nous Research and designed to be a general-purpose agent with tool access, skill management, and multi-provider support. Here’s how to set it up from scratch.

Key takeaways:

  • Install globally via npm: npm install -g hermes-agent
  • Configure at least one LLM provider in ~/.hermes/config.yaml
  • Skills add capabilities — installed to ~/.hermes/skills/
  • MCP servers connect external tools (web search, file system, databases)
  • Profile system lets you switch between config sets

Prerequisites

RequirementMinimum
Node.js18.x or higher
npm9.x or higher
Operating systemmacOS, Linux, Windows (WSL2)
RAM512 MB (agent only, not for local models)

Step 1: Install Hermes Agent

Install globally via npm:

npm install -g hermes-agent

Verify the installation:

hermes --version

This should print the installed version. If you see a command not found error, ensure your npm global bin directory is in your PATH.

Step 2: Configure a provider

Hermes needs at least one LLM provider to work. Create the config directory:

mkdir -p ~/.hermes

Edit ~/.hermes/config.yaml:

defaultProvider: openrouter
providers:
  openrouter:
    apiKey: your-openrouter-api-key
    baseUrl: https://openrouter.ai/api/v1
    models:
      default: google/gemini-2.5-pro-exp-03-25
  anthropic:
    apiKey: your-anthropic-api-key
    models:
      default: claude-sonnet-4-20250514

You can also set environment variables instead:

export ANTHROPIC_API_KEY=sk-ant-...
export OPENROUTER_API_KEY=sk-or-...
Pro tip

Start with OpenRouter — it gives you access to dozens of models with a single API key. You can test different models before committing to a specific provider.

Step 3: Run your first session

Start an interactive session:

hermes chat

You’ll see the agent initialize, load skills, and present a prompt. Try asking it something simple:

What tools do you have available?

Hermes will list its available tools — web search, file operations, terminal access, and any skills you’ve installed.

Step 4: Install skills

Skills extend Hermes with domain-specific capabilities. They live in ~/.hermes/skills/. Each skill is a directory with a SKILL.md file that describes when and how to use it.

# List installed skills
hermes skills list

# View a skill's content
cat ~/.hermes/skills/your-skill-name/SKILL.md

Skills can be created manually or installed from external sources like Newsjack, which installs skills for content discovery and PR monitoring.

Step 5: Configure profiles

Hermes supports multiple profiles for different contexts — work, personal, different provider sets:

# ~/.hermes/config.yaml
profiles:
  default:
    provider: openrouter
    model: google/gemini-2.5-pro-exp-03-25
  work:
    provider: anthropic
    model: claude-sonnet-4-20250514

Switch profiles with:

hermes chat --profile work

Each profile has its own skills directory, so you can keep work and personal skills separate.

Configuration reference

Key environment variables

VariablePurpose
ANTHROPIC_API_KEYAnthropic Claude access
OPENAI_API_KEYOpenAI GPT access
OPENROUTER_API_KEYMulti-model provider access
HERMES_HOMEOverride config directory (default: ~/.hermes)

Key config paths

PathPurpose
~/.hermes/config.yamlMain configuration
~/.hermes/skills/Skill directories
~/.hermes/plugins/Plugin modules
~/.hermes/profiles/<name>/Profile-specific config

The official documentation is at hermes-agent.nousresearch.com.

For more on AI agent tooling and setup patterns, check out my comparison of coding agents and how to build your first AI agent.


This article was published on Agentic Up (https://agenticup.dev) — practical guides for developers and founders building with AI agents. Reach me at [email protected].

Newsletter

Get the brief on AI agents

Practical posts on shipping agents, automating work, and building in public. No hype, no fluff.

Contact: [email protected]