From-Scratch Tool-Use Loop