Microsoft envisions a future where any company's artificial intelligence agents can work together with agents from other firms and have better memories of their interactions, its chief technologist said on Sunday ahead of the company's annual software developer conference.