Rename `set_agent` to `agent` in TasksController