📖 Introduction
Hermes Agent is an open-source AI agent developed by Nous Research. It's a rare AI agent with a natively built-in learning loop, capable of accumulating skills from execution experience, autonomously optimizing capabilities, persisting knowledge, retrieving historical conversations, and continuously refining user cognitive models across sessions.
Hermes supports multiple LLM providers and provides rich tool integration capabilities.
⚙️ System Requirements
| Component | Requirement | Notes |
|---|---|---|
| Python | Python 3.10+ | Conda or venv recommended |
| API Key | Supports multiple LLM providers | OpenAI / Anthropic / Google, etc. |
| Memory | 8GB+ recommended | Depends on usage scenario |
🖥️ Choose Your Platform
Install via pip
# Create virtual environment (recommended)
python -m venv hermes-env
source hermes-env/bin/activate
# Install Hermes Agent
pip install hermes-agent
# Or install latest version from GitHub
pip install git+https://github.com/NousResearch/hermes-agent.gitRun Hermes
# Start interactive session
hermes model
# Configure tools
hermes tools
# View help
hermes --helpConfigure LLM Provider
# Configure via environment variables
export OPENAI_API_KEY="your-api-key"
export OPENAI_BASE_URL="https://api.beehears.com/v1"
# Or configure Anthropic
export ANTHROPIC_API_KEY="your-api-key"
export ANTHROPIC_BASE_URL="https://api.beehears.com"
# Run
hermes modelInstall via pip
# Create virtual environment
python -m venv hermes-env
.\hermes-env\Scripts\activate
# Install Hermes Agent
pip install hermes-agentInstall via WSL
# Create virtual environment
python3 -m venv hermes-env
source hermes-env/bin/activate
# Install
pip install hermes-agent
# Run
hermes modelConfigure Environment Variables (PowerShell)
$env:OPENAI_API_KEY="your-api-key"
$env:OPENAI_BASE_URL="https://api.beehears.com/v1"
hermes modelConfigure Environment Variables (CMD)
set OPENAI_API_KEY=your-api-key
set OPENAI_BASE_URL=https://api.beehears.com/v1
hermes modelInstall via pip
# Install Python and pip (if not installed)
sudo apt update
sudo apt install python3 python3-pip python3-venv
# Create virtual environment
python3 -m venv hermes-env
source hermes-env/bin/activate
# Install Hermes Agent
pip install hermes-agentInstall from Source
# Clone repository
git clone https://github.com/NousResearch/hermes-agent.git
cd hermes-agent
# Create virtual environment and install
python3 -m venv venv
source venv/bin/activate
pip install -e .Configure and Run
# Configure environment variables
export OPENAI_API_KEY="your-api-key"
export OPENAI_BASE_URL="https://api.beehears.com/v1"
# Run interactive CLI
hermes model
# Configure tools
hermes toolsThrough BeeHears API, you can access multiple models including GPT, Claude, and Gemini series.
🚀 Basic Usage
Main Commands
hermes model- Start interactive CLI, select a model to begin conversationhermes tools- Configure available toolshermes --help- View help information
Core Features
- Learning Loop - Accumulate skills and knowledge from execution experience
- Multi-provider Support - Supports multiple LLM providers
- Tool Integration - Rich tool extension capabilities
- History Retrieval - Retrieve historical conversations, continuously optimize across sessions
Using with OpenClaw
Hermes Agent can be used alongside OpenClaw to build more powerful AI automation solutions. OpenClaw provides Gateway and multi-channel integration capabilities, while Hermes provides intelligent agent and learning capabilities.