Hermes Agent on Nous Portal: a setup guide
TL;DR Hermes Agent is a free, open-source assistant you run yourself, and Nous Portal is the optional account that can supply the models and hosted tools. This guide walks through the official install and Portal setup, then the four spots where setups usually stall: Discord intents, one bot token per profile, Telegram pairing with /sethome, and cron jobs on the right profile. Everything here comes from the official Hermes docs.
Disclosure: This guide contains referral and affiliate links (marked “sponsored”). Some links earn me a commission or credit, at no cost to you. I’m not affiliated with these companies. Where a link gives you no perk, I say so. How this works.
Facts checked
| Tool | New-user perk | Checked |
|---|---|---|
| Nous Portal | $15 off your first month on the $20 plan (new accounts only). Offer may change, check the site before you buy. | |
| Railway | Check their current offer. |
Who it suits
People who want to run Hermes Agent themselves, talk to it from Discord or Telegram, and use Nous Portal for models and tools.
Who should skip it
If you only want a quick chat in a website, you don’t need any of this. If your Hermes install already works, jump to the section for the error you’re seeing.
How this guide was put together: every step and error name below comes from the official Hermes Agent docs and the official NousResearch/hermes-agent repo, checked November 18, 2026 (sources at the end). I haven’t timed or benchmarked anything here, and I haven’t run this setup on Railway or DigitalOcean, so those are listed only as hosting options.
What Hermes Agent and Nous Portal are
- Hermes Agent is free and open source under the MIT license. You can install it on your own computer and point it at Nous Portal, your own provider keys, an OpenAI-compatible endpoint or a local model.
- Nous Portal is the optional account that bundles the model catalog, hosted tools (web search, image generation, text-to-speech and a cloud browser on paid plans) and Hermes Cloud hosting under one sign-in. The official setup is one command,
hermes setup --portal, or one click in Hermes Desktop. - Plan prices and what each plan includes are in the companion guide, Is Nous Portal worth it? This page is about getting it running.
Opening a new Nous Portal account? The ByteAugur perk is $15 off your first month on the $20 plan (new accounts only). Offer may change, check the site before you buy. Open Nous Portal (My referral link.) The Nous Portal deal page has the same wording and how to redeem it.
Install it, then get one normal chat working
- On macOS or Windows, the official recommendation is the Hermes Desktop installer from the Hermes Agent website. The official install docs say the macOS installer is Apple Silicon only, and that macOS on Intel (x86) is not a supported platform. For a command-line install on Linux, macOS or WSL2, the official command is:
Then reload your shell (curl -fsSL https://hermes-agent.nousresearch.com/install.sh | bashsource ~/.bashrcorsource ~/.zshrc). For native Windows, the official PowerShell command on the same docs is:iex (irm https://hermes-agent.nousresearch.com/install.ps1) - Get one plain chat working before you add Discord, Telegram or cron. The quickstart’s rule of thumb: if Hermes can’t finish a normal chat, don’t pile on more features yet.
- The easiest provider path is Nous Portal. On a fresh install, run:
Per the quickstart, that signs you in, sets Nous as your provider and turns on the Tool Gateway. You can also runhermes setup --portalhermes modelto pick a provider, then start chatting withhermes. - Once a normal chat works, set up messaging with
hermes gateway setup. That wizard configures platforms like Discord and Telegram, andhermes gatewaystarts the messaging gateway. When something feels off,hermes doctoris the first thing to run.
Discord: turn on the privileged intents, then restart
This is the step that trips up most Discord setups. Hermes always asks Discord for message content, so in the Discord Developer Portal open your application → Bot → Privileged Gateway Intents and turn on both Message Content Intent (so the bot can read messages) and Server Members Intent (the official setup table marks it required, so the bot can match usernames on the allowlist). Presence Intent is optional. Click Save Changes, then restart the gateway:
hermes gateway restart
If the intents are off, Discord rejects the login with a PrivilegedIntentsRequired error. Hermes then marks the Discord platform as failed with the code discord_intents_required instead of retrying forever, because this is a problem that can’t fix itself. Either name means the same thing: turn the intents on, save, and restart.
Keep the bot token out of screenshots, notes and any chat you don’t trust. Discord shows it once, and anyone who has it can control your bot.
One bot token per profile
A messaging bot can belong to only one Hermes profile. If two of your profiles are set up with the same token, the official docs say the second one is refused at startup with duplicate_credential (or telegram-bot-token_lock when the other one is a separate local gateway). Cloning a profile deliberately leaves bot tokens behind for the same reason.
Want two agents in Discord or Telegram? Create two bots and give each profile its own token, using hermes -p <profile> setup or the dashboard’s Messaging page. The -p flag points any command at a specific profile, hermes profile shows which one is active, and hermes profile use <profile> sets a sticky default.
Telegram pairing, profiles and /sethome
- Instead of collecting user IDs by hand, anyone unknown who DMs the bot gets a one-time pairing code. You approve it with:
hermes pairing approve telegram <YOUR_CODE>hermes pairing listshows pending and approved users. Codes expire after one hour, are rate-limited and are generated with cryptographic randomness. Never post a real code anywhere public. - Pairing codes are stored per profile. If you run more than one profile, approve the code in the profile whose gateway received it:
Two things can catch you out here. Plainhermes -p <profile> pairing approve telegram <YOUR_CODE>hermescommands go to your sticky profile, which isn’t necessarily the one whose gateway is running. And a gateway started as a service or in Docker can read a differentHERMES_HOMEthan your shell does.hermes profileprints the current profile, its path and its gateway status, so check it before approving. /sethomeis a Telegram chat command. Send it in any chat, DM or group, to make that chat the home channel. Cron jobs deliver their results there.
Cron jobs: create each one once, on the right profile
- The CLI form is
hermes cron create "<schedule>" "<task>", and-ptargets a profile, so together it’s:
(That’s only an example of the shape.)hermes -p <profile> cron create "every 2h" "Check server status" - Each profile has its own cron jobs. If a job complains about a missing credential, the error names the profile and the
HERMES_HOMEthe scheduler actually read. When a chat works but the job doesn’t, compare that path with your shell’sHERMES_HOME, because a gateway started without your shell’s environment can be reading a different profile. - Hermes won’t double-run a single job: one that’s already mid-run is refused with “already running”, and a lock file stops overlapping scheduler ticks. Duplicate posts usually come from duplicate setups, so create each job once, on the profile that should run it, and don’t let two profiles or gateways share a bot token (see above).
- Results land in the home channel you set with
/sethome. If they show up in the wrong chat, send/sethomeagain in the chat you want, on the profile whose gateway is running.
Where to run it
Hermes can run on your own computer (Hermes Desktop or the CLI, while the machine is awake) or as a Hermes Cloud agent. A paid Portal plan includes one Cloud agent up to the plan’s included size, and extra or larger agents are billed by the day from your Nous credit, with inference and tools billed separately.
If you’d rather host the gateway yourself, two options already on ByteAugur are below. I haven’t run this setup on either one, so treat them as options, not a tested recipe.
- Railway (My referral link.): app hosting that deploys straight from your repo. Your perk: Check their current offer. Details on the Railway deal page.
- DigitalOcean (My referral link.): simple cloud servers, databases and storage. New accounts get $5 in credit for 90 days, and a payment method is required. Details on the DigitalOcean deal page.
Official sources (checked November 18, 2026)
- Hermes Agent quickstart
- Discord setup and Configuration (fatal error codes, including
discord_intents_required) - Telegram setup and Messaging gateway (pairing,
/sethome) - Profiles and Multi-profile gateways
- Scheduled tasks (cron)
- Nous Portal, Hermes Cloud
- NousResearch/hermes-agent (official repo)
FAQ
Do I need Nous Portal to use Hermes Agent?
No. The official docs say Hermes is provider-agnostic: you can use your own provider keys, an OpenAI-compatible endpoint or a local model, and switch back to Portal with /model whenever you like. Portal is just the easiest path if you want one account for models and hosted tools.
What does the ByteAugur Nous link get me?
$15 off your first month on the $20 plan, for new accounts only. Offer may change, check the site before you buy. Open the link before you create the account. There’s no perk for existing accounts.
My Discord bot stays offline. What should I check first?
Turn on Message Content Intent and Server Members Intent in the Discord Developer Portal, save, then run hermes gateway restart. Also make sure the bot is actually invited to the server and that an allowlist or pairing rule exists, because the docs note a bot with no access policy can connect and still turn users away.
A pairing code did nothing when I approved it.
Pairing codes are stored per profile and expire after an hour. Approve the code in the profile whose gateway received it, for example hermes -p <profile> pairing approve telegram <YOUR_CODE>, and check that the code is still fresh.
Where do cron results go?
To the chat where you ran /sethome for that bot, on the profile that owns the job.
Ready to try a paid plan? The save-15 promo code guide covers the $15 off first month and who qualifies.


