Available Providers
- Modal (Recommended)
- E2B
- Vercel Sandbox
Fast, scalable cloud sandboxes with full AI integrationModal Labs provides pre-configured sandboxes optimized for Seemodo:
Included Services:Add to
| Feature | Details |
|---|---|
| Timeout | 1-24 hours (configurable) |
| Package Manager | pnpm |
| AI Integration | Seemodo AI server included |
| Git | Auto-commit after AI changes |
| Preview | Encrypted tunnel URLs |
- Vite dev server (port 5173)
- FastAPI server (port 8000)
- Seemodo AI server (port 4097)
.env:Provider Comparison
| Feature | Modal | E2B | Vercel |
|---|---|---|---|
| Default Timeout | 1 hour | 60 min | 15 min |
| Max Timeout | 24 hours | 60 min | 15 min |
| Seemodo AI | ✅ Built-in | ❌ | ❌ |
| Git Integration | ✅ Auto-commit | ❌ | ❌ |
| Package Manager | pnpm | npm | npm |
| Startup Time | ~5 seconds | ~10 seconds | ~3 seconds |
| Best For | Full AI workflow | Quick prototypes | Next.js apps |
Sandbox Lifecycle
Creating a Sandbox
A sandbox is automatically created when you:- Generate a HiFi screen
- Click Generate Flow with HiFi mode
- Request new sandbox from provider
- Wait for container startup
- Initialize Vite dev server
- Start Seemodo AI (Modal only)
- Return preview URL
Sandbox States
| State | Description |
|---|---|
| Initializing | Sandbox is starting up |
| Ready | All services running, preview available |
| Active | User is interacting with the sandbox |
| Idle | No recent activity |
| Terminated | Sandbox has been stopped |
Modal Sandbox Architecture
Pre-installed Template
Modal sandboxes come with a pre-configured Vite + React + Tailwind template:Configuration
All sandbox settings are inconfig/app.config.ts:
Terminal Access
Open the terminal to run commands directly in the sandbox:- Click the Terminal button after a sandbox is active
- Use the built-in terminal or AI chat
Downloading Your Project
Export your project as a ZIP file:- Open the Sandbox Panel
- Click the Download button
- Receive a complete ZIP with:
- All source files
package.jsonwith dependencies- Configuration files
- Git history (Modal only)
Troubleshooting
Sandbox not starting
Sandbox not starting
- Check your provider API key/URL is correct
- Verify the Modal backend is deployed
- Check network connectivity
- Look at browser console for errors
Preview not loading
Preview not loading
- Wait for the Vite server to start (may take 5-10 seconds)
- Check for build errors in the logs
- Ensure the sandbox hasn’t timed out
- Try refreshing the preview iframe
Packages not installing
Packages not installing
- Verify the package name is correct
- Check for network issues in the sandbox
- Use
pnpminstead ofnpm(Modal) - Restart Vite after installation
AI not connecting
AI not connecting
- Ensure you’re using Modal provider
- Wait for full sandbox initialization
- Check Seemodo AI URL is available
- Look for connection errors in the panel
Environment Variables
Sandboxes support environment variables for:- API keys (for external services)
- Configuration flags
- Feature toggles
.env file in the sandbox or ask the AI to set up environment variables.