Skip to main content

KODEX — the Kronos Family of Codes

A benchmarked AI/ML surrogate suite for fusion. Fast, calibrated stand-ins for expensive physics — every code knows when it is out of its depth.

  • One contract: predict(x) -> Prediction(y, uncertainty, in_domain)
  • Calibrated uncertainty on every prediction (the KHALO layer)
  • An abstention gate on every prediction (the KGATE trust boundary)
  • Honest provenance in the type: every surrogate is [T] tagged, naming the real code it stands in for (retired_by) — nothing is ever mistaken for high-fidelity, and nothing is called "live."

30 codes across three rollout phases (Phase 1 = data-backed, ships first; Phase 2 = partial data; Phase 3 = roadmap). See BENCHMARKS.md for the honest per-code numbers and FAMILY.md for the technical note.

Install

pip install -e ".[ml,data,nn]"     # kronos-toolkit + numpy/scipy are the core

The core imports with no torch and no sklearn; heavy dependencies load only when a surrogate actually runs.

Quickstart

import kronos_ml as K

K.list_surrogates()                 # the 30 K-codes
K.fleet(phase=1)                    # Phase-1 cards

# a real CGYRO transport prediction (representative fidelity, mu=400)
p = K.run("KYRO", [3.5, 1.6])       # a/L_T, magnetic shear
p.y, p.uncertainty, p.in_domain     # ion heat flux Q_i, 1-sigma, trust gate

# the model-free safety gate
K.get("KGATE").clamp([2.0, 0.3, 9.0, 5.0, 0.9, 60.0])   # -> projected onto the envelope

# provenance travels with the value
p.as_tagged("CGYRO (nonlinear gyrokinetic)")            # [T] retired_by CGYRO

The fleet (30 codes)

Spine: KHALO (uncertainty) · KGATE (abstention gate). Phase-1 members: KOIL (magnet twin + quench) · KFLOW (state estimation) · KMAT (materials screen) · KYRO (CGYRO transport) · KWARD (disruption) · KORE (equilibrium) · KAIROS (control) · KQUBIT (quantum-ML, no-advantage). Phase-2/3: breeder/burner/isotope/neutronics/operational codes, more quantum (KQROSS, KSENSE, KTENSOR), multi-fidelity (KFUSE), and roadmap codes (KFORGE, KDRIVE, KLAW, KGEN, KPILOT, …). KECON is a generic open techno-economics calculator with a financial firewall — it carries no Kronos cost/price/valuation data, ever.

Honesty

Every pre-registered miss is kept (KFLOW AC-18, KWARD <30 ms warning, KORE 1% bar). CGYRO-backed results are at representative fidelity (reduced electron mass μ=400); the real-mass "gold" validation point is the single open item. No economics or Kronos financials in any physics code. Apache-2.0.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kronos_fusion_ml-0.1.0.tar.gz (43.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kronos_fusion_ml-0.1.0-py3-none-any.whl (52.5 kB view details)

Uploaded Python 3

File details

Details for the file kronos_fusion_ml-0.1.0.tar.gz.

File metadata

  • Download URL: kronos_fusion_ml-0.1.0.tar.gz
  • Upload date:
  • Size: 43.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.11.16

File hashes

Hashes for kronos_fusion_ml-0.1.0.tar.gz
Algorithm Hash digest
SHA256 1ffeb1af8077ed061a56750fe3dfabe8a441a237367bcb2f34ecaa1397d2af38
MD5 1a747dce4bba519fd4853eaf846c9962
BLAKE2b-256 5d5c2840e5c9c72fd6d94ce5a9ff946c91372d613bbd08355ff1082392d8259d

See more details on using hashes here.

File details

Details for the file kronos_fusion_ml-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for kronos_fusion_ml-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1c62df30a6e86871bf32fb7e1f6c0146481b682c48eaec777a1e2f2acca0fbe1
MD5 066b68ee963370fbb4326f6e4c4fed6b
BLAKE2b-256 0fb9767b933550307381857915e720f4cc99650cd9bda8693ff7f8426b3cd652

See more details on using hashes here.

Release history Release notifications | RSS feed

0.2.0

2 files

This release

0.1.0 This release

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page