Add a dry-run mode to the agent