# Everyone is switching to Hermes Agent… you should too.
<!--
ref: @content/youtube/david-ondrej/2026-05-01-hermes-agent-orchestrating-claude-code-subagents
version: 3
updated_at: 2026-10-31T18:34:25.666Z
-->

David Ondrej (2026-05-01): David Ondrej's argument is that the interesting part of Hermes Agent is not the setup everyone demos but the orchestration layer nobody shows: Hermes as a manager that spawns and supervises Claude Code instances as subagents.

*Synthesized from David Ondrej on David Ondrej, 2026-05-01.*

David Ondrej builds an end-to-end pipeline live: Hermes Agent on a VPS, orchestrating Claude Code subagents, pushing to GitHub, auto-deploying to Vercel — all driven by plain-English Discord messages.

## Core Thesis

David Ondrej's argument is that the interesting part of Hermes Agent is not the setup everyone demos but the orchestration layer nobody shows: Hermes as a manager that spawns and supervises Claude Code instances as subagents. Once Hermes holds a GitHub token and Claude Code is authenticated on the same box, the whole build-commit-deploy loop collapses into a chat message. He frames the near future as an org chart of agents — humans talking to agent managers that talk to agent workers — and argues the workflow is worth a one-time 60-90 minute setup because it removes the requirement to be at a terminal to ship.

## Key Insights

- Hermes is roughly two months old with over 100,000 GitHub stars. David Ondrej attributes the surge to it being free, open source, reachable through WhatsApp, Telegram, Discord, and Slack, shipping constantly, and running a self-improving loop. He also credits displacement from OpenClaw, which he says grew bloated — slow updates, slow gateway restarts — after OpenAI hired its founder.
- Put the agent on a VPS, not your laptop. The reasoning: a VPS gives the agent a full operating system it can install into and act on autonomously, without risking your own files or requiring your machine to stay awake. One mid-tier VPS comfortably hosts Hermes, Claude Code, other agents, automation tooling, and a full-stack app at once.
- The step most tutorials omit: Hermes installs its own Node.js but does not add it to the system PATH. Until you run the PATH command, `node -v` fails and Claude Code cannot be installed. This is the silent blocker.
- Hermes ships with a `claude-code` skill for delegating coding work already bundled — you only need to install and authenticate the Claude Code CLI itself (version 2.1.71 at recording). `claude doctor` verifies the install.
- **Never paste a token into the agent chat.** David Ondrej is explicit that doing so sends your secret through the inference provider — OpenRouter and then the model vendor. Instead use `hermes config set <NAME> <token>`, which writes it into Hermes's `.env`. The agent can authenticate with it and perform operations, but cannot read the value back, so it cannot leak it.
- GitHub classic token scopes needed for push, PRs, and Actions: `repo`, `workflow`, `read:org`, and optionally `write:packages`. Nothing more.
- OpenRouter as the inference layer means no ecosystem lock-in — swap models freely. He funded it with $5-10 in credits and set a $20 spend cap on the key specifically so a leak can't drain the account.
- Discord bot setup, in order: create an application in the Discord Developer Portal, reset and copy the bot token, enable all three privileged gateway intents, then in OAuth2 select exactly two scopes — `bot` and `applications.commands` — and use the generated URL to invite it. Feed the bot token, your user ID, and home channel ID into `hermes setup gateway`. Copying your user ID requires Developer Mode enabled in Discord settings. The multi-select in the gateway setup needs space to toggle before enter, which David Ondrej calls unintuitive.
- Delegation is non-blocking: while Claude Code scaffolds and builds in the background, Hermes stays free for web search, email, or anything else. He had Hermes create a cron job to poll build status and report back — noting cron's minimum interval is one minute, not the 30 seconds he asked for — and by the second round Hermes created the update cron unprompted, having learned he wanted frequent progress pings.
- Two real failures surfaced. First, Claude Code refuses to run with `--dangerously-skip-permissions` under sudo/root privileges. Second, the app failed on Vercel because SQLite writes to a read-only serverless filesystem — an architecture mistake David Ondrej owns as his own, not the agent's. The agent proposed Turso/libSQL as the drop-in; he instead had it kill the running subagent, launch a fresh one, strip the backend, and use local storage.
- A push got blocked over commit authorship; the fix was telling Hermes to set commits to the correct author email and force-push. He notes this is an argument for separating agents so one doesn't commit another's database file.
- Once GitHub is connected to Vercel, every push auto-deploys to a public URL in roughly 28-40 seconds. The full loop — voice note in Discord to live production — runs in minutes from a phone.

## Actionable Takeaways

1. Provision a VPS and SSH in, then run the Hermes one-line installer from the official GitHub. It pulls every dependency (Node.js, ripgrep, ffmpeg) and takes about two minutes.
2. Immediately after install, add Hermes's bundled Node.js to the system PATH and verify with `node -v` before attempting anything else.
3. Install the Claude Code CLI via npm on the same VPS and authenticate it interactively — the browser won't open on a headless box, so copy the auth URL to your local machine, authorize, and paste the code back.
4. Store every secret with `hermes config set`, never in a chat message. Verify it landed by asking the agent to locate the token in the `.env` — it can confirm presence without exposing the value.
5. Create the GitHub repo through the agent itself: Hermes ships a GitHub auth skill, and asking it "what do you need from me" produces the exact token scopes and setup order. Auth before repo creation, per its own instruction.
6. Connect the repo to Vercel before the first real build so the deploy pipeline is live and the only remaining variable is the code.
7. Pick a deploy-target-compatible architecture up front. SQLite on a file path will not survive Vercel's serverless functions — use Turso/libSQL, or drop the backend entirely for a client-side prototype.
8. Ask Hermes to set a one-minute cron to poll long-running subagents and message you, with instructions to delete the cron on completion.
9. Keep separate agents in separate scopes so a subagent's stray commit doesn't contaminate another project's repo.

## Notable Quotes

> "Do not do that because it goes to the API provider." — David Ondrej

> "The beauty of AI agents is that you can do other stuff while they do your work." — David Ondrej

> "Everybody knows that you can oneshot amazing front ends, but people don't understand the deployments and the actual practical use cases." — David Ondrej

> "Literally, all of us are going to be CEOs talking to a bunch of agent managers." — David Ondrej

---

*You're reading a protocol on [protocol.supply](https://protocol.supply) — hosted, searchable knowledge for AI agents. Think Agent Skills, as an API: bootstrap once (`curl -sL https://api.protocol.supply/bootstrap`), search (`/search?q=…`), fetch (`/@repo/slug`).*

*Any skill can become a protocol, and any protocol installs as a local skill — tell your agent "install this as a skill" or see [`@protocol/protocol-to-skill`](https://api.protocol.supply/@protocol/protocol-to-skill).*