Welcome to the user guide¶
lightcone-cli is a small toolchain that turns a research question into
a reproducible analysis. You describe what you're trying to learn as a
precise specification — an astra.yaml file following the
ASTRA schema — and the lc command line keeps the
resulting code, environments, decisions, and outputs in sync.
ASTRA specs are plain YAML, designed to be easy for both humans and AI
assistants to write. However the spec gets written, you stay in charge
of the scientific choices — every methodological decision is declared
in the open, and lc records exactly what produced every result: the
recipe, the decisions, the input data, the environment, and the commit.
What this guide covers¶
- Install — get the
lccommand line running on your machine or on a cluster. - Getting Started — create your first project, build it end-to-end, and understand what each piece does.
- Core Concepts — the model behind the tool: what the states mean, why everything is committed, and how the two execution modes differ.
- Running on a Cluster — taking your analysis to a SLURM HPC system.
- Troubleshooting — common issues and how to unstick them.
- Glossary — the terms that show up everywhere (universe, decision, manifest, …) explained in plain language.
What you'll do, in a handful of lines¶
Quick start
That's the shortest possible path. The rest of the guide is the unhurried version — and the commit is not ceremony: every output is committed together with the code that produced it, which is why a build starts from a clean tree.
What lightcone-cli is not¶
- A statistics package. It runs your code; it doesn't compute things itself.
- A workflow language. Recipes in
astra.yamlare short shell commands, not a DSL. There's no learning curve beyond what's in Getting Started. - An IDE.
lcis a command-line tool; writeastra.yamland your analysis code with whatever editor or tooling you prefer.
If you'd rather skim the design and architecture, the maintainer docs are the other half of this site.