@beadrun/sdk. Use Node.js 18 or later, Bun, or Deno with npm imports.
Install and authenticate
BEAD_API_KEY through your secret manager or private environment. Get an account through agent signup. The default API origin is https://api.bead.run; override it with BEAD_API_URL.
Run a command
exitCode, stdout and stderr. Inspect it before starting dependent work. All SDK timeouts use seconds; the default machine lifetime is 300 seconds.
Automatic disposal
With TypeScript 5.2 or later andESNext.Disposable enabled:

