Wrap agent_base_v2 to make it truely asynchronous.