We use Mastra to run the agents in our CI harness. It's been great for being able to swap out models easily. More details here https://starsling.dev/blog/agent-loop.