Skip to content
All capabilities

Run

Code execution

Run scripts and isolated tasks in capable execution environments.

Example run
import { BeeOSClient } from "@beeos-ai/cloud-sdk";
const cloud = new BeeOSClient({
  baseURL: process.env.BEEOS_CLOUD_API_URL!,
  apiKey: process.env.BEEOS_API_KEY!,
}).withExternalUser(process.env.BEEOS_EXTERNAL_USER_ID!);

const response = await cloud.responses.create({
  input: "Analyze sales.csv and chart the weekly trend",
  metadata: { harness_id: harness.hermes },
}, crypto.randomUUID());
console.log(response.output);
Output
    1. 01

      Provide a capable execution environment

    2. 02

      Ask the runtime to run a script or task

    3. 03

      Return the result to the product

    A practical use case

    Let an agent analyze data or build a file in a runtime-provided sandbox.

    • Isolated code execution
    • Runtime-owned process and tools
    • Results suitable for downstream workflows

    Start integrating

    Start integrating

    Read the integration guide, then connect your runtime and backend.

    Documentation