To use Hermes as an orchestrator for Claude Code, run Hermes as the always-on layer that holds your memory, schedule, and channels, and hand execution-heavy work to Claude Code through short delegation briefs with explicit done-criteria and verification gates. Hermes plans, remembers, and reports. Claude Code reads the repo, writes the code, and runs the checks. The split works because each tool is kept where it is strong, and the discipline that connects them is written down, not improvised per session.
A note before the method. I run a consulting and build practice on this stack, plus a small production SaaS. Client deliverables, site builds, research, back-office routines: the stack does real billable work every day. Nothing below is a thought experiment, and nothing below requires a big operation to copy. It requires the discipline more than the tooling.
What is Hermes? Hermes is an open-source, MIT-licensed AI agent from Nous Research. It connects any capable model to messaging platforms like Telegram, Discord, and Slack, runs on local machines, Docker, or a VPS, schedules recurring work with cron, and keeps persistent memory across sessions, with a built-in learning loop that turns experience into reusable skills. It also ships a first-party skill for delegating coding work to the Claude Code CLI, which is the seam this whole guide is built on.
Why put an orchestrator above Claude Code at all?
The most common question in the Hermes community is some version of: what does this do that Claude Code alone cannot? Fair question, because for a single coding session the answer is nothing. The orchestrator earns its place the moment your work stops fitting inside one session:
- It is always on. On a VPS, Hermes works while your laptop is closed. Scheduled routines run at 6am, a build kicked off from your phone finishes while you are at dinner, and the completion ping arrives either way.
- It remembers. Claude Code starts each session from the repo plus whatever context files you maintain. Hermes carries durable memory across every session and channel: who your clients are, what was decided last week, which approach failed before and why.
- It reaches you where you are. A messaging gateway turns your phone into the command line. Assign work, answer the one fork question that needs you, and approve the result without opening a terminal.
- It holds the queue. One layer owns what should happen next across many projects. Individual Claude Code sessions execute one card at a time; the orchestrator sequences them.
If none of those apply, you do not need an orchestrator yet. Close this tab and keep shipping. If two or more apply, the rest of this guide is the operating manual. And if you are still choosing the execution layer itself, our comparison of OpenClaw, Claude Code, Cursor, and Windsurf covers that decision; everything below assumes Claude Code won.
What does the stack actually look like?
Four roles, each held by the simplest thing that can hold it:
| Role | Held by | What it does |
|---|---|---|
| Orchestrator | Hermes (always-on) | Plans, sequences, remembers, schedules, reports to your channel |
| Execution engine | Claude Code | Reads the repo, writes code and content, runs builds and tests |
| Work queue | A markdown kanban board in the repo | Single source of truth for what is Ready, In flight, Blocked, Done |
| Source of truth | Durable memory files | Who you are, what the business is, hard rules, decisions and their reasons |
The two unglamorous rows are the ones that compound. The board and the memory files are plain markdown in version control, readable by every agent and every human, no database, no SaaS dependency. When people show off their agent stacks they screenshot the messaging gateway. The board and the memory files are where the leverage lives.
How do you connect Hermes to Claude Code?
Install the Claude Code CLI and sign in on the machine or VPS where Hermes runs, then let Hermes call it through its bundled claude-code skill. Hermes runs the CLI in print mode for one-shot tasks or in an interactive tmux session. Test the link with one small, checkable task first.
Most failed setups trace to the second machine. If Hermes lives on a VPS, Claude Code has to be installed and authenticated on that VPS, not on your laptop. Run the same small task by hand first, from the account Hermes runs under, so a login or permissions problem shows up before the orchestrator hides it inside a scheduled run.
If you searched this because you want Claude as the model Hermes itself thinks with, that is a separate setup: see how to connect Claude to Hermes for the API key, Claude Max and OpenRouter routes.
Connect them in five steps
- Install Claude Code where Hermes runs. On the same machine or VPS, as the same user account Hermes runs under:
npm install -g @anthropic-ai/claude-code - Sign in once. Run
claude auth loginand choose your Claude Pro or Max account if you want subscription billing. On a headless VPS, finish the login link from any browser. - Decide how Claude Code bills. If
ANTHROPIC_API_KEYis set in the environment Hermes launches from, Claude Code bills that API key per token instead of your plan. Check withecho $ANTHROPIC_API_KEYand unset it if you want the subscription. - Prove the link by hand. Run
claude -p "Reply with exactly: OK"from that account. If it answers, Hermes can reach it. If it fails here, it will fail silently inside a scheduled run. - Hand Hermes one small, checkable task. Ask it to use its claude-code skill on something you can verify in a minute, such as adding a line to a README and reporting the diff. Only then start delegating real board cards.
Do you pay for Claude twice with Hermes and Claude Code?
Only if you set it up that way. There are two separate bills to check: the model Hermes itself thinks with, and the Claude Code CLI it delegates to. Claude Code signed in with Pro or Max draws on your plan. Hermes's own model is whatever provider you picked in hermes model, and an Anthropic API key or another paid provider there is a second, per-token bill.
- One bill: run both on the subscription. As of November 2026, Hermes ships an experimental provider,
hermes plugins install claude-subscription-directsdk, that routes Hermes's own turns through the signed-in Claude Code CLI. Its docs say every turn counts against your plan's Agent SDK allowance. - Two bills, on purpose: a cheap model for Hermes's planning and the subscription for Claude Code's heavy lifting. This is often the cheapest setup, because the orchestrator reads a lot and writes a little.
- The surprise bill: users have reported Hermes's built-in Anthropic provider drawing on paid "extra usage" credits instead of plan quota. If you do not want overage charges, turn extra usage off in your Claude account settings and watch usage for the first week.
Anthropic and Nous Research have both changed these rules more than once in 2026, so check your Claude usage page after the first day of real work rather than trusting any guide, this one included.
How do you delegate work from Hermes to Claude Code?
The bundled claude-code skill gives Hermes two modes, and picking the right one per task is most of the craft:
- Print mode runs a one-shot task and exits. No terminal session to manage, output captured cleanly. This is the default for anything you can specify up front: implement this card, write this draft, run this migration against staging.
- Interactive mode keeps a live session in tmux that Hermes can send follow-ups to and read output from. Reserve it for genuinely exploratory work, because a supervised session multiplies cost and attention.
Either way, the handoff artifact is a delegation brief, and its shape matters more than its length: the objective in one sentence, why it matters, the done-criteria the work will be verified against, and the boundaries. The unit of delegated work is a board card, one coherent outcome, small enough to verify in one review. Vague cards produce vague pull requests.
The rule that keeps the whole loop honest: the worker never grades its own homework unchecked. Every brief includes done-criteria that are mechanically checkable, and the orchestrator confirms them from evidence: exit codes, test output, a diff, a live URL. An agent report that says it is done, without a green check attached, is treated as not done.
If you want the briefs, board setup, and verification steps as ready-to-use skills instead of building them from this guide, they're in the orchestration kit.
How do you route models so this does not get expensive?
An always-on orchestrator plus long-running coding sessions can burn real money if every token runs on the premium tier. The pattern that works is the one several practitioners have independently converged on: a smart controller directing cheaper workers.
- The orchestrator reads a lot and writes a little. Planning, judgment, and review are input-heavy and output-light, which is the cheap direction on every price sheet. This is where the capable model belongs.
- Workers are verbose. Code, drafts, and test output are output-heavy, which is the expensive direction. This is where the mid-tier model belongs, and where a fast cheap model handles the mechanical subtasks.
- Escalate on failure, not on anxiety. Route by task difficulty. When a cheap tier fails its own verification, bump the task up one tier automatically instead of shipping a bad result or defaulting everything to the top.
The dial that matters is the ratio: most volume on the cheap tiers, judgment on the capable one, and the top-tier model reserved for the genuinely hard calls. When we published our guide to prompting Claude Fable 5, the core of it was exactly this selection discipline.
