Controlling Agentic Workflows Programmatically via the SDK