Academy → Practical GuidesOfficial documentation · Arabic guidance

Tutorial: Daily Briefing Bot

تطبيق: بوت الموجز اليومي

Intermediate9 min readLesson 45 questions✓ 2026-08-18
Before you read

What this page is, and what it holds.

This page covers Tutorial: Daily Briefing Bot. It carries a source warning and takes about 9 minutes to read. Open the channel to yourself first with an allowlist. An open channel means anyone can message your agent.

7sections
20code examples
0tables
4commands
1,495source words
The official one-line description

Build an automated daily briefing bot that researches topics, summarizes findings, and delivers them to Telegram or Discord every morning

What you will be able to do

Outcomes taken from this page, not a template.

  • Understand what بوابة المراسلة is and when you need it.
  • Run hermes gateway install and hermes gateway and understand what happens next.
  • Set FIRECRAWL_API_KEY in the right place.
  • Avoid the mistake the source warns about.
Identifiers you will meet

Exactly as they appear in Hermes.

Commands
  • hermes gateway install
  • hermes gateway
  • hermes cron list
  • hermes cron status
Environment variables
  • FIRECRAWL_API_KEY
Page map

Jump to the part you need.

  1. 01What We're Building
  2. 02Prerequisites
  3. 03Step 1: Test the Workflow Manually
  4. 04Step 2: Create the Cron Job
  5. 05Step 3: Customize the Briefing
  6. 06Step 4: Manage Your Jobs
  7. 07Going Further
The full official page

Nothing summarised away.

The documentation body below is reproduced from the official source so commands and identifiers stay exact. Each section carries a short note describing what it contains.

In this tutorial, you'll build a personal briefing bot that wakes up every morning, researches topics you care about, summarizes the findings, and delivers a concise briefing straight to your Telegram or Discord.

By the end, you'll have a fully automated workflow combining web search, cron scheduling, delegation, and messaging delivery — no code required.

What We're Building

Explains the idea itself. Read it slowly; the later sections build on it.

Here's the flow:

  1. 8:00 AM — The cron scheduler triggers your job
  2. Hermes spins up a fresh agent session with your prompt
  3. Web search pulls the latest news on your topics
  4. Summarization distills it into a clean briefing format
  5. Delivery sends the briefing to your Telegram or Discord

The whole thing runs hands-free. You just read your briefing with your morning coffee.

Prerequisites

Ordered, practical steps. Run one and confirm it worked before moving on. Commands here: hermes gateway install, hermes gateway.

Before starting, make sure you have:

  • Hermes Agent installed — see the Installation guide
  • Gateway running — the gateway daemon handles cron execution:
Shell4 lines
  hermes gateway install   # Install as a user service
  sudo hermes gateway install --system   # Linux servers: boot-time system service
  # or
  hermes gateway           # Run in foreground
  • Firecrawl API key — set FIRECRAWL_API_KEY in your environment for web search
  • Messaging configured (optional but recommended) — Telegram or Discord set up with a home channel

Step 1: Test the Workflow Manually

Ordered, practical steps. Run one and confirm it worked before moving on.

Before automating anything, let's make sure the briefing works. Start a chat session:

Shell1 line
hermes

Then enter this prompt:

Text2 lines
Search for the latest news about AI agents and open source LLMs.
Summarize the top 3 stories in a concise briefing format with links.

Hermes will search the web, read through results, and produce something like:

Text19 lines
☀️ Your AI Briefing — March 8, 2026

1. Qwen 3 Released with 235B Parameters
   Alibaba's latest open-weight model matches GPT-4.5 on several
   benchmarks while remaining fully open source.
   → https://qwenlm.github.io/blog/qwen3/

2. LangChain Launches Agent Protocol Standard
   A new open standard for agent-to-agent communication gains
   adoption from 15 major frameworks in its first week.
   → https://blog.langchain.dev/agent-protocol/

3. EU AI Act Enforcement Begins for General-Purpose Models
   The first compliance deadlines hit, with open source models
   receiving exemptions under the 10M parameter threshold.
   → https://artificialintelligenceact.eu/updates/

---
3 stories • Sources searched: 8 • Generated by Hermes Agent

If this works, you're ready to automate it.

Step 2: Create the Cron Job

Carries a warning. Read it before running anything here. The upstream warning appears below.

Now let's schedule this to run automatically every morning. You can do this in two ways.

Before creating cron jobs, ensure Hermes has a default model and provider configured globally. If you want a specific job to use different values, set explicit per-job model/provider overrides when creating it.

Option A: Natural Language (in chat)

Just tell Hermes what you want:

Text3 lines
Every morning at 8am, search the web for the latest news about AI agents
and open source LLMs. Summarize the top 3 stories in a concise briefing
with links. Use a friendly, professional tone. Deliver to telegram.

Hermes will create the cron job for you using the unified cronjob tool.

Option B: CLI Slash Command

Use the /cron command for more control:

