Install Hermes Agent, Run a Health Check, and Connect Your Anthropic Account
Beginner · 30 minutes · 5 tasks, checked automatically · 100 points
In this foundational lab you will install Hermes Agent directly on your machine, verify the installation with the built-in doctor command, configure it to use your own Anthropic API key, and confirm the end-to-end connection is working. By the end you will have a fully operational Hermes Agent setup that you can use for every subsequent lab in this track.
What you’ll learn
- Install Hermes Agent natively into the LearnXops managed location using the official install script
- Run `hermes doctor` and confirm all core checks pass
- Write a Hermes Agent configuration file that points at your Anthropic account using the key from the environment
- Send a minimal one-shot prompt through the CLI and capture the output to a file in the lab directory
How this lab works
- Start the lab: One click starts a sandbox with a local model and the agent’s toolbox: no API key and no token bill.
- Work through 5 tasks: Each task says what to build or fix. You do it yourself, in a real terminal, with hints when you get stuck.
- Check your work: Check my work inspects the agent, its config and its output, and says what passed and what to fix.
- Finish and keep going: 100 points, your progress saved, and the next lab to try.
What it runs on
- Runs: Locally, against a model on your computer: no API key, no tokens
- Model: claude-sonnet-4-6
- Open source: github.com/NousResearch/hermes-agent
What you need
- A free LearnXops account
- The LearnXops desktop app for macOS, Windows or Linux
- A terminal open on your own machine
- Your Anthropic API key available (it is already exported as ANTHROPIC_API_KEY in this lab session)
- curl available on your PATH
Topics: hermes-agent, anthropic, installation, cli, configuration, agents, native
Create a free account to start this lab.
Keep going
- Install OpenClaw and Bring Up the Gateway
- Run OpenClaw Fully Offline with a Local Ollama Model
- Walk the OpenClaw Workspace: Sessions, History, and Resuming Conversations
- Configure Hermes: Persistent Model, Backend, and Tool Defaults
- Hermes Agent: Install, Diagnose, and First-Run Setup Against a Local Model
- Tour the Hermes Toolsets: Discover, Enable, and Trace Tool Calls