Getting Started with FireVM

FireVM allows you to execute code in isolated Firecracker microVMs. Get started in under 5 minutes.

Quick Start

1. Install the SDK

Terminal
pip install firevm-sdk

2. Get Your API Key

Sign up at firevm.app/register and copy your API key from the dashboard.

3. Create Your First VM

hello.py
from firevm_sdk import FireVMClient

# Initialize with your API key
client = FireVMClient(api_key="your_api_key_here")

# Create a VM
vm = client.create_vm("my-first-vm")
print(f"✓ VM created: {vm.vm_id}")

# Execute Python code
result = client.execute_python(
    vm.vm_id,
    "print('Hello from FireVM!')"
)

print(f"Output: {result.stdout}")  # Hello from FireVM!
print(f"Exit code: {result.exit_code}")  # 0

Note: VMs take about 10-60 seconds to start. The SDK waits automatically.