Use Cases
See how Lelantos works with your favourite tools. Pick a framework, read the code, hit Run.
Node.js — javascript
import { Sandbox } from 'e2b'const sandbox = await Sandbox.create({ template: 'base', apiKey: process.env.LELANTOS_API_KEY, apiUrl: 'https://lelantos.ai', domain: 'lelantos.ai',})const result = await sandbox.commands.run('echo "Hello from EU!"')console.log(result.stdout) // Hello from EU!await sandbox.kill()Output
Click "Run" to execute the code...