Compute SDK
Embedded Compute for Your Apps
A developer-first primitive to embed compute into your app, agent, or network with the ability to connect directly from the browser.
import { compute } from 'computesdk';
import { provider } from '@computesdk/provider';
// Set default provider
compute.setConfig({
provider: provider({ apiKey: process.env.PROVIDER_API_KEY })
});
// Create a sandbox
const sandbox = await compute.sandbox.create({});
// Execute code
const result = await sandbox.runCode('print("Hello World!")');
console.log(result.stdout); // "Hello World!"
// Clean up
await sandbox.destroy();
Introducing
All of a sudden everyone is a coder now.
I remember scouring through the Joomla! documentation site for a website I was building when I was 13. I remember that the concepts were not the gotchas, but syntax or one little piece of information was. Every bit of detail was worth reading because you weren't sure when you would need it for recall.
On June 20, 2024 anthropic released Claude 3.5 Sonnet and the internet changed. All of a sudden an AI studio had released a model that was good enough to output code for all of us. All of a sudden everyone could be a coder. A vibe coder.
However, just like any experienced programmer can tell you. Creating something is addicting. The next million developers haven't learned to code by building Joomla, WordPress or Magento sites like me. They've learned or are learning to code by vibe coding.
Simplicity is more important than ever.
These next sets of coders don't want to fiddle with Terraform, CDK, or some vendor's docs. They don't even want to waste context window space on this. The next set of coders want to build even more complex applications and therefore need to simplify. They don't want to be forced to make "The Right Decision". They want optionality in their compute layer.
ComputeSDK is a primitive to help you build any application. To start, we're building the primitive around raw compute. We've aggregated some of the best integrations from E2B, Vercel, Fly, and Cloudflare so that you can get started quickly without needing to manage the complexity of a specific vendor.
We can't wait to see what you build.