# Everyone is switching to Hermes Agent… you should too.
<!--
ref: @content/youtube/david-ondrej/2026-05-01-everyone-is-switching-to-hermes-agent-you-should-t
tags: [ai-agents, hermes-agent, claude-code, sub-agents, orchestration, self-hosting, github-automation, discord-bots, vercel-deployment]
version: 2
updated_at: 2026-11-21T21:04:21.841Z
-->

**[Watch on YouTube](https://www.youtube.com/watch?v=1nDiiXfMUK4)**


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

A solo walkthrough of running Hermes Agent, an open-source self-improving agent, on a private server, with Claude Code installed as sub-agents that it manages, GitHub for code, and Vercel for automatic deploys.

*Notes: the transcript gives the presenter's name as David Andre, and the channel is David Ondrej. The name is used as the transcript states it; the two may be the same person.*

## Core Thesis
David Andre argues that Hermes Agent becomes far more useful when it acts as an orchestrator that launches Claude Code instances as sub-agents. In his setup, a user chats with Hermes in Discord in plain English, Hermes delegates the coding to Claude Code on the same server, pushes the result to GitHub, and Vercel redeploys the app publicly within about 30 to 40 seconds. The main lesson is that the orchestrator stays free to take other messages while the coding runs.

## Key Insights
- **Why a server:** the agent gets its own full operating system, can install whatever it needs, and keeps running when the laptop is closed. Running it on the laptop risks it deleting local data.
- **Model routing:** Hermes sends its model calls through OpenRouter, so the model can be swapped without changing the agent. The walkthrough uses Claude Opus 4.7 and mentions moving between 4.6 and 4.7.
- **Node.js PATH fix:** Hermes installs its own Node.js copy that is not on the server's PATH, so the user has to link it manually before installing the Claude Code CLI through npm. The Claude Code version shown is 2.1.71.
- **Authentication:** Claude Code is authenticated once on the headless server by copying a login URL to a local browser and pasting the code back, and the folder is trusted on first run.
- **GitHub token handling:** a classic personal access token is created with repo, workflow, read:org and write:packages scopes. It is stored with the Hermes config command instead of being pasted into chat, because chat content goes to the model provider. The agent can then use the token without reading the full value.
- **Discord bot:** a new application and bot are created in the Discord developer portal. All three privileged gateway intents are enabled, and the bot is invited with the bot and application commands scopes. Developer mode is needed to copy the user ID and channel ID. The gateway is started from a terminal, and the walkthrough notes that installing it as a system service did not work.
- **Failure one, SQLite on Vercel:** the first version kept a SQLite file. Vercel serverless functions have a read-only filesystem, so the build failed. The fix was to strip the database and use local storage.
- **Failure two, push rights:** pushes were blocked because the commit author email did not match the one the GitHub account allowed. Re-authoring the commits with the GitHub-linked email fixed it.
- **Progress polling:** a scheduled Hermes job checked the Claude Code process and reported to Discord. One minute is the shortest interval the scheduler allows, and the job was removed when the build finished.
- **Scope of the demo:** the test app was a deliberately simple Next.js stretch tracker, with a redesign run as a second sub-agent task.

## Actionable Takeaways
1. Run the agent on a separate server rather than a personal machine, so it can install dependencies and keep working unattended.
2. Install Hermes with its one-line installer, add its bundled Node.js to PATH, then install Claude Code through npm and log in once on the server.
3. Create a GitHub classic token with repo, workflow, read:org and write:packages, and store it with the Hermes config command rather than in a chat message.
4. Set up the Discord bot by enabling all three privileged gateway intents, inviting it with bot and application commands, then running the Hermes gateway setup and start commands.
5. Connect the GitHub repo to Vercel for automatic deploys, and do not rely on a local SQLite file on serverless hosting. Use local storage for a prototype, or an external hosted database.
6. Schedule status checks with a minimum interval of one minute, and remove the job once the sub-agent finishes.

## Notable Quotes
> "This video will allow you to build software four to eight times faster than you currently build." — David Andre

---

*Related: `@content/web/github/2026-11-26-opus-context-fills-faster-issue-112194` · `@content/web/github/2026-11-26-interactive-session-misclassified-background-issue-112133` · `@content/web/github/2026-11-26-autodream-silently-ignored-issue-112310` · `@content/web/github/2026-11-25-followups-scope-issue-112120` · `@content/web/github/2026-11-25-claude-code-v2-1-332`*

---

*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).*