Freestyle gives AI products the infrastructure to run and store code they did not write: fast Linux VMs for execution, and multi-tenant Git for storage.
Install
pnpm add freestylebun add freestylenpm install freestyleyarn add freestyle Set your API key before calling the API:
export FREESTYLE_API_KEY="your-api-key"
Create A VM
import { freestyle } from "freestyle";
const { vm } = await freestyle.vms.create();
const result = await vm.exec("echo 'hello from freestyle'");
console.log(result);
Next Steps
- Freestyle CLI for terminal commands.
- Freestyle VMs for VM lifecycle, files, SSH, and client sessions.
- Freestyle Git for repository storage, API access, search, triggers, and GitHub sync.