Hermes Agent Setup Guide

Self-improving AI agent by Nous Research

Last updated: May 22, 2026

πŸ“¦ What's New (v0.12.0 - May 2026)

What is Hermes Agent?

Hermes Agent by Nous Research is the only AI agent with a built-in learning loop. Unlike static agents, Hermes creates skills from experience, improves them during use, and maintains its own skill library through autonomous curation.

🧠

Self-Improving

Learns from every conversation

πŸ”Œ

18+ Integrations

Telegram, Discord, Slack, WhatsApp

⚑

Flexible Deploy

$5 VPS to GPU cluster

⏱️ Time: 30-45 minutes  |  Difficulty: Intermediate  |  Cost: Free (self-hosted) or ~$5/mo VPS

Prerequisites

Step 1: Install Hermes Agent

Clone the official repository and install dependencies:

# Clone the repository
git clone https://github.com/NousResearch/Hermes-Agent.git
cd Hermes-Agent

# Create virtual environment
python -m venv venv
source venv/bin/activate  # On Windows: venv\Scripts\activate

# Install dependencies
pip install -r requirements.txt

πŸ’‘ Pro Tip: Hermes supports multiple LLM backends. For local testing, use Ollama (free, no API costs). For production, consider Anthropic Claude or OpenAI GPT-4.

Step 2: Configure Hermes

Create your configuration file:

# Copy example config
cp config.example.yaml config.yaml

# Edit configuration
nano config.yaml

Key settings to configure:

# LLM Configuration
llm:
  provider: anthropic  # or openai, ollama, bedrock
  model: claude-3-7-sonnet-20260101
  api_key: ${ANTHROPIC_API_KEY}

# Terminal Backend (where code executes)
terminal:
  backend: docker  # or local, ssh, modal, daytona, vercel

# Memory & Learning
memory:
  enabled: true
  persistence: sqlite  # or postgres
  curator_cycle_days: 7

# Messaging Transport
transport:
  platform: telegram  # or discord, slack, whatsapp, signal
  token: ${TELEGRAM_BOT_TOKEN}

Step 3: Install Skills

Hermes comes with base skills. Add community skills for more capabilities:

# Install wondelai skills (380+ skills, actively maintained)
git clone https://github.com/wondelai/skills.git ./custom_skills

# Or install litprog-skill for literate programming
git clone https://github.com/NousResearch/hermes-agent/tree/main/skills.git ./custom_skills/litprog

Popular skill categories:

Step 4: Connect Messaging Platform

Choose your primary interface (18 platforms supported):

πŸ“± Telegram (Recommended)

Easy setup, great for testing

  1. 1. Create bot via @BotFather
  2. 2. Get bot token
  3. 3. Add to config.yaml
  4. 4. Run Hermes

πŸ’¬ Discord

Best for team collaboration

  1. 1. Create Discord app
  2. 2. Get bot token + guild ID
  3. 3. Configure permissions
  4. 4. Invite to server

πŸ’Ό Slack

Enterprise integration

  1. 1. Create Slack app
  2. 2. Get bot token + signing secret
  3. 3. Configure event subscriptions
  4. 4. Install to workspace

πŸ“ž WhatsApp

Mobile-first communication

  1. 1. Meta Business account
  2. 2. WhatsApp Business API
  3. 3. Phone number verification
  4. 4. Webhook configuration

Step 5: Start Hermes Agent

Launch your self-improving agent:

# Start Hermes
python -m hermes.agent

# Or run with specific profile
python -m hermes.agent --profile production

# Enable verbose logging for debugging
python -m hermes.agent --log-level debug

First run checklist:

Step 6: Test Your Agent

Send your first message to Hermes:

Example prompts to try:

  • β€’ "Create a Python script that scrapes weather data and saves it to CSV"
  • β€’ "Analyze this JSON file and create a summary report"
  • β€’ "Set up a cron job to run this script every day at 9 AM"
  • β€’ "Learn from this workflow and create a reusable skill"

βœ… Success Indicators: Agent responds, executes code, saves results to memory, and offers to create a skill from the workflow.

Troubleshooting

Agent won't start

  • β€’ Check Python version (3.10+ required)
  • β€’ Verify virtual environment is activated
  • β€’ Run `pip install -r requirements.txt` again
  • β€’ Check config.yaml syntax (YAML is strict)

LLM API errors

  • β€’ Verify API key is correct and has credits
  • β€’ Check API endpoint URL in config
  • β€’ Test with `curl` command to verify connectivity
  • β€’ Try a different model (e.g., claude-3-haiku for testing)

Messaging platform not connecting

  • β€’ Verify bot token is correct
  • β€’ Check bot permissions (admin/access)
  • β€’ Ensure webhook URL is publicly accessible
  • β€’ Review platform-specific setup docs

Skills not loading

  • β€’ Check skills directory path in config
  • β€’ Verify skill files have correct structure
  • β€’ Look for Python import errors in logs
  • β€’ Run `hermes skills list` to see loaded skills

Next Steps

πŸ“š More Resources

Official Links