Vibe Engine Documentation

Welcome to the official documentation for Vibe Engine — the enterprise-grade cloud coding platform that provides isolated sandbox environments powered by Firecracker microVMs. Launch secure, ephemeral computing environments in under 500ms with hardware-level isolation.

Sub-500ms Launch

Zero cold starts. Firecracker microVM sandboxes boot in milliseconds, ready for code execution instantly.

🔒

Hardware Isolation

Each sandbox runs in its own microVM with kernel-level isolation — same technology that powers AWS Lambda.

🌎

12 Global Regions

Deploy sandboxes close to your users across 12 regions worldwide for minimal latency.

🛠

Native SDKs

First-class Python and JavaScript SDKs with async support, streaming, and full API coverage.

Quickstart

Get up and running with Vibe Engine in under 5 minutes. Choose your preferred language:

# Install the SDK
pip install vibengine

# Create and run a sandbox
from vibengine import VibeEngine

client = VibeEngine(api_key="your-api-key")

# Launch a Python sandbox
sandbox = client.sandbox.create(
    template="python-3.12",
    region="us-east-1"
)

# Execute code
result = sandbox.execute("print('Hello from Vibe Engine!')")
print(result.stdout)  # Hello from Vibe Engine!

# Clean up
sandbox.terminate()
// Install the SDK
// npm install @vibengine/sdk

import { VibeEngine } from '@vibengine/sdk';

const client = new VibeEngine({ apiKey: 'your-api-key' });

// Launch a Node.js sandbox
const sandbox = await client.sandbox.create({
  template: 'node-20',
  region: 'us-east-1'
});

// Execute code
const result = await sandbox.execute(`console.log('Hello from Vibe Engine!')`);
console.log(result.stdout); // Hello from Vibe Engine!

// Clean up
await sandbox.terminate();
# Create a sandbox
curl -X POST https://api.vibengine.cloud/v1/sandboxes \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "template": "python-3.12",
    "region": "us-east-1"
  }'

# Execute code in sandbox
curl -X POST https://api.vibengine.cloud/v1/sandboxes/{sandbox_id}/execute \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"code": "print(\"Hello from Vibe Engine!\")"}'
Tip

Need an API key? Contact our sales team to get started with an enterprise trial.

Core Concepts

Sandboxes

A sandbox is an isolated computing environment powered by a Firecracker microVM. Each sandbox has its own kernel, filesystem, and network stack — providing hardware-level isolation that's fundamentally stronger than containers.

PropertyDescriptionDefault
templateRuntime environment (python-3.12, node-20, go-1.22, rust-latest, java-21)python-3.12
regionDeployment region (us-east-1, eu-west-1, ap-southeast-1, etc.)us-east-1
timeoutMaximum sandbox lifetime in seconds3600
memory_mbMemory allocation (128 - 8192 MB)512
vcpuVirtual CPU count (1 - 8)2
persistent_storageEnable persistent volume mountfalse
network_accessEnable outbound internet accesstrue

Templates

Templates are pre-built sandbox images optimized for specific runtimes. Each template includes the language runtime, common packages, and Vibe Engine's execution agent.

TemplateRuntimePre-installed Packages
python-3.12Python 3.12.4numpy, pandas, requests, httpx, pydantic, fastapi
node-20Node.js 20 LTSexpress, axios, lodash, zod, prisma
go-1.22Go 1.22Standard library + common modules
rust-latestRust (stable)cargo, common crates pre-cached
java-21Java 21 LTSMaven, Gradle, Spring Boot starter

Lifecycle

Sandboxes follow a simple lifecycle:

creating ──> running ──> executing ──> idle ──> terminated
                │                        │
                └── paused ──────────────┘
Important

Sandboxes are ephemeral by default. All filesystem changes are lost when a sandbox terminates. Enable persistent_storage to mount a durable volume.

Authentication

All API requests require authentication via an API key passed in the Authorization header.

Authorization: Bearer vibe_sk_xxxxxxxxxxxxxxxxxxxxxxxx

API keys can be created and managed from the Vibe Engine Dashboard. Each key is scoped to an organization and can have fine-grained permissions:

PermissionDescription
sandbox:createCreate new sandboxes
sandbox:readList and inspect sandboxes
sandbox:executeExecute code in sandboxes
sandbox:terminateTerminate sandboxes
filesystem:readRead files from sandboxes
filesystem:writeWrite files to sandboxes
admin:*Full administrative access
Security

Never expose API keys in client-side code. Use environment variables or a secrets manager. Keys prefixed with vibe_sk_ are secret keys and must be kept server-side.

