Agents with Adjustable Autonomy