Principle:42 evey Hermes plugins Digest Aggregation
| Knowledge Sources | |
|---|---|
| Domains | Digest, Information_Aggregation, System_Health |
| Last Updated | 2026-10-29 00:00 GMT |
Overview
An aggregation pattern that combines metrics from multiple independent sources — costs, cron health, bridge tasks, goals, and alerts — into a single digest summary for quick situational awareness.
Description
Digest Aggregation solves the "morning check-in" problem: an autonomous agent (or its operator) needs a quick overview of what happened overnight and what needs attention. Rather than checking each system individually, the pattern calls multiple aggregation functions and combines their outputs into a unified digest.
Each aggregation function is fail-safe: it returns zero/empty results on error rather than raising, ensuring one broken source doesn't prevent the digest from being generated. The digest presents human-readable strings for each category, making it scannable in a single glance.
Usage
Use this principle when a system has multiple independent monitoring sources and needs a periodic summary. Suitable for morning briefings, status dashboards, and periodic health checks. The fail-safe design ensures the digest is always available, even if individual sources are down.
Theoretical Basis
The aggregation pipeline:
# Abstract pattern (NOT real implementation)
def generate_digest():
return {
"costs": get_costs() or default_costs,
"cron": get_cron() or default_cron,
"bridge": get_bridge() or default_bridge,
"goals": get_goals() or default_goals,
"alerts": get_alerts() or default_alerts,
}
Each source function follows the pattern:
The independence of sources means the digest degrades gracefully — if Langfuse is down, costs show $0 but cron health is still accurate.