Introduction

Vyoma is a developer platform for running code inside secure, isolated sandboxes. It allows you to execute commands, manage files, and control sandbox lifecycles through a simple API.

What you can build with Vyoma

  • Code execution services
  • Online IDEs and playgrounds
  • Automated testing pipelines
  • Education and grading systems
  • Secure execution of untrusted code

How Vyoma works

Each sandbox runs in its own container with an isolated filesystem and process space. Sandboxes can execute multiple commands over their lifetime and are billed based on usage.

SDK and API

Vyoma provides both a REST API and an official JavaScript/TypeScript SDK. The SDK is recommended for most users.

example.ts
import { VyomaClient } from "vyoma"

const client = new VyomaClient({
  apiKey: process.env.VYOMA_API_KEY!,
})

const { sandbox } = await client.sandbox.create({
  templateId: "node-20",
  timeout: 300,
})

const result = await client.sandbox.exec(
  sandbox.id,
  'node -e "console.log(42)"'
)

console.log(result.stdout)

Next steps

Head to the Quickstart to create your first sandbox.