English
Get started

← All templates · AI and agents

Deploy Hermes Agent in one click

An AI agent you talk to in Telegram, Discord or the browser

A self-hosted alternative to OpenClaw.

What is Hermes Agent?

Hermes Agent is an open-source AI agent from Nous Research and an alternative to OpenClaw, whose setup it can import. You talk to it in Telegram, Discord, Slack, WhatsApp, Signal or email, and a conversation carries over between them. It runs shell commands, browses the web, and remembers you across sessions. After a complex task it writes a skill, a saved procedure it reuses and improves. Jobs described in plain words run on a schedule and report to a chat.

An agent that answers chats and runs jobs at night has to stay on, so people self-host it on a server rather than a laptop. Hermes Agent keeps its conversations, memory and skills in its own folder there. It suits a person who wants one assistant in all their chat apps, with a server of its own to work on. The catch is the model: a hosted one bills every token, and the dashboard's Analytics page shows the cost.

Hosting Hermes Agent on Pethost

  1. You sign in to Pethost with a passkey, GitHub or Google. No machine yet? You pick a plan, and the link waits until it is ready.
  2. New project opens at Hermes Agent. You fill in what it asks for and click Create project: Admin password, OpenRouter API key (optional), Telegram bot token (optional).
  3. In a minute or two Hermes Agent is live at its own address with HTTPS. Its secrets are made at random, and its data is in the nightly backup.
  4. It is a project like any other: you or your agent can change it, roll it back or restore it.

Questions about Hermes Agent

Is Hermes Agent free and open source?

Yes. Hermes Agent is open source under the MIT license and free to use. You pay only your model provider for API usage, and a local model costs nothing but the hardware it runs on.

How do I migrate from OpenClaw to Hermes Agent?

Run hermes claw migrate. It previews, then imports OpenClaw's persona, memory, skills, model settings and messaging tokens; API keys come over only with --migrate-secrets.

Which models does Hermes Agent work with?

Any OpenAI-compatible API, including OpenRouter, Nous Portal, OpenAI, Anthropic, Google Gemini, Kimi and MiniMax, or a local server such as Ollama, vLLM or llama.cpp. You switch with hermes model or on the dashboard's Config page.

Does Hermes Agent collect my data?

No. Hermes Agent collects no telemetry, usage data or analytics, and its model calls go only to the provider you configure.

How do I connect Hermes Agent to Telegram on Pethost?

Give the template your bot's token from @BotFather when you create the project. Then message the bot and approve the code it replies with on the dashboard's Pairing page: the agent answers only users you approve.

How much memory and disk does Hermes Agent need?

Hermes Agent is moderate: about 600 MB of memory, as the model runs at your provider; its chats take little disk. On Pethost the Starter plan is enough for it, with room for other apps beside it.

Hermes Agent Docker Compose file

The template is this compose.yaml and the variables written into the project’s .env as it is created. Pethost runs the file as it is written.

Containers: hermes (nousresearch/hermes-agent:v0.21.6).

Volumes, in the nightly backup: data.

services:
  hermes:
    image: nousresearch/hermes-agent:v0.21.6
    command: ["gateway", "run"]
    restart: unless-stopped
    # The agent's browser tool runs Chromium, which needs more than Docker's 64 MB of /dev/shm.
    shm_size: 1gb
    environment:
      HERMES_DASHBOARD: "1"
      HERMES_DASHBOARD_PUBLIC_URL: ${HERMES_DASHBOARD_PUBLIC_URL}
      HERMES_DASHBOARD_BASIC_AUTH_USERNAME: admin
      HERMES_DASHBOARD_BASIC_AUTH_PASSWORD: ${HERMES_DASHBOARD_BASIC_AUTH_PASSWORD}
      HERMES_DASHBOARD_BASIC_AUTH_SECRET: ${HERMES_DASHBOARD_BASIC_AUTH_SECRET}
      OPENROUTER_API_KEY: ${OPENROUTER_API_KEY:-}
      TELEGRAM_BOT_TOKEN: ${TELEGRAM_BOT_TOKEN:-}
    volumes:
      - data:/opt/data

volumes:
  data:

More in AI and agents