Python SDK

The official Python SDK provides a Pythonic interface to the Vibe Engine API with full type hints and async support.

Installation

pip install vibengine

Basic Usage

from vibengine import VibeEngine

client = VibeEngine(api_key="vibe_sk_...")

# Create a sandbox with custom configuration
sandbox = client.sandbox.create(
    template="python-3.12",
    memory_mb=1024,
    vcpu=2,
    timeout=7200,
    region="us-east-1",
    env={
        "DATABASE_URL": "postgresql://...",
        "API_KEY": "secret"
    }
)

# Execute code and get results
result = sandbox.execute("""
import numpy as np
data = np.random.randn(1000)
print(f"Mean: {data.mean():.4f}")
print(f"Std:  {data.std():.4f}")
""")

print(result.stdout)
print(f"Exit code: {result.exit_code}")
print(f"Duration: {result.duration_ms}ms")

Async Support

import asyncio
from vibengine import AsyncVibeEngine

async def main():
    client = AsyncVibeEngine(api_key="vibe_sk_...")

    # Launch multiple sandboxes concurrently
    sandboxes = await asyncio.gather(*[
        client.sandbox.create(template="python-3.12")
        for _ in range(10)
    ])

    # Execute in parallel
    results = await asyncio.gather(*[
        sb.execute("print('parallel execution!')")
        for sb in sandboxes
    ])

asyncio.run(main())

File Operations

# Upload a file to the sandbox
sandbox.filesystem.upload("/app/data.csv", local_path="./data.csv")

# Write content directly
sandbox.filesystem.write("/app/config.json", '{"debug": true}')

# Read a file
content = sandbox.filesystem.read("/app/output.txt")

# List directory contents
files = sandbox.filesystem.list("/app")
for f in files:
    print(f"{f.name} ({f.size} bytes)")

JavaScript SDK

The JavaScript/TypeScript SDK works in both Node.js and edge runtimes with full TypeScript support.

Installation

npm install @vibengine/sdk

Basic Usage

import { VibeEngine } from '@vibengine/sdk';

const client = new VibeEngine({ apiKey: 'vibe_sk_...' });

// Create a sandbox
const sandbox = await client.sandbox.create({
  template: 'node-20',
  memoryMb: 1024,
  timeout: 3600,
});

// Execute with streaming output
const stream = sandbox.executeStream(`
  for (let i = 0; i < 10; i++) {
    console.log(\`Processing step \${i + 1}/10...\`);
    await new Promise(r => setTimeout(r, 100));
  }
  console.log('Done!');
`);

for await (const chunk of stream) {
  process.stdout.write(chunk.data);
}

await sandbox.terminate();

TypeScript Types

import type {
  Sandbox,
  SandboxConfig,
  ExecutionResult,
  FileInfo,
  StreamChunk,
} from '@vibengine/sdk';

const config: SandboxConfig = {
  template: 'python-3.12',
  memoryMb: 2048,
  vcpu: 4,
  region: 'eu-west-1',
  persistentStorage: true,
};

SDK Configuration

Both SDKs support extensive configuration options:

OptionTypeDefaultDescription
api_keystringYour API key (required)
base_urlstringhttps://api.vibengine.cloudAPI base URL
timeoutint30000Request timeout in ms
max_retriesint3Number of retry attempts
regionstringus-east-1Default region for sandboxes
# Python — environment variable configuration
# export VIBENGINE_API_KEY=vibe_sk_...
# export VIBENGINE_BASE_URL=https://api.vibengine.cloud

from vibengine import VibeEngine

# Auto-detects from environment
client = VibeEngine()

REST API Reference

The Vibe Engine REST API uses standard HTTP methods and returns JSON responses. Base URL: https://api.vibengine.cloud/v1

Response Format

{
  "status": "success",
  "data": { ... },
  "request_id": "req_abc123"
}

Error Format

{
  "status": "error",
  "error": {
    "code": "sandbox_not_found",
    "message": "Sandbox with ID 'sbx_123' was not found"
  },
  "request_id": "req_abc123"
}

Rate Limits

PlanRequests/minConcurrent SandboxesMax Memory/Sandbox
Free605512 MB
Pro300504 GB
EnterpriseCustom10,000+8 GB

API: Sandboxes

POST /v1/sandboxes

Create a new sandbox instance.

curl -X POST https://api.vibengine.cloud/v1/sandboxes \
  -H "Authorization: Bearer vibe_sk_..." \
  -H "Content-Type: application/json" \
  -d '{
    "template": "python-3.12",
    "region": "us-east-1",
    "memory_mb": 1024,
    "vcpu": 2,
    "timeout": 3600,
    "env": {"KEY": "value"},
    "metadata": {"project": "my-app"}
  }'

