How Sim Empowers Developers with AI Agent Workflows