Agency in Artificial Intelligence Systems