Autoresearch and weight-space programming
Autoresearch
Section titled “Autoresearch”Start with a reproducible task, fixed scoring and a trial budget. Record baseline policy inputs, versions and results. Allow the agent to change one part of the policy at a time. Keep the task and scoring fixed, log each attempt, and compare the best candidate with the original on setups held back from the search. See autoresearch.
CLI example
Section titled “CLI example”For two approved SDK sessions, run the same policy loop with each version. A one-session pilot needs a separate grant for each run. When both sessions end, enter their IDs at the prompts:
bash -c 'read -r -p "Baseline session ID: " baseline_id || exit 1read -r -p "Candidate session ID: " candidate_id || exit 1[[ $baseline_id == ses_* && $candidate_id == ses_* ]] || exit 1bsln get session-report "$baseline_id" --json > baseline-report.json &&bsln get session-report "$candidate_id" --json > candidate-report.json'Use your task criterion to score both trials. Practice with the offline recording while setting up access.
Weight-space programming
Section titled “Weight-space programming”Use recordings to isolate one reproducible failure. Save the original checkpoint and make a small, documented weight edit in a copy. Compare both checkpoints offline on observations from failed and successful episodes. Confirm the change under the same task conditions and on fresh cases.
When you have approved SDK sessions for both versions, use the same policy loop. Use the recording download command once for each ended session. Compare the target failure and behavior that already worked. Use trial denominators when reporting results.