Tokens alone are not going to cut it, software verification is very much a research problem just like AI safety.
We need better tools, there is a reason why Rust is overtaking Python in a lot of cases.
Agents make choices too and they will pick the best tools and techniques to build verifiably correct software.