A basic agent option parser