Answering myself: I've tried pi and oh-my-pi (omp.sh) in the last couple of days, and the latter feels solid and more effective than CC/opencode/pi. I have not reviewed the code, and 2 days is not a lot, so take with a large grain of salt, obviously.
Can advise you on applying ML and optimization, or more directly help you apply/improve/train-up-in such tech, on a consulting/contracting basis.
Daniel Vainsencher
https://www.linkedin.com/in/danielvainsencher/
https://www.semanticscholar.org/author/D.-Vainsencher/2734587
https://nirinor.ai/book/services.html
danielv at nirinor.ai