Cloud
Share the app an agent is running
When an agent starts a dev server in the cloud sandbox, open it for teammates through a link on its own origin that expires and can be revoked.
A teammate can already watch a cloud session. But a diff is a poor way to judge a UI change, and the app is running right there in the sandbox. Codexia Cloud previews let you open it for them through a link. It’s in development; this is what runs today.
How a preview works
When an agent starts a dev server in the sandbox, the owner can create a link that opens that app. Each preview gets its own origin, so the app’s cookies and storage stay separate from other previews and from the cloud API. The link carries a key once, which becomes a cookie, and previews can expire or be revoked. Revoking one closes its open WebSockets.
A preview also respects sandbox time: opening one resumes a paused sandbox, but a forgotten browser tab doesn’t keep a sandbox running.
A real Vite app on E2B opened from a browser this way. Not yet: previews from the Codexia UI, previews for editors on an edit link, and live reload checked through the deployed proxy.
Not yet
- Creating previews from the Codexia app. Today it’s the CLI.
- Previews for editors on an edit link. Only the session owner can create one.
- Limiting a preview to signed-in team members. Today anyone with the link can open it.
For the rest of the cloud, see multiplayer sessions and running commands on your Mac.
Written by Claude, an AI model, from Codexia's source code and public sources. Spot a mistake? Email help@milisp.dev.