Dual-Surface Agent Control: CLI and Web Gateway with Hermes
Advanced · 30 minutes · 5 tasks, checked automatically · 100 points
In this advanced lab you will install Hermes Agent directly on your machine, configure its messaging gateway, and prove that a single agent instance can be driven from two completely different surfaces at the same time — the interactive CLI and the built-in web interface. You will write a small gateway configuration, start the gateway process, send a task from the CLI, send the same task through the web UI, and verify that both sessions produced observable output in the lab directory. This is the canonical way to evaluate Hermes as a real deployment target rather than a toy script.
What you’ll learn
- Install Hermes Agent into the LearnXops-managed tooling location without touching system paths
- Author and validate a gateway configuration file that binds the web interface to a known local port
- Start the Hermes gateway process and confirm it is listening before interacting with it
- Drive the agent from the Hermes CLI and capture its file-system output in the lab directory
- Drive the same agent from the Hermes web interface and confirm a second output artifact is produced
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
- Anthropic API key set as ANTHROPIC_API_KEY in the environment
- curl available on the host machine
- Node.js 18+ or Python 3.10+ available (used by the Hermes installer)
Topics: hermes-agent, gateway, web-ui, cli, deployment, anthropic, filesystem-tools, dual-surface
Create a free account to start this lab.
Keep going
- Persistent OpenClaw: docker-compose with Surviving Volumes
- Run the Hermes Gateway as a Persistent Service with Request Logging and Clean Shutdown
- Schedule a LangGraph Morning Briefing Agent
- Serve MCP over Streamable HTTP and Connect a Remote Client
- Route a CrewAI Agent Through Your Own OpenAI-Compatible Gateway
- Lock OpenClaw Down: Pairing Approval, Per-Skill Permission Scoping, and Shell Command Allowlisting