Deploy Hermes Agent on Northflank

Published 4th December 2026

Hermes Agent is an open source AI agent framework built by Nous Research that lets you run a self-hosted assistant connected to messaging platforms including Telegram, Discord, Slack, WhatsApp, and others. It is commonly used for personal AI assistants, team bots, and chat-driven automation where you want full control over your data and configuration.

With Northflank, you can deploy Hermes Agent in minutes using the Hermes Agent stack template. This prebuilt setup handles container builds, persistent storage, networking, and gateway management automatically, so you can focus on configuring your assistant instead of managing servers.

What is Hermes Agent?

Hermes Agent is a self-hosted AI agent designed to run continuously and interact through chat applications you already use. It runs a gateway process that connects a large language model to your chosen messaging platform, letting your assistant send and receive messages without relying on hosted SaaS services.

Because Hermes Agent is open source, you retain full control over your data, credentials, and runtime environment. You can configure model providers, swap messaging platforms, and migrate between hosts while keeping your agent configuration and session state intact.

What this template deploys

The Hermes Agent stack template provisions everything needed for a production-ready Hermes Agent deployment.

It includes:

  • Hermes Agent gateway and admin UI exposed via HTTP
  • Admin web service with password-protected login and gateway management
  • Persistent Northflank volume for configuration, session data, pairing tokens, and workspace files
  • Secure environment variables for the admin password and session secret

This setup follows production best practices while keeping the deployment simple and maintainable.

How to get started

  1. Create an account on Northflank
  2. Click Deploy Hermes Agent now
  3. Set the required variable (ADMIN_PASSWORD)
  4. Click Deploy stack to build and run the Hermes Agent template
  5. Wait for the deployment to complete and click View resources
  6. Open the Hermes Agent service
  7. Open the public URL and sign in at /
  8. Configure your LLM provider and messaging platform, then start the gateway

Everything is wired automatically, including networking, storage, and the admin interface.

Setup flow

  1. Visit https://<your-northflank-domain>/ and enter your ADMIN_PASSWORD
  2. Go to the Config tab and set your LLM provider key (such as OPENAI_API_KEY or ANTHROPIC_API_KEY)
  3. Set your messaging platform token (such as TELEGRAM_BOT_TOKEN)
  4. Click Save
  5. Go to the Status tab and click Start gateway
  6. Open the Logs tab to confirm the agent connected to your platform

Key features

This stack template gives you a complete, self-hosted Hermes Agent setup:

  • Run an AI assistant that interacts through Telegram, Discord, Slack, WhatsApp, Matrix, Mattermost, and email
  • Manage your gateway process entirely from the browser with no server-side terminal access
  • Persist configuration, session data, pairing tokens, and workspace files across redeploys
  • Secure sensitive values using environment variables and a private volume
  • Approve or deny platform pairing requests directly from the Pairing tab

It is suitable for personal AI assistants, internal team bots, and chat-based automation workflows.

How it works

  • Admin server runs on the Northflank public HTTP port and serves the login page, config UI, and gateway controls
  • Gateway process runs as a managed subprocess inside the container and handles chat traffic for your connected messaging platforms
  • Persistent volume stores Hermes Agent state at /opt/data/.hermes, including configuration, sessions, skills, and workspace files
  • Admin UI reads and writes the agent .env file on the volume so your settings persist across restarts
  • If a provider key is detected at startup, the gateway starts automatically without requiring manual intervention

All internal communication happens inside the container, with only the HTTP admin interface exposed publicly.

Conclusion

Deploying Hermes Agent on Northflank is the fastest way to run a fully self-hosted AI assistant connected to the messaging platforms your team already uses.

With this stack template, you get a ready-to-run Hermes Agent environment with persistent storage, browser-based configuration, and gateway process management. You can connect your chat apps, set your model provider, and start running your assistant immediately without managing servers, terminals, or complex infrastructure.

Share this template with your network
X