2026-03-13
My eyes generally glaze over reading “how I use AI” posts, but enough of my colleagues have expressed interest that I think this would be worth sharing. My overall strategy for coding these days is to have OpenAI’s Codex agent write and run my code for me on the cluster.
Main considerations:
My current workflow for running experiments on the USC cluster:
cd into it if it
already exists).module load tmux) and start a session with
tmux so that you have a persistent session that you can
reattach to if you get disconnected (tmux attach).npm install -g @openai/codex. Then run codex
to start your coding agent session. You can resume with
codex resume if you get disconnected.uv to work with python. Tell it to
run experiments using SLURM. It knows how to do these things.