Hermes Agent
Hermes Agent vs Claude Code: which to use and how to pair them
Updated 30 November 2026
Claude Code is the better fit for working inside a repository when you want to review and refine edits in your editor. Hermes Agent is the better fit for a general-purpose assistant that runs jobs and sends results to your chat apps. You can also use both. Hermes ships a skill that hands a coding task to a separately installed Claude Code command-line tool and gets the result back.
This guide uses the Hermes Agent 0.23.5 documentation, the bundled Claude Code skill 2.2.1, the Claude Code 2.1.332 release and Anthropic’s live Claude Code docs, read on 30 November 2026. The ReadyHermes details come from its product facts verified on the same date.
What each agent does and where it runs
| Question | Claude Code | Hermes Agent |
|---|---|---|
| What is it for? | Anthropic’s coding agent reads a project, edits files and runs commands to implement features or fix bugs. | Nous Research’s general-purpose agent combines messaging, persistent memory and scheduled jobs with tools for files and coding. |
| Where do you use it? | A terminal, VS Code, JetBrains IDEs, the Code tab in Claude Desktop, the web or the Claude mobile app. | A terminal, Hermes Desktop, compatible editors through ACP, or chat apps such as Telegram, Discord and WhatsApp through the messaging gateway. |
| Where does the work run? | Local sessions can work on your machine. Cloud sessions use a virtual machine managed by Anthropic by default. A Team or Enterprise Owner can enable the self-hosted environments beta to run sessions on the organisation’s own infrastructure if cloud sessions are enabled. The beta is unavailable to organisations using Zero Data Retention or Anthropic’s HIPAA configuration. | The agent runs on a computer or server. Its terminal tool can run commands there or use a backend such as Docker or SSH. |
Claude Code’s Desktop diff view lets you review changes file by file and comment on individual lines. Hermes’s gateway can handle chat requests and send the results of scheduled jobs.
Claude Code’s Channels research preview offers plugins for Telegram, Discord and iMessage. The plugins need Bun to run, and the iMessage plugin also needs macOS. Channels requires a claude.ai login or a Console API key. Team and Enterprise organisations and Console organisations that deploy managed settings must enable Channels for their members. Follow Anthropic’s setup instructions for your channel. Channel events arrive only while the Claude Code session is running.
Models, licence and cost
Hermes Agent is MIT-licensed. Configure its model and provider with hermes model. Options include hosted providers such as OpenRouter, Anthropic and Nous Portal, and self-hosted inference through Ollama or vLLM. Costs depend on what you choose. A provider can charge by usage or subscription, and you may pay for the machine running Hermes or the model. The Claude model setup guide covers using Claude for Hermes’s own replies.
Claude Code is proprietary software under Anthropic’s terms. Its /model picker can offer Claude model aliases such as sonnet, opus, haiku and fable, depending on the account or provider. Anthropic supports Claude models through services including Amazon Bedrock, Google Cloud’s Agent Platform and Microsoft Foundry. Its gateway support is limited to Claude models.
Anthropic lists Pro, Max, Ultra, Team and Enterprise as paid Claude plan options for Claude Code. The free plan excludes it. Claude Console bills by tokens, with the amount depending on the model and usage. Cloud sessions count towards your Claude plan’s usage limits. Anthropic charges no separate fee for the virtual machine it provides.
What keeps scheduled work running
The running Hermes gateway executes one-time and recurring agent jobs in separate sessions. It can deliver the result to a configured chat destination or save it locally. Hermes also supports script-only jobs that skip model calls. See the Hermes cron guide for setup and delivery checks.
For Claude Code, check what needs to stay running for each kind of task.
- Session tasks use
/loopor cron tools and fire when Claude Code is running and idle. A background session can keep running without an open terminal. In 2.1.332, newly created recurring session tasks expire after 30 days. Resuming a session can restore eligible tasks created withCronCreate. Restart self-paced loops after resuming. Restored recurring tasks skip runs missed while the session was closed. - Local Desktop tasks start a fresh session with access to local files and tools. Keep the app open and the computer awake for runs to start on schedule. When the app opens or the computer wakes, Desktop catches up once for the most recent run missed in the past seven days.
- Cloud scheduled tasks, formerly routines, are in research preview. A schedule, API call or GitHub event can start one while your laptop is off. You need a claude.ai account on Pro, Max, Ultra, Team or Enterprise with access to scheduled tasks. If the setup screen says “Picking a repository makes this a Claude Code task”, select a repository. A schedule alone on that screen creates a claude.ai chat task. For a GitHub trigger, install the Claude GitHub App on the repository that will send events. Recurring schedules can run at most once per hour.
What the agents remember and how skills work
By default, Hermes loads a snapshot of MEMORY.md and USER.md when a session starts. The default profile keeps these files in ~/.hermes/memories/, and named profiles have their own memory directories. Hermes can update the notes with its memory tool and find past conversations with session_search. It loads SKILL.md instructions as needed. Skills can come bundled, be installed separately or be written by the agent. See the Hermes skills guide.
Claude Code reads persistent instructions you write in CLAUDE.md. Auto memory is on by default for local sessions and normally saves project notes under ~/.claude/projects/<project>/memory/. Claude Code can load a skill when relevant or when you invoke it by name. Project skills live at .claude/skills/<skill-name>/SKILL.md and personal skills at ~/.claude/skills/<skill-name>/SKILL.md.
Set up the two command-line tools
- Install Hermes Agent, run
hermes setupand choose its inference provider. Open a chat withhermesand check that it replies. - Install Claude Code where Hermes runs its terminal commands. With Docker, install and sign in inside the container Hermes will use for the handoff. If Hermes creates a separate container for each conversation, it removes that container when the conversation ends or the container sits idle for too long. If Hermes starts a new container, install Claude Code and sign in again there. To share a project folder from your computer, use
docker_volumesunderterminal. By default, new files in that shared folder can be owned by root, which can prevent you from editing them on your computer. With SSH, make sure the project is available on the remote host. Give Hermes the absolute project path as it appears inside the container or on the remote host. Follow the native installer instructions. On Alpine and other musl-based Linux distributions, installbashandcurlfirst if they are missing. On macOS, Linux or WSL, runcurl -fsSL https://claude.ai/install.sh | bash. In native Windows PowerShell, runirm https://claude.ai/install.ps1 | iex. - After installation, open a fresh terminal in the same environment and under the same operating system account that runs Hermes’s terminal commands. Use the same home and Claude Code configuration directories that Hermes’s terminal tool sees. If the profile has a separate tool home, use it as your home directory when you sign in. Open the project directory. For a Claude subscription, run
claudeand follow the browser prompts. If the browser does not open automatically, presscto copy the login URL, then open it in your browser. For Anthropic Console billing, runclaude auth login --console. If the browser shows a login code, paste it into the terminal when prompted. - Ask Hermes to run
claude --versionandclaude auth statusthrough its terminal tool. Look for a version number and the authentication method you expect. For installation diagnostics, useclaude doctor.
The Hermes skill lists npm install -g @anthropic-ai/claude-code. Anthropic’s live setup docs still list npm as an option, while its tagged README marks it deprecated and recommends the native installers. Use the native route above for a fresh install.
Hand a coding task to Claude Code and check the result
For this walkthrough, use Hermes in a terminal or a chat app connected to its messaging gateway. In your Hermes profile, run hermes skills list and look for claude-code. Hermes includes it in the bundled skill catalog. If the profile opted out of bundled skills, run hermes skills opt-in --sync. In hermes skills config, check that claude-code is enabled under All platforms (global default) and under CLI or the messaging platform you’ll use. If the Skills toolset is disabled for that entry, enable it with hermes tools, then relaunch Hermes in the terminal or restart the messaging gateway.
In a Hermes chat, ask it to use the claude-code skill and give it a specific task and the absolute path to the project. The skill lives at skills/autonomous-ai-agents/claude-code/SKILL.md in the source tree. It shows this call to Hermes’s terminal tool. Hermes makes the call, using your project directory as workdir.
Run this example only in a project you trust. Print mode skips the workspace trust dialog. As used here, it can run commands from project hooks and connect to the project’s MCP servers without asking. For your first check, ask Claude Code to explain a file you know before you ask it to edit anything.
terminal(command="claude -p 'Add error handling to all API calls in src/' --allowedTools 'Read,Edit' --max-turns 10", workdir="/path/to/project", timeout=120)Claude Code’s -p flag runs the task in print mode, returns output and exits. Check that Hermes called Claude Code through the terminal and that the returned answer refers to the file in the intended project. For an editing task, review the actual file changes against your request.
Permissions, interactive sessions and imports
If Hermes cannot use the terminal tool, check tool access for CLI or your messaging platform with hermes tools. If the shell cannot find claude, check that the install directory is on the terminal backend’s PATH. If the authentication check fails, check which user account and Claude Code configuration directory Hermes’s terminal is using.
The bundled skill describes --allowedTools as a whitelist. Follow Anthropic’s permission docs for what the flag does. The bare Read and Edit rules can pre-approve reads and edits outside the project directory, subject to Claude Code’s other permission checks. Reads from network paths receive a separate check. Other tools can still run if they need no approval. Use --tools to limit which built-in tools are available. A configured permission host can still receive approval requests in print mode. If the run stops on a permission issue, check Claude Code’s permission settings and the tool output.
To follow the bundled skill’s interactive recipe, install tmux where Hermes runs its terminal commands. The skill uses it to send follow-up prompts and read Claude Code’s output. Tell Hermes to show you any workspace trust or tool permission prompt and wait for your decision before responding. Approve workspace trust only for a project you trust. Close the tmux session when you finish. Hermes’s terminal tool schema also documents a pseudo-terminal for background interactive commands on the local backend.
The separate agent-importers plugin can copy Claude Code settings and content into Hermes. On your own Hermes installation, run hermes plugins install agent-importers in the profile you want to import into and answer yes when asked whether to enable it. Then run hermes import-agent claude-code --dry-run to see what it would copy. Use the terminal handoff above when you want Claude Code to execute a task.
Hermes Agent on ReadyHermes
ReadyHermes hosts your Hermes Agent on its servers and keeps it running. The 30-minute free trial includes AI. Running Claude Code on or with a ReadyHermes assistant has not been tested. Installing catalogue plugins on a ReadyHermes assistant is unsupported.
The Anthropic entry in the Model key panel accepts an Anthropic API key for Hermes’s model, and Claude subscription sign-in is unavailable on ReadyHermes.
Questions
Is Hermes Agent or Claude Code better for coding in an editor?
Claude Code is the better fit if you want editor integration and a visual diff to review individual changes. Hermes Agent is a better fit for a chat assistant that also runs scheduled jobs and sends results to your chat apps.
Can Hermes Agent use Claude Code?
Yes. Hermes Agent 0.23.5 bundles the claude-code skill. It uses the Hermes terminal tool to call a separately installed and authenticated Claude Code CLI. Give Hermes the project’s absolute path in the environment where its terminal commands run.
How can you check that the Claude Code handoff works?
Ask Hermes to run claude --version and claude auth status through its terminal tool. Then give it the project’s absolute path and ask the claude-code skill to explain a file you know. Check that Hermes called Claude Code and that the result refers to the intended file and project.
Can Claude Code run scheduled tasks while your laptop is off?
Yes. Claude Code’s cloud scheduled tasks are in research preview and can run while your laptop is off if your account has access. Session tasks fire when Claude Code is running and idle. Local Desktop tasks need the app open and the computer awake to run on schedule, and Desktop can catch up once on startup or wake.
Has the Claude Code handoff been tested on ReadyHermes?
Running Claude Code on or with a ReadyHermes assistant has not been tested.