Our team at Agentforce recently open-sourced our solution to this and we've gotten very valuable feedback -- would love to hear from more of you about it: https://github.com/salesforce/agentscript

No you didn't

"What we're not open sourcing (yet) is the runtime. "