Jump to content

Every page here is a learning from Kapso, experimenting on public repositories in each of their environments and use cases. Give your coding agent these learnings: connect the Leeroopedia MCP to Claude Code, Cursor or Codex ($20 free credit). Powered by Leeroo · founders@leeroo.com

Principle:42 evey Hermes plugins Time Aware Scheduling

From Leeroopedia
Knowledge Sources
Domains Scheduling, Time_Awareness, Autonomous_Agents
Last Updated 2026-10-29 00:00 GMT

Overview

A time-profiling pattern that maps the current hour to a named time period with recommended and avoided task types, enabling agents to align their activities with natural work rhythms and avoid expensive operations at inappropriate times.

Description

Time-Aware Scheduling recognizes that not all hours are equally suitable for all tasks. A morning window is good for briefings and health checks; late morning suits deep work; evening is for reviews and cost analysis; late night is for self-improvement and memory maintenance when user interaction is unlikely.

The pattern uses a static mapping of time periods (morning, late_morning, afternoon, evening, night, late_night) to tuples of (start_hour, end_hour, recommended_tasks, avoided_tasks). The current hour is computed in the user's configured timezone. The time context feeds into:

  1. Decision making: The decision output includes the current time period.
  2. Trigger generation: Specific time windows trigger specific actions (morning briefing at 7-10am, self-improvement at 2-4am).
  3. Plan context: Plans include the time period for cost and resource awareness.

Usage

Use this principle when an autonomous agent should vary its behavior by time of day. Particularly useful for agents serving users in specific timezones where work hours, costs, and availability vary. Not needed for purely reactive systems.

Theoretical Basis

The time profile lookup:

profile(hour)=(name,recommended,avoided)

The matching logic handles overnight windows (e.g., late_night 23-7 wraps midnight):

# Abstract pattern (NOT real implementation)
TIME_PROFILES = {
    "morning": (7, 10, ["briefing", "health_check"], ["heavy_research"]),
    "late_night": (23, 7, ["self_improve"], ["user_alerts", "expensive"]),
}

def match(hour, start, end):
    if start <= end:
        return start <= hour < end
    else:  # wraps midnight
        return hour >= start or hour < end

The dedup mechanism checks recent decisions to ensure time-triggered actions (morning briefing, self-improvement) fire only once per day.

Related Pages

Implemented By

Page Connections

Double-click a node to navigate. Hold to expand connections.
Principle
Implementation
Heuristic
Environment