Text1 line
/cron add "0 8 * * *" "Search the web for the latest news about AI agents and open source LLMs. Find at least 5 recent articles from the past 24 hours. Summarize the top 3 most important stories in a concise daily briefing format. For each story include: a clear headline, a 2-sentence summary, and the source URL. Use a friendly, professional tone. Format with emoji bullet points and end with a total story count."

The Golden Rule: Self-Contained Prompts

Bad prompt:

Text1 line
Do my usual morning briefing.

Good prompt:

Text5 lines
Search the web for the latest news about AI agents and open source LLMs.
Find at least 5 recent articles from the past 24 hours. Summarize the
top 3 most important stories in a concise daily briefing format. For each
story include: a clear headline, a 2-sentence summary, and the source URL.
Use a friendly, professional tone. Format with emoji bullet points.

The good prompt is specific about what to search, how many articles, what format, and what tone. It's everything the agent needs in one shot.

Step 3: Customize the Briefing

Ordered, practical steps. Run one and confirm it worked before moving on.

Once the basic briefing works, you can get creative.

Multi-Topic Briefings

Cover several areas in one briefing:

Text8 lines
/cron add "0 8 * * *" "Create a morning briefing covering three topics. For each topic, search the web for recent news from the past 24 hours and summarize the top 2 stories with links.

Topics:
1. AI and machine learning — focus on open source models and agent frameworks
2. Cryptocurrency — focus on Bitcoin, Ethereum, and regulatory news
3. Space exploration — focus on SpaceX, NASA, and commercial space

Format as a clean briefing with section headers and emoji. End with today's date and a motivational quote."

Using Delegation for Parallel Research

For faster briefings, tell Hermes to delegate each topic to a sub-agent:

Text7 lines
/cron add "0 8 * * *" "Create a morning briefing by delegating research to sub-agents. Delegate three parallel tasks:

1. Delegate: Search for the top 2 AI/ML news stories from the past 24 hours with links
2. Delegate: Search for the top 2 cryptocurrency news stories from the past 24 hours with links
3. Delegate: Search for the top 2 space exploration news stories from the past 24 hours with links

Collect all results and combine them into a single clean briefing with section headers, emoji formatting, and source links. Add today's date as a header."

Each sub-agent searches independently and in parallel, then the main agent combines everything into one polished briefing. See the Delegation docs for more on how this works.

Weekday-Only Schedule

Don't need briefings on weekends? Use a cron expression that targets Monday–Friday:

Text1 line
/cron add "0 8 * * 1-5" "Search for the latest AI and tech news..."

Twice-Daily Briefings

Get a morning overview and an evening recap:

Text2 lines
/cron add "0 8 * * *" "Morning briefing: search for AI news from the past 12 hours..."
/cron add "0 18 * * *" "Evening recap: search for AI news from the past 12 hours..."

Adding Personal Context with Memory

If you have memory enabled, you can store preferences that persist across sessions. But remember — cron jobs run in fresh sessions without conversational memory. To add personal context, bake it directly into the prompt:

Text3 lines
/cron add "0 8 * * *" "You are creating a briefing for a senior ML engineer who cares about: PyTorch ecosystem, transformer architectures, open-weight models, and AI regulation in the EU. Skip stories about product launches or funding rounds unless they involve open source.

Search for the latest news on these topics. Summarize the top 3 stories with links. Be concise and technical — this reader doesn't need basic explanations."

Step 4: Manage Your Jobs

Ordered, practical steps. Run one and confirm it worked before moving on. Commands here: hermes gateway install, hermes cron list.

List All Scheduled Jobs

In chat:

Text1 line
/cron list

Or from the terminal:

Shell1 line
hermes cron list

You'll see output like:

Text4 lines
ID          | Name              | Schedule    | Next Run           | Deliver
------------|-------------------|-------------|--------------------|--------
a1b2c3d4    | Morning Briefing  | 0 8 * * *   | 2026-03-09 08:00   | telegram
e5f6g7h8    | Evening Recap     | 0 18 * * *  | 2026-03-08 18:00   | telegram

Remove a Job

In chat:

Text1 line
/cron remove a1b2c3d4

Or ask conversationally:

Text1 line
Remove my morning briefing cron job.

Hermes will use cronjob(action="list") to find it and cronjob(action="remove") to delete it.

Check Gateway Status

Make sure the scheduler is actually running:

Shell1 line
hermes cron status

If the gateway isn't running, your jobs won't execute. Install it as a background service for reliability:

Shell3 lines
hermes gateway install
# or on Linux servers
sudo hermes gateway install --system

Going Further

Explains the idea itself. Read it slowly; the later sections build on it.

You've built a working daily briefing bot. Here are some directions to explore next:

Knowledge check

5 questions answered by this page alone.

Every option is a real identifier from the Hermes documentation. The wrong ones are real too, just from other pages.

1. According to this lesson, which command does “Install as a user service”?
2. According to this lesson, which command does “Run in foreground”?
3. Which of these environment variables actually appears in this lesson?
4. Which warning does the source state in this lesson?
5. Which of these headings does not appear in this lesson?