The two patterns by which agents connect sandboxes

TL;DR: More and more agents need a workspace: a computer where they can run code, install packages, and access files. Sandboxes provide this. There are two architecture patterns for integrating agents