OPAL: An AI Agent Rewrites Your Optimizer's Code Mid-Training

lmoroney · x · 2026-10-22

Xingjian Bai and collaborators released OPAL (OPtimizer with an Agent in the Loop), an AI agent that watches training dynamics and rewrites the optimizer's source code as a run progresses.

The author advises starting with a small run where you know what good looks like, and reviewing every change the agent makes before trusting it on larger jobs.

Related event: EPFL Team Releases OPAL, an Agent-in-the-Loop Reactive Training Optimizer(10 posts)→

Original post →

More from coding & agent

coding & agent channel →