Energy — Token Budget Management via ATP/ADP Biochemistry
Metabolic energy management for AI token budgets. Computes energy charge (Atkinson EC), regime classification, model selection strategy, waste analysis, and temporal metrics. Pure Rust via nexcore-ene
6 toolsenergy
Compute_Energy_Charge
Compute the Atkinson Energy Charge (EC) from token pools. EC = (tATP + 0.5*tADP) / (tATP + tADP + tAMP). Returns EC, reg
t_atpt_adpt_amp
Classify_Regime
Classify an energy charge value into a metabolic regime. Anabolic (>0.85), Homeostatic (0.70-0.85), Catabolic (0.50-0.70
energy_charge
Recommend_Strategy
Given token pools and a coupling ratio, recommend a model strategy (Opus/Sonnet/Haiku/HaikuCacheFirst/Checkpoint).
t_atpt_adpt_amp
Analyze_Waste
Analyze token waste metrics: waste ratio, burn rate, lifespan efficiency, and estimated remaining operations.
t_atpt_adpt_amp
Temporal_Metrics
Compute temporal view of energy: metabolic age, chronological age, age gap, and conservation breakdown (future + time +
t_atpt_adpt_amp
Classify_Waste
Classify a waste event into one of 5 categories with prevention strategy. Categories: FutileCycling, Uncoupled, HeatLoss
waste_type