# Response
{
  "status": "success",
  "data": {
    "id": "sbx_7f3k2m9x",
    "template": "python-3.12",
    "region": "us-east-1",
    "state": "running",
    "memory_mb": 1024,
    "vcpu": 2,
    "created_at": "2026-05-21T12:00:00Z",
    "expires_at": "2026-05-21T13:00:00Z"
  }
}

GET /v1/sandboxes

List all active sandboxes for the current organization.

curl https://api.vibengine.cloud/v1/sandboxes \
  -H "Authorization: Bearer vibe_sk_..."

# Query parameters: state, template, region, limit, cursor

GET /v1/sandboxes/:id

Get details of a specific sandbox.

DELETE /v1/sandboxes/:id

Terminate a sandbox immediately.

API: Filesystems

POST /v1/sandboxes/:id/files

Upload or write a file to the sandbox filesystem.

curl -X POST https://api.vibengine.cloud/v1/sandboxes/sbx_7f3k2m9x/files \
  -H "Authorization: Bearer vibe_sk_..." \
  -F "path=/app/script.py" \
  -F "content=@local_script.py"

GET /v1/sandboxes/:id/files?path=/app/output.txt

Read file contents from the sandbox.

GET /v1/sandboxes/:id/files?path=/app&list=true

List directory contents.

API: Code Execution

POST /v1/sandboxes/:id/execute

Execute code inside a running sandbox.

curl -X POST https://api.vibengine.cloud/v1/sandboxes/sbx_7f3k2m9x/execute \
  -H "Authorization: Bearer vibe_sk_..." \
  -H "Content-Type: application/json" \
  -d '{
    "code": "import sys; print(sys.version)",
    "timeout": 30,
    "stream": false
  }'

# Response
{
  "status": "success",
  "data": {
    "stdout": "3.12.4 (main, Jun 2026) [GCC 12.2.0]\n",
    "stderr": "",
    "exit_code": 0,
    "duration_ms": 42
  }
}

Execution Options

FieldTypeDescription
codestringCode to execute (required)
commandstringShell command to run (alternative to code)
timeoutintExecution timeout in seconds (default: 30)
streamboolEnable streaming output via SSE
working_dirstringWorking directory (default: /app)
envobjectAdditional environment variables

API: WebSocket Streaming

For real-time output streaming, connect via WebSocket:

wss://api.vibengine.cloud/v1/sandboxes/{sandbox_id}/ws

// Send execution request
{
  "type": "execute",
  "code": "for i in range(10): print(f'Step {i}')",
  "stream": true
}

// Receive streaming output
{"type": "stdout", "data": "Step 0\n", "timestamp": 1716300000}
{"type": "stdout", "data": "Step 1\n", "timestamp": 1716300001}
...
{"type": "exit", "exit_code": 0, "duration_ms": 1042}

Guide: AI Agent Sandboxes

Vibe Engine is purpose-built for AI agent code execution. Give your agents a secure, isolated environment to run arbitrary code without risking your infrastructure.

Why Vibe Engine for AI Agents?

Example: LLM Code Interpreter

from vibengine import VibeEngine

client = VibeEngine()

def run_agent_code(code: str, context: dict) -> dict:
    """Execute LLM-generated code in an isolated sandbox."""
    sandbox = client.sandbox.create(
        template="python-3.12",
        memory_mb=2048,
        timeout=300,
        env=context.get("env", {})
    )

    try:
        # Upload any context files
        for name, content in context.get("files", {}).items():
            sandbox.filesystem.write(f"/app/{name}", content)

        # Execute agent code
        result = sandbox.execute(code)

        return {
            "output": result.stdout,
            "errors": result.stderr,
            "exit_code": result.exit_code,
            "files": sandbox.filesystem.list("/app")
        }
    finally:
        sandbox.terminate()

Guide: CI/CD Pipeline Isolation

Run each CI job in a dedicated microVM for perfect isolation between builds.

# .vibengine/pipeline.yml
stages:
  - name: test
    template: node-20
    memory_mb: 2048
    commands:
      - npm ci
      - npm run lint
      - npm test

  - name: build
    template: node-20
    memory_mb: 4096
    commands:
      - npm ci
      - npm run build
    artifacts:
      - dist/**

  - name: security
    template: python-3.12
    commands:
      - pip install safety bandit
      - safety check
      - bandit -r src/

Guide: Enterprise Setup

Vibe Engine Enterprise includes dedicated infrastructure, compliance features, and premium support.

Enterprise Features

🔐

SSO / SAML

Integrate with Okta, Azure AD, Google Workspace, and any SAML 2.0 identity provider.

📋

SOC 2 Type II

Annual SOC 2 Type II audit. Detailed compliance reports available on request.

📦

VPC Peering

Connect Vibe Engine directly to your VPC for private networking with no public internet exposure.

📞

24/7 SLA Support

Dedicated support team with guaranteed response times and a named Technical Account Manager.

Guide: Networking & Isolation

Each sandbox runs in an isolated network namespace. By default, sandboxes have outbound internet access but are not reachable from the outside.

Network Modes

ModeOutboundInboundUse Case
fullDefault — fetch APIs, install packages
restrictedAllowlistOnly allow specific domains
noneAir-gapped execution
vpcVPCVPCEnterprise private networking

Architecture

Vibe Engine is built on a microservices architecture with Firecracker microVMs at its core.

┌─────────────────────────────────────────────────────┐
│                   Client Layer                       │
│  Python SDK  │  JS SDK  │  REST API  │  WebSocket   │
└──────────────────────┬──────────────────────────────┘
                       │ HTTPS / WSS
┌──────────────────────▼──────────────────────────────┐
│                  API Gateway                         │
│  Auth  │  Rate Limit  │  Routing  │  Load Balance   │
└──────────────────────┬──────────────────────────────┘
                       │
┌──────────────────────▼──────────────────────────────┐
│              Orchestration Layer                     │
│  Scheduler  │  VM Manager  │  State Store (Redis)   │
└──────────────────────┬──────────────────────────────┘
                       │
┌──────────────────────▼──────────────────────────────┐
│             Compute Layer (EC2 Metal)                │
│  ┌──────┐  ┌──────┐  ┌──────┐  ┌──────┐           │
│  │ VM 1 │  │ VM 2 │  │ VM 3 │  │ VM N │  ...      │
│  │ FC μ │  │ FC μ │  │ FC μ │  │ FC μ │           │
│  └──────┘  └──────┘  └──────┘  └──────┘           │
│            Firecracker microVM Host                  │
└─────────────────────────────────────────────────────┘
                       │
┌──────────────────────▼──────────────────────────────┐
│              Storage & Observability                 │
│  S3 (Snapshots)  │  RDS  │  CloudWatch  │  Kafka   │
└─────────────────────────────────────────────────────┘

Security Model

Security is foundational to Vibe Engine. Every layer is designed for defense in depth.

Isolation Layers

  1. Firecracker microVM — Each sandbox runs in its own lightweight VM with a dedicated kernel. This provides the same isolation boundary as a separate physical machine.
  2. Network namespace — Sandboxes cannot communicate with each other. Each has its own virtual network interface.
  3. Filesystem isolation — Each sandbox has its own ephemeral filesystem. No shared state between sandboxes unless explicitly configured.
  4. Resource limits — CPU, memory, disk I/O, and network bandwidth are capped per sandbox to prevent noisy-neighbor effects.
  5. Seccomp filters — System call filtering restricts sandboxes to a minimal set of allowed syscalls.
Firecracker

Firecracker is the same open-source virtualization technology that powers AWS Lambda and AWS Fargate. It was purpose-built by Amazon for running untrusted multi-tenant workloads safely.

Global Regions

Deploy sandboxes in the region closest to your users for optimal latency.

Region CodeLocationStatus
us-east-1N. Virginia, USA● Available
us-west-2Oregon, USA● Available
eu-west-1Ireland● Available
eu-central-1Frankfurt, Germany● Available
ap-southeast-1Singapore● Available
ap-northeast-1Tokyo, Japan● Available
ap-south-1Mumbai, India● Coming Soon
sa-east-1São Paulo, Brazil● Coming Soon
me-south-1Bahrain● Coming Soon
af-south-1Cape Town, South Africa● Coming Soon
ap-east-1Hong Kong● Coming Soon
ca-central-1Montreal, Canada● Coming Soon

Compliance

Vibe Engine is designed to meet enterprise security and compliance requirements.

StandardStatusDetails
SOC 2 Type IIIn ProgressAnnual audit by independent auditor. Report available under NDA.
GDPRCompliantEU data processing agreement available. EU regions for data residency.
HIPAAPlannedBAA available for Enterprise customers (Q4 2026).
ISO 27001PlannedCertification targeted for 2027.

© 2026 VIBE ENGINE LABS PTE. LTD. All rights reserved.
www.vibengine.cloud · hello@vibengine.cloud