Hermes Agent by Nous Research is a powerful CLI AI agent that can browse the web, execute code, manage files, and interact with APIs. This guide walks through a complete installation on a fresh Ubuntu 24.04 server.
You need a server with at least 4GB RAM and Python 3.10+ installed. An API key from your preferred LLM provider (OpenAI, Anthropic, DeepSeek, or OpenRouter) is required.
sudo apt update
sudo apt install -y python3 python3-pip python3-venv
pip install hermes-agent
This installs the hermes CLI and all dependencies.
hermes setup
The setup wizard will guide you through configuring your API provider and model. Choose your provider and enter your API key when prompted.
hermes --version
hermes run "echo hello world"
After installation, explore adding MCP servers, configuring custom tools, and setting up skills. Check out our other tutorials for advanced configurations.