Skip to main content
Sessions are saved in ~/.autofit/sessions. You can close Claude Code and come back to one later, run more experiments on it, or start a new session that builds on it.

Come back to a session

Ask Claude about it:
Claude reads the session’s recap: your context, your messages and decisions, the phase and the scores. It mentions anything left open, such as an experiment waiting for a decision. To list sessions, use /af sessions. From a shell, autofit sessions --data churn.csv lists the sessions on that table. It matches by content, so a renamed or moved copy still counts.

Run more experiments

Or ask Claude: “run 10 more, and try interactions with plan type”. From a shell: autofit continue -n 10 --note "try interactions with plan type". The new round uses the same folds, the same metric and the same ensemble. New experiments are scored next to the old ones, and the ensemble can mix both. Notes you add reach the agent before its first new experiment. You can also change the agent for the new round, for example to Claude Fable 5.2 or a higher effort level. A running round keeps its model.

Rebuild or finish a round

/af continue with no number does what the session needs:
  • Finishes a budget cut short. If a round ended early, for example at Claude’s usage limit, it runs the experiments left once the limit resets.
  • Rebuilds the final model with no new experiment, if the model failed to build or you changed the ensemble after the session finished.
  • Runs 5 more experiments in any other case.

Start a new session from an earlier one

Continuing only works on the same setup. When the data, the target, the metric, the folds or the lookup tables change, start a new session and tell Claude which earlier session to build on:
Claude compares the two setups. If they are the same, it offers to continue instead. If they differ:
  • Its setup becomes the recommendation. Claude proposes the earlier session’s target, metric, folds and dropped columns, marked with where they come from. You still confirm each one.
  • Its scripts are copied. The best experiment and each ensemble member start the new session. The agent runs each one unchanged before it builds on it.
  • Its results become context. Claude tells the agent what worked and what did not.
From a shell, pass the scripts with --script, once per file.
Scores compare only between sessions with the same rows, target, metric, folds and lookup tables. A copied script’s score in the new session does not compare with its score in the earlier one. Compare it with the new session’s own baseline.