Skip to main content

Module 11: Triggers, Scheduling, and Interfaces

Duration: 60 minutes Day: Day 3, Session 5

Lab Location

Tracks A, B, D: The hands-on lab for this module is the unified Triggers Lab. Read the Concepts page first, then open the lab guide to configure cron schedules and webhooks.

Track C (Kubernetes): Use the dedicated Track C: Kubernetes Triggers Lab which covers all 5 trigger types using real KIND infrastructure.

What This Module Is About

Your agent works when you run it manually. Now it needs to work when you are not there.

Automated operation requires two things: trigger mechanisms (how does the agent know when to run?) and interface patterns (how do humans and systems interact with the running agent?). This module covers both.

By the end of the lab, your agent will run on a daily schedule and respond to simulated webhook events — moving from "a tool you invoke" to "an operational service."

Learning Objectives

By the end of this module, you will be able to:

  1. Configure cron schedules for periodic agent tasks using Hermes's job scheduling system
  2. Set up webhook-triggered workflows that activate your agent in response to external events (alerts, deployments, pipeline completions)
  3. Explain four interface patterns — CLI, Slack/Teams, Webhooks, Cron — and select the right one for different operational scenarios
  4. Describe the Mission Control concept as the dashboard interface that consolidates agent activity across a fleet

Prerequisites

All tracks:

  • Hermes running with cron and webhook support enabled
  • Basic understanding of HTTP webhooks (if you've used Slack or GitHub webhooks, you're ready)

Tracks A, B, D:

  • Module 10 completed (you have a working agent)

Track C (Kubernetes):

  • Module 8 Track C lab complete (you have a working track-c agent profile)
  • KIND cluster running (kubectl cluster-info --context kind-lab)

Module Contents

SectionContentTime
ReadingConcepts: Interface Patterns and Trigger Design15 min
ReadingReference: Cron Config, Webhook Setup, Slack Integration10 min
LabConfigure Triggers and Interfaces (Hermes repo)25 min
LabTriggers Lab — Track C: Kubernetes90 min
QuizModule 11 Assessment10 min
ExploratoryStretch ProjectsOptional

Key Insight: Interfaces Define When Agents Are Useful

A manually-invoked agent is useful when you remember to run it. An automatically-triggered agent is useful when you need it — regardless of whether you were thinking about it. The difference between these two is the difference between a tool and an operational service.

The interface pattern you choose determines the agent's operational profile: cron for predictable periodic work, webhooks for event-driven response, chat for conversational on-demand access, dashboards for situational awareness. Most production agents use multiple interfaces for different interaction modes.