Metis is a research instrument for explaining how constraints move through the U.S. energy infrastructure web. It maintains an auditable record of physical, market, weather, and policy observables; identifies which link in the chain is binding during a dated episode; and publishes explanations with explicit evidence, provenance, and falsifiers.
Scope boundary: Metis is an explanatory research system, not a price-prediction engine. Trading, execution, and hardware are separate downstream tracks that may consume Metis outputs, but they do not define its scope.
Major energy transitions rest on an implicit promise of infinite abundance—displayed differently across mediums, historical moments, and countries (e.g., abundant coal, cheap shale gas, zero-marginal-cost renewables).
However, chasing abundance in one medium never eliminates physical scarcity; it relocates it. Energy transitions are usually described as simple fuel substitutions, but their true observable signature is a migration of the binding constraint—a shift in which physical or institutional link actually clears the system:
- Coal-to-gas: Moves the bottleneck from rail and stockpiles to pipelines and storage.
- Gas-to-electric heat: Moves the bottleneck from fuel delivery to grid capacity and peak load.
- Renewables + data centers: Moves the bottleneck to interconnection queues and firm capacity.
- LNG exports: Moves the bottleneck to maritime shipping, regasification, and global arbitrage.
(Note: While the underlying thesis is comparative across eras and nations, Metis is initially scoped empirically to the U.S. energy web.)
When the U.S. energy infrastructure web is stressed, substituted, or reshaped by policy, where does the binding constraint move—and what does that movement change in turn?
Operationally, every dated episode analyzed in Metis must answer five questions:
- Which link is binding? (
source,conversion,transport,carrier, orend use) - What moves first? (
flow,inventory,price,policy, orinvestment) - What adjusts? (
substitution,demand destruction,imports/exports, orcapacity) - What is the aftermath? (
new baseline,stranded asset, orpolicy response) - What observation would have falsified the reading?
The underlying data, modeling, and local synthesis infrastructure is live, though currently calibrated toward legacy directional signals rather than episode constraint-mapping:
| Layer | Role in Metis | Current State |
|---|---|---|
Observables & Ingest (research/data_ingest/) |
Tracks physical, market, weather, and policy series (EIA storage, FRED, CME/Databento, NOAA/Open-Meteo, ISO LMPs, AIS vessels, legislation, Census permits) in SQLite with R2 backups. | Live |
Modeling & Features (research/features/, models/) |
Feature engineering and sequence modeling. Currently structured as a Dual-LSTM directional pipeline; needs realignment toward regime/constraint detection. | Live (measuring legacy target) |
Synthesis & UI (metis/, rag/) |
Tauri 2.0 desktop app + Axum orchestrator (:9000) running local llama.cpp (DeepSeek-R1-Distill-Qwen-7B) grounded by LanceDB vector retrieval for auditable, offline explanations. |
Active / In Progress |
(Note: Downstream execution and hardware tracks—execution/engine/ and metis-cpp/—remain in the workspace as separate consumers and are intentionally excluded from Metis's core research architecture.)
metis/ # Tauri desktop app & Axum orchestrator (:9000)
rag/ # Local RAG pipeline (LanceDB + fastembed + llama.cpp)
research/
data_ingest/ # API clients for physical, market, weather, and policy observables
features/ # Observable transformations and state indicators
models/ # Inference pipeline (transitioning from price signals to constraint states)
ops/ # Ingestion orchestration scripts
tests/ # Test suite
docs/ # Environment setup and technical documentation
notes/ # Research notes and episode drafts (gitignored)
Requires Python 3.11+, Rust 1.75+, and Node.js 20+ (Windows builds of rag also require LLVM/Clang). See docs/setup.md for full setup details.
# 1. Ingest observables
pip install -r research/requirements.txt
python research/ops/ingest_wrapper.py --frequency daily
# 2. Launch desktop research interface & local RAG orchestrator (:9000)
cd metis && npm install && npm run tauri:devMIT