Searchers asking for a 24/7 AI agent usually do not want another chatbot tab. They want an agent that can keep running, respond from a phone, remember the ongoing project, recover from provider failures, and send useful updates without someone babysitting the terminal. Hermes Agent is built for that pattern, but the setup choice matters: self-hosting gives you control, while FlyHermes removes most of the server and gateway chores.
Quick answer#
To run Hermes Agent as a 24/7 AI agent, install Hermes on a machine that stays online, configure a reliable model provider, connect one messaging gateway such as Telegram or Discord, enable memory and skills, add only the cron jobs you actually need, then verify the whole path with the Hermes dashboard / Web UI, hermes doctor, gateway logs, and a real message test. If you mainly want an always-on phone-accessible agent without VPS, Docker, provider credits, gateway restarts, and monitoring, compare the hosted FlyHermes path before self-hosting.
What “24/7 AI agent” means in practice#
A real always-on agent is not just a long-running process. It needs five layers to stay useful:
- Runtime: a laptop, mini PC, VPS, or hosted environment that stays online.
- Model lane: provider credentials, rate-limit strategy, and fallback behavior.
- Control surface: CLI for setup, dashboard for status, and messaging for phone access.
- Operating context: memory, profiles, skills, and session history so repeated work improves.
- Reliability loop: logs, health checks, cron delivery, and a restart procedure.
Hermes Agent covers the agent side of that stack: terminal tools, browser automation, files, memory, skills, MCP tools, profiles, cron, and gateways. Self-hosting means you still own the machine and its uptime. FlyHermes exists for users who want the Hermes outcome but not the infrastructure burden.
Self-hosted setup path#
Use this path when you want maximum control and are comfortable operating a small server.
1. Choose where the agent runs#
For testing, a local machine is enough. For true 24/7 operation, use a VPS or always-on home server. The VPS hosting guide covers the server path, and the Docker install guide is useful if you prefer containerized state and service restarts.
Keep one rule: the machine running the gateway is the machine responsible for responding. If it sleeps, loses network, or has a stale process, Telegram or Discord will look broken even when the bot token is fine.
2. Install Hermes and verify the CLI first#
Do not start with the gateway. First prove Hermes can answer from the command line:
hermes doctor
hermes chat -q "Reply with one sentence if the provider works."
If install or update fails, use the install and update troubleshooting guide before changing unrelated settings. Community support data shows install/update/Docker/Windows issues are one of the highest-volume Hermes support clusters, so isolating this layer saves time.
3. Pick a provider stack that can survive background work#
A 24/7 agent will hit provider limits faster than an occasional CLI chat. Use the provider costs and rate limits guide to decide which model handles important work, which cheaper model handles routine tasks, and whether a local Ollama lane belongs in your setup.
For production-like automations, also read the provider fallbacks guide. A cron job or gateway reply can fail because an auxiliary compression or search model ran out of credits, not because Telegram itself broke.
4. Connect one messaging platform first#
Start with one channel. Telegram is common because it gives you phone access fast; Discord is better for team/community workflows. Use one guide, verify it end-to-end, then add the next platform later:
- Hermes Agent Telegram setup
- Hermes Agent Discord setup
- Gateway troubleshooting for Telegram, Discord, topics, and restarts
A good first test is a private DM or one controlled channel. Only after that should you add groups, topics, mentions, voice messages, or cron delivery into a forum thread.
5. Turn on memory, skills, and profiles deliberately#
Always-on agents need boundaries. Use Hermes profiles when personal, work, and bot contexts should not share secrets or memories. Use the memory system for durable facts, and skills for repeatable workflows.
For a bot that runs all day, profile isolation is not cosmetic. If a secret is available to a profile, that profile can use it wherever the gateway runs. Put only the credentials needed for that bot into that profile.
Add cron jobs after the live agent works#
Cron is what turns a reachable assistant into an operator: daily checks, weekly reports, monitoring, backups, reminders, publishing, or support triage. But cron should come after the basics work.
Use the Hermes Agent cron jobs guide for the workflow. For a first production cron, keep the prompt narrow, set explicit delivery, and verify last_status, last_delivery_error, and the next run time. If the job is script-only and does not need the LLM, use a script-only cron so provider limits do not block deterministic checks.
Reliability checklist#
Before calling the setup 24/7, verify each of these:
hermes doctorpasses on the machine that will stay online.- The model provider works with a small CLI query.
- The gateway process is installed or supervised.
- Telegram or Discord replies in the exact target chat/channel/topic.
- The dashboard/Web UI shows the expected profile, tools, memory, skills, cron jobs, and gateway state.
- Logs are readable when something fails.
- Secrets live in the right profile, not a shared catch-all environment.
- The agent has a restart path that does not depend on remembering a fragile manual command.
When FlyHermes is the better 24/7 setup#
Self-hosting is powerful, but many people searching for a 24/7 AI agent are actually buying an outcome: phone access, browser chat, connected channels, memory, and reliable uptime. They do not necessarily want to maintain a VPS, configure Docker, debug provider credits, secure a dashboard, or restart gateway services.
Use FlyHermes when you want the Hermes experience with managed cloud access and less operational work. Use self-hosted Hermes when local control, custom tools, local models, and full infrastructure ownership are worth the maintenance.
FAQ#
Can I run Hermes Agent 24/7 on my laptop?#
Yes, but it is only 24/7 while the laptop is awake and online. For a real always-on bot, use a VPS, mini PC, or hosted path.
Do I need Docker for a 24/7 Hermes setup?#
No. Docker can make service state and restarts cleaner, but Hermes can run locally too. The important part is that the gateway process, provider credentials, profiles, logs, and backups are predictable.
Is Telegram required for a 24/7 AI agent?#
No. Telegram is a convenient phone control surface, but Hermes also supports Discord, Slack, WhatsApp, Signal, email, Matrix, webhooks, and more. Pick one platform first and verify it before adding others.
What is the fastest path if I do not want server maintenance?#
Use FlyHermes. The self-hosted path is best for control; FlyHermes is better when you want managed browser chat, mobile access, connected channels, and uptime without owning the server layer.