TICK 00:00
STOPPED
Agent Execution
5-layer cognitive architecture · 7 LLM agents · 30-minute control cycle
Perception
State Compressor
Waiting
Perception
Anomaly Detector
Waiting
Planning · Conditional every 6 h
Forecast Planner
Waiting
Parallel · asyncio.gather
Reasoning
CORE_ZN
Waiting
Reasoning
PZ1 · South
Waiting
Reasoning
PZ2 · East
Waiting
Reasoning
PZ3 · North
Waiting
Reasoning
PZ4 · West
Waiting
Reasoning · Conflict Resolution
Coordinator
Waiting
Safety · PMV Watchdog
Comfort Auditor
Waiting
Safety · Deterministic
Guardrail Engine
Waiting
EnergyPlus Actuators
Setpoints applied to all 5 zones
✓ Applied
Select an agent
Status
—
Duration
—
Input
—
Output
—
Shared State
Strategy—
Peak Cap—
Facility Load—
Coordinator—
Overrides—
Execution Log
Run the workflow to see agent activity.
Dashboard
Building performance and agent decisions for current tick
Facility Demand
—
Avg PMV
—
Grid Carbon
—
Interventions
—
Reasoning Layer · Zone Proposals
Planning Layer · Strategy
Performance Timeline · 24 h
Power Demand (kW)
Average PMV
Architecture
5-layer cognitive control system coordinated over MCP
01 Perception Layer Always active
Raw 1-minute EnergyPlus sensor readings are compressed into 30-minute state snapshots. The Anomaly Detector flags physically impossible values before they reach any LLM, preventing context pollution from broken sensors.
get_building_state() · get_zone_state() · get_anomaly_report()
02 Memory Layer Persistent across ticks
Each agent prompt is injected with the last 3 decisions and whether they were overridden. If a proposal was guardrail-clamped, the next tick the agent reads that feedback and self-corrects—no retraining required.
get_my_last_decisions() · get_performance_summary()
03 Planning Layer Conditional · every 6 h
The Forecast Planner reads the 24-hour weather and grid carbon curve every 6 simulation hours. It outputs a named strategy and a peak kW cap consumed by all downstream agents on every subsequent tick.
get_weather_forecast() · get_grid_carbon() · set_strategy() · get_current_strategy()
04 Reasoning Layer Every tick · parallel + sequential
Five Zone Agents run concurrently via asyncio.gather, each proposing setpoints for their specific zone. The Coordinator collects all proposals, checks total kW against the Planner's cap, and negotiates compromises under load pressure.
propose_zone_setpoint() · get_all_zone_proposals() · approve_setpoints()
05 Safety Layer Hard veto · every tick
The Comfort Auditor independently monitors all PMV readings. If any zone exceeds ±0.5, it issues an emergency override that bypasses the Coordinator entirely. The deterministic Guardrail Engine then enforces rate limits (max 3 °C/tick) and hard floor/ceiling bounds before actuator commands are issued.
get_all_zone_pmv() · issue_comfort_override()