{"id":49034848,"url":"https://github.com/JackTheGit/hermes-autonomous-server","last_synced_at":"2026-05-05T15:00:48.571Z","repository":{"id":341396947,"uuid":"1169955225","full_name":"JackTheGit/hermes-autonomous-server","owner":"JackTheGit","description":"Run Hermes Agent autonomously on your Linux server using systemd and native cron scheduler. Production-ready, headless setup with Nous Portal integration.","archived":false,"fork":false,"pushed_at":"2026-03-01T14:06:51.000Z","size":4,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-16T04:57:36.704Z","etag":null,"topics":["ai-automation","ai-server","claude","cron","dedicated-server","headless","hermes","hermes-agent","linux","nous","nous-research","self-hosted","server-automation","systemd","vps"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JackTheGit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-03-01T13:40:55.000Z","updated_at":"2026-03-01T14:08:07.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/JackTheGit/hermes-autonomous-server","commit_stats":null,"previous_names":["jackthegit/hermes-autonomous-server"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JackTheGit/hermes-autonomous-server","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JackTheGit%2Fhermes-autonomous-server","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JackTheGit%2Fhermes-autonomous-server/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JackTheGit%2Fhermes-autonomous-server/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JackTheGit%2Fhermes-autonomous-server/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JackTheGit","download_url":"https://codeload.github.com/JackTheGit/hermes-autonomous-server/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JackTheGit%2Fhermes-autonomous-server/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32654618,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-05T11:29:49.557Z","status":"ssl_error","status_checked_at":"2026-05-05T11:29:48.587Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ai-automation","ai-server","claude","cron","dedicated-server","headless","hermes","hermes-agent","linux","nous","nous-research","self-hosted","server-automation","systemd","vps"],"created_at":"2026-04-19T11:00:23.108Z","updated_at":"2026-05-05T15:00:48.555Z","avatar_url":"https://github.com/JackTheGit.png","language":null,"funding_links":[],"categories":["Deployment and Operations","Tools \u0026 Utilities","Deployment Options"],"sub_categories":["Plugins and add-ons","Deployment","agentskills.io Standard"],"readme":"# 🚀 Hermes Agent – Autonomous Linux Server Setup\n\n\u003cp align=\"center\"\u003e\n  A clean, reboot-safe, headless deployment guide for Hermes Agent.\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n\n![Linux](https://img.shields.io/badge/Linux-Tested-success?style=for-the-badge\u0026logo=linux)\n![Systemd](https://img.shields.io/badge/Systemd-Service-blue?style=for-the-badge)\n![Headless](https://img.shields.io/badge/Headless-No%20Terminal-green?style=for-the-badge)\n![Cron](https://img.shields.io/badge/Native-Cron%20Scheduler-purple?style=for-the-badge)\n![Nous Portal Required](https://img.shields.io/badge/Nous%20Portal-Subscription-orange?style=for-the-badge)\n\n\u003c/p\u003e\n\nRun **Hermes Agent** autonomously on your own dedicated Linux server using the native Hermes scheduler and systemd gateway service.\n\nNo shell loops.  \nNo fragile TTY hacks.  \nNo third-party hosting required.\n\nClean, production-ready architecture.\n\n---\n\n# 📌 Overview\n\nThis guide shows how to:\n\n* Install Hermes Agent\n* Authenticate with Nous Portal\n* Create recurring AI cron jobs\n* Run Hermes Gateway as a system service\n* Ensure full headless operation\n* Survive reboots automatically\n\nOnce configured, Hermes runs fully autonomous.\n\n---\n\n# 🧩 What This Is Not\n\n- Not an official Hermes project\n- Not affiliated with Nous Research\n- Not a hosted service\n\nThis is a deployment guide for running Hermes autonomously on your own infrastructure.\n\n---\n\n# 🔑 Requirements\n\nYou need an active **Nous Portal subscription**:\n\n👉 [https://portal.nousresearch.com/billing](https://portal.nousresearch.com/billing)\n\nHermes uses Nous Portal for model access.\n\nWithout an active subscription or API credits:\n\n* Cron jobs will not execute\n* Gateway will run but no tasks will fire\n\n\u003e 💡 At the time of writing, the basic subscription may be activated using the promotional code `HERMESAGENT` (availability subject to change).  \n\u003e Check the billing page for current eligibility.\n\n---\n\n# 🖥 Supported Environment\n\n* Ubuntu / Debian (tested)\n* Dedicated server or VPS\n* systemd available\n* Non-root user recommended\n\n---\n\n# 📦 Installation\n\n## 1️⃣ Create a Dedicated User\n\n```bash\nsudo adduser hermes\nsudo usermod -aG sudo hermes\nsu - hermes\n```\n\n---\n\n## 2️⃣ Install Hermes Agent\n\n```bash\ncurl -fsSL https://raw.githubusercontent.com/NousResearch/hermes-agent/main/scripts/install.sh | bash\n```\n\nVerify installation:\n\n```bash\nwhich hermes\n```\n\nExpected:\n\n```\n/home/hermes/.local/bin/hermes\n```\n\n---\n\n## 3️⃣ Authenticate with Nous Portal\n\n```bash\nhermes login\n```\n\nComplete browser authentication.\n\nVerify:\n\n```bash\nhermes status\n```\n\nYou should see:\n\n```\nNous Portal ✓ logged in\n```\n\n---\n\n# ⏰ Create Autonomous Cron Job\n\nStart Hermes:\n\n```bash\nhermes chat\n```\n\nInside the interactive shell:\n\n```\nCreate a cronjob that runs every 10 minutes.\nThe task should:\nWrite a short reflective paragraph about technology trends.\nLimit response to 180 words.\n```\n\nHermes will return a job ID.\n\nExit Hermes:\n\n```\nCtrl + C\n```\n\n---\n\n# ⚙ Enable Hermes Gateway (System-Level Service)\n\nSome VPS environments do not support `systemctl --user`.\nUse a system-level service instead.\n\nCreate service file:\n\n```bash\nsudo nano /etc/systemd/system/hermes-gateway.service\n```\n\nPaste:\n\n```ini\n[Unit]\nDescription=Hermes Gateway Service\nAfter=network.target\n\n[Service]\nUser=hermes\nWorkingDirectory=/home/hermes\nExecStart=/home/hermes/.local/bin/hermes gateway\nRestart=always\nRestartSec=10\nEnvironment=PATH=/home/hermes/.local/bin:/usr/local/bin:/usr/bin:/bin\n\n[Install]\nWantedBy=multi-user.target\n```\n\nEnable and start:\n\n```bash\nsudo systemctl daemon-reload\nsudo systemctl enable hermes-gateway\nsudo systemctl start hermes-gateway\n```\n\n---\n\n# ✅ Verify Everything\n\nCheck gateway:\n\n```bash\nsudo systemctl status hermes-gateway\n```\n\nCheck scheduler:\n\n```bash\nhermes cron status\n```\n\nExpected:\n\n```\n✓ Gateway is running — cron jobs will fire automatically\n```\n\n---\n\n# 🏗 Architecture\n\n```\nSystemd (system service)\n        ↓\nHermes Gateway\n        ↓\nHermes Cron Scheduler\n        ↓\nClaude Model (Nous Portal)\n        ↓\nLocal Output Files\n```\n\n---\n\n# 💰 Cost Considerations\n\nExample configuration:\n\n* 10-minute interval\n* ~180-word responses\n\nEstimated usage:\n\n~4,320 runs/month\nTypically ~$8–12/month depending on model and output size.\n\nTo adjust frequency:\n\n```\nUpdate cronjob \u003cjob_id\u003e to run every 15 minutes.\n```\n\n---\n\n# 📊 Monitoring\n\nGateway logs:\n\n```bash\njournalctl -u hermes-gateway -f\n```\n\nCron jobs:\n\n```bash\nhermes cron list\n```\n\nGateway status:\n\n```bash\nhermes cron status\n```\n\n---\n\n# 🔄 Reboot Safety\n\nThis setup:\n\n* Auto-starts on reboot\n* Does not require open SSH session\n* Runs fully headless\n* Automatically restarts if gateway crashes\n\n---\n\n# 🧼 Uninstall\n\n```bash\nsudo systemctl stop hermes-gateway\nsudo systemctl disable hermes-gateway\nhermes uninstall\n```\n\n---\n\n# 🎯 Why This Approach?\n\n✔ Uses native Hermes scheduler\n✔ Avoids shell-based infinite loops\n✔ Avoids TTY emulation hacks\n✔ Clean systemd integration\n✔ Minimal operational complexity\n✔ Fully self-hosted\n\n---\n\n# ⚠ Important Notes\n\n* Nous Portal subscription required:\n  [https://portal.nousresearch.com/billing](https://portal.nousresearch.com/billing)\n* Cron jobs require the gateway to be running\n* API credits are consumed per execution\n* Monitor billing regularly\n\n---\n\n# 🔒 Security Considerations\n\n- Do not expose your server publicly without firewall rules.\n- Avoid running Hermes as root.\n- Monitor API usage regularly.\n- Keep your server updated.\n\nThis guide assumes a trusted VPS or dedicated environment.\n\n---\n\n## Disclaimer\n\nThis repository is an independent deployment guide and is not affiliated with or endorsed by Nous Research.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJackTheGit%2Fhermes-autonomous-server","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJackTheGit%2Fhermes-autonomous-server","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJackTheGit%2Fhermes-autonomous-server/lists"}