I like running agents in containers, so this is a driver to do so. It supports a couple of agents.
You'll want to customize this, including editing the Dockerfile.
I wrote the original shell script for this by hand, and then vibe-coded the translation to Python and some of the subtools herein.