Lupin vs AgentMail: choosing the boundary of an agent inbox
Compare AgentMail’s dedicated agent email service with Lupin’s inboxes inside a broader agent workspace.
Distinguish Cloudflare’s current sandbox environments from Lupin’s separate hosted container API.
Cloudflare’s current Sandboxes documentation describes two environments: Containers for a full Linux environment and Dynamic Workers for isolated code running through the Workers runtime. The application Worker controls what data and APIs the code receives and its network access. Lupin’s public hosted container API is a separate integration backed by its configured hosted provider; the optional Cloudflare execution backend of Lupin’s consumer agent is not the same API. Comparing the names alone would hide these important deployment and control boundaries.
If your application already runs on Workers and needs precise control over how untrusted code reaches application APIs, Cloudflare’s primitives are a strong candidate. They let the application define the execution boundary as part of its own architecture. Lupin provides a resource API with workspace ownership, usage checks and other agent products around it. That can remove platform integration work, but it does not expose every lower-level provider control. Choose direct Cloudflare when those controls are central rather than assuming a higher-level API is always simpler.
| Decision | Lupin | Cloudflare Sandboxes |
|---|---|---|
| Execution choices | Hosted container product surface | Containers or Dynamic Workers |
| Application integration | REST resource API and workspace checks | Worker controls execution and exposed APIs |
| Backend relationship | Public containers are not this same primitive | Direct Cloudflare infrastructure |
A task requiring system packages, a shell and a long-running process belongs in a different category from a small transformation that only calls supplied application methods. Cloudflare explicitly distinguishes those cases in its current documentation. Lupin containers expose synchronous commands and file operations, so evaluate them against the full-environment requirement rather than a Dynamic Worker module. List the language, dependencies, process lifetime, filesystem behavior and outbound access needed by the task. Select the smallest suitable execution boundary only after those requirements are concrete.
Compare current Cloudflare environment and plan terms with the runtime, storage and platform responsibilities of your design. A direct integration includes your own resource registry, access policy, usage reconciliation and operator interface. Lupin includes a shared resource model but has a narrower command and file surface, including roughly 2 MB base64 transfers. Direct Cloudflare may be preferable for a Workers-native product with exact execution controls. Lupin may be preferable when execution is one bounded resource among email, browsers and connected apps, provided its current limitations fit the workload.
Official documentation and Lupin public documentation/source were reviewed on 2026-11-05. This is an architecture and operating-scope comparison, not a live benchmark, hands-on provider test or independent review of service quality.
Prepared with AI assistance by Lupin editorial. How we research and maintain these guides.