# Hermes Agent

Ask Hermes for an ad and get the finished video back in your chat.

The Glorya plugin for [Hermes Agent](https://hermes-agent.nousresearch.com) connects Glorya to Hermes and follows every job for you. Ask for an ad in Telegram, Discord, Slack, WhatsApp, the terminal or Hermes Desktop. You get one message that updates while Glorya works, Glorya's questions in the same chat, and the finished video or images back as files.

## Before you start

- **Hermes Agent 0.22.5 or newer**, with a model set up. To use it from Telegram or another chat app, set up the Hermes gateway for that app first.
- **A Glorya account with a plan.** If you don't have a plan yet, signing in takes you to checkout first, then carries on.

## 1. Install the plugin

```bash
hermes plugins install Glorya-AI/hermes-plugin --enable
hermes glorya setup
```

## 2. Turn it on

`hermes glorya setup` asks before each step:

1. Turn on the plugin.
2. Add the Glorya server to Hermes.
3. Let the plugin use that server, so it can follow your jobs.
4. Send finished videos and images into the chat as files. If you say no, you get links instead.

There's nothing to restart. Hermes picks up the plugin and the server while it runs. Check it any time with `hermes glorya status`.

## 3. Sign in

Ask Hermes for an ad. The first time, Hermes shows a Glorya sign-in link (a card in the terminal and in Desktop). Open it on the computer that runs Hermes, sign in and pick your brand. Hermes then carries on with your request.

New to Glorya? Set up your brand in the browser when it asks. Until that finishes, jobs answer "brand still setting up".

## 4. Use it

Ask in any chat:

```text
Make a video ad for our new serum.
```

1. Hermes says it started. One message updates while Glorya writes the script and renders the video.
2. If Glorya needs a choice, such as which script, it asks in the chat. Reply in your own words, or send `/glorya answer` to get the choices as buttons.
3. The finished video arrives in the chat as a file, with the ad copy.

Want a change? Say it: "make the hook punchier". Glorya makes a new version and the plugin follows it again.

Landing pages and websites work the same way. You get a preview link, and the page goes live only when you say "publish it".

## Commands

These run straight away, without the AI model:

| Command | What it does |
| --- | --- |
| `/glorya image <brief>` | Start an image ad. |
| `/glorya video <brief>` | Start a video ad. Add `--format ugc` for a style, `--review` to approve each step. |
| `/glorya page <brief>` | Start a landing page. |
| `/glorya site <brief>` | Start a website. |
| `/glorya campaign <brief>` | Build and launch an ad campaign. It spends real money from your ad account. Add `--platform meta`, `--budget 30` or `--review` to approve before it goes live. |
| `/glorya jobs` | Jobs in this chat. |
| `/glorya answer` | Answer Glorya's open question. |
| `/glorya refine <change>` | Change the latest result. |
| `/glorya publish` | Put a landing page or website live, after you confirm. |
| `/glorya cancel` | Stop an image ad, video ad or campaign job. A campaign that's already live keeps running. |
| `/glorya credits` | Your plan and credits left. |
| `/glorya campaigns` | Your campaigns with spend and results. |
| `/glorya sites` | Your landing pages and websites. |
| `/glorya brand` · `/glorya formats` | Your brand, and the video styles. |

## Weekly ads on autopilot

Two schedules post fresh creative to a chat every week:

- `/blueprint glorya:weekly-image-ads`: new image ads on a theme you pick.
- `/blueprint glorya:weekly-video-ad`: a new video ad in a style you pick.

In Hermes Desktop, they're on the Cron page too.

## Hermes Desktop

Press ⌘K and choose **Glorya: open studio**. You see every job with its videos, images and open questions, plus buttons to answer, change, publish or stop. The status bar shows how many jobs are running.

## If something is off

| What you see | What to do |
| --- | --- |
| Hermes doesn't know about Glorya | Run `hermes glorya setup` in your terminal, then ask again. |
| "Start a plan" with a link | Open the link, start the plan, then ask again. |
| "Brand still setting up" | Finish your brand in the browser and try again in a few minutes. |
| Sign-in expired | Ask for an ad again: Hermes shows the sign-in link. Or run `hermes mcp login glorya` in a terminal. |
| Links instead of files | Run `hermes glorya setup` again and say yes to sending files. Telegram bots can upload files up to 50 MB; bigger files come as links. |

## What the plugin does on your machine

- Talks only to Glorya. Hermes holds your sign-in; the plugin never sees it.
- Saves job ids, statuses and downloaded files in its folder inside your Hermes home. It deletes finished jobs after 30 days.
- When files are ready, it starts one short agent turn in that chat to send them.
- Sends no analytics.

Source and details: [github.com/Glorya-AI/hermes-plugin](https://github.com/Glorya-AI/hermes-plugin).
