Getting Started with ComputeSDK
A developer-first primitive for embedding compute capabilities in your applications.
ComputeSDK is a developer-first primitive that allows you to embed compute capabilities directly into your applications.
Overview
ComputeSDK provides a simple yet powerful API for:
- Running arbitrary code securely
- Accessing file systems and terminals
- Connecting directly from the browser
- Scaling effortlessly
Quick Example
import { ComputeClient } from "computesdk";
const compute = new ComputeClient();
// Run any shell command
const result = await compute.exec('echo "Hello from the shell!"');
console.log(result); // Output: Hello from the shell!
// Run a Python script
const pythonResult = await compute.exec('python3 -c "print(\'Hello from Python!\')"');
console.log(pythonResult); // Output: Hello from Python!
Next Steps
- Learn about installation and setup
- Follow our quick start guide
- Explore core concepts