Why install a local AI agent on your computer when you already have a chat open in your browser? Web chats share one big flaw: close the tab, and your assistant goes to sleep. It can't see open windows, check your server every two hours, or remember your habits in the next session.
Hermes Agent by Nous Research fills that exact gap. This open-source agent under the MIT license (267,757 stars and 60,977 forks on GitHub) runs directly on your machine or server. It answers to your voice, clicks in background windows without grabbing your mouse, builds its own skills, and works with any model. Let's look at how it works, what to turn on first, and where to keep the guardrails up.
Official promo illustration for the open-source Hermes Agent by Nous Research (Source: hermes-agent.nousresearch.com)
The Agent Core, SOUL.md, and the Subscription Catch
Every Hermes interface shares one core and state. Whether you open the hermes CLI, TUI (hermes --tui), the native Hermes Desktop app, or the hermes dashboard web UI, you get the same keys, sessions, memory, and skills. A gateway connects it to Telegram, Discord, Slack, WhatsApp, and Signal. Commands execute across six backends: locally, in Docker, over SSH, Modal, Daytona, and Vercel Sandbox.
Setup takes one command on Linux, macOS, WSL2, or Windows PowerShell (%LOCALAPPDATA%\hermes), and there's also an APT repository for Android/Termux.
# Install on Linux, macOS, or WSL2
curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bash
source ~/.bashrc
# Native Windows in PowerShell:
# iex (irm https://hermes-agent.nousresearch.com/install.ps1)
# Configure, pick a model, and check the environment
hermes setup
hermes model
hermes doctor
Running hermes setup and hermes doctor immediately shows if any dependencies are missing. The hermes model command (or /model in chat) swaps providers on the fly without editing code. It supports Nous Portal, OpenAI Codex, Anthropic, OpenRouter, Ollama, vLLM, xAI, and Fireworks.
To avoid repeating your tone preferences in every new chat, Hermes keeps a global persona file at ~/.hermes/SOUL.md. It loads first into the system prompt across all sessions and isn't tied to a single folder, unlike project-level AGENTS.md files.
<!-- ~/.hermes/SOUL.md -->
Reply concisely, calmly, and to the point.
Never perform irreversible actions without explicit confirmation.
If data is missing, ask first and never make up facts.
A short SOUL.md works much better than long rulebooks. The agent holds a steady tone and won't delete files without asking.
There is one catch with subscriptions. For OpenAI, hermes model supports OAuth with a ChatGPT/Codex subscription or OPENAI_API_KEY. Anthropic is stricter: OAuth only works on a Claude Max plan with purchased extra usage credits, and your base Max limit isn't used. Claude Pro subscribers can't log in that way—for Pro or reliable background runs on a server, you'll need an ANTHROPIC_API_KEY.
Voice Without Cloud Listening, Floating HUD, and Outbound Calling
Switching to a terminal for every quick question gets old fast. Hermes solves this in three ways.
First is the wake word. A local detector listens on your computer for a phrase like "Hey Hermes." It's off by default and starts with /wake on (or wake_word.enabled: true in config). Under the hood, it runs OpenWakeWord for the built-in phrase, Sherpa for custom phrases, or Porcupine. Until the wake word sounds, no microphone audio leaves for the cloud. Once triggered, the detector hands over the mic, the agent records your command, replies, and goes back to sleep.
For live voice chat in the terminal, you have /voice on and /voice tts. Press Ctrl+B to record (marked by an 880 Hz tone), and it stops automatically after three seconds of silence. Full-duplex barge-in is built in: the agent still hears you while generating or speaking, so you can interrupt mid-sentence.
Second is the HUD mode (Heads-Up Display) in Hermes Desktop. Press Cmd+Shift+H on macOS or Ctrl+Shift+H on Windows and Linux to pop the chat into a floating panel over your apps. It passes the context of the window underneath straight to the agent, so "check this page" works without taking screenshots.
To reach beyond your PC, there's an optional telephony skill (official/productivity/telephony). Using your Twilio account, the agent provisions numbers, sends SMS/MMS, and places outbound calls with confirmation before dialing, though it doesn't answer live incoming calls.
Background Computer Use Without Stealing Your Mouse and Guardrails Against YOLO Mode
In typical Computer Use demos, the AI takes over your cursor and leaves you watching idly while it clicks around. Hermes uses the open-source cua-driver (MCP over stdio) with a no-foreground contract.
On macOS, events go straight to the target PID via Accessibility and SLPSPostEventRecordTo without moving your physical cursor. On Windows, it uses UIAutomation (SendInput and PostMessage without stealing focus), and on Linux, AT-SPI with XTest and virtual-keyboard. The driver isn't locked to one vendor and works with any model that supports tool calling.
# Enable the Computer Use tool
hermes tools
# Check cua-driver and OS permissions step by step
hermes computer-use doctor
# Reinstall the driver manually if something breaks
hermes computer-use install
On macOS, CuaDriver.app needs two permissions: Accessibility and Screen Recording. Running hermes computer-use doctor tells you right away which permission is missing.
Letting an AI click around your live laptop without safety rails is risky. Some threats are hard-blocked: dangerous system shortcuts (emptying trash, force delete, screen lock, log out) and destructive patterns like curl | bash, sudo rm -rf /, and fork bombs. The system prompt also forbids clicking OS permission dialogs, typing passwords, or following instructions found inside screenshots (protecting against prompt injection).
You set the level of freedom in ~/.hermes/config.yaml:
# ~/.hermes/config.yaml
approvals:
# Confirm actions manually; never set off on a work machine
mode: manual
wake_word:
# Turned on explicitly via /wake on
enabled: false
In manual mode, the agent asks for approval (once / session / always). In bounded mode, you approve a permission manifest once at startup. On the far end sits YOLO mode (--yolo, /yolo, or approvals.mode: off), which turns off runtime checks.
| Approval mode | How it works | Where it fits |
|---|---|---|
manual | Asks approval for actions (once / session / always) | Primary laptop with email, browser, and files |
bounded | One-time manifest approval at launch | Repeatable tasks with a known set of tools |
--yolo / off | Runs without runtime confirmations | Isolated tests and Docker sandboxes only |
The --yolo and /yolo flags remove all manual brakes. On a work computer with active logins, that creates a direct risk of misclicks or prompt injection from an untrusted webpage. For full autonomy, use the Docker sandbox (nousresearch/hermes-sandbox:desktop) or a separate SSH container.
Quiet Schedules, Self-Learning via /learn, and Model Councils
The biggest annoyance with background checks is messenger spam saying "all quiet, no changes." Hermes's scheduler (cronjob_manage or /cron add, plus no-agent mode for simple scripts without an LLM) fixes this by pairing [SILENT] with continuity=true. If your prompt tells the job to reply with [SILENT] when there's no news, Telegram notifications are suppressed and logs go quietly to ~/.hermes/cron/output/ (you still get an alert if a job fails). Setting continuity=true feeds the job its previous report so it won't repeat yesterday's facts.
# Commands inside an interactive hermes session
/wake on
/voice on
/voice tts
/learn https://docs.example.com/api
/moa Compare caching designs for the service and propose a plan
/cron add "every 2h" "Check status. If everything is ok, reply [SILENT]."
You can test a job before an overnight run with hermes cron run <job-id>. Global switches hermes pause --reason "maintenance" and hermes resume stop new jobs from starting without killing running ones. Keep one simple limit in mind: a sleeping laptop can't run schedules, so put the agent on a VPS for 24/7 monitoring.
The second standout feature is self-learning with /learn. Skills live in ~/.hermes/skills/ in the SKILL.md format (agentskills.io) and load in stages: first a compact skills_list() (~3,000 tokens), then skill_view(name), and only then the needed files. You can feed /learn a folder, URL, notes, or a recent successful chat, and the agent builds a ready-to-use skill. Browse the hub with hermes skills browse --source official and hermes skills install <id>, or gate new skills with skills.write_approval. Hermes also indexes session history locally in SQLite FTS5.
For tough questions, Hermes includes Mixture of Agents (MoA), a council of models. Your prompt goes to several advisor models in parallel, and a lead aggregator model combines their answers and calls tools if needed. A filter strips API keys and tokens before sending. Running /moa <prompt> enables the council for one turn and switches back automatically (set a permanent preset with /model <preset> --provider moa). Token usage multiplies fast here, so save the council for calls where a single model's mistake would cost more.



