Skip to content

Use cases

One machine per task. Whatever the task is.

RL and evals, coding agents, security agents. Each needs a clean machine, a clear outcome and a bill you can read. Here is how each one runs.

How it runs

Three workloads, start to finish.

What each team runs into first, what they usually try, and how the same job runs on Kalworks.

[ RL & Evals ]

Grading 4,000 agent attempts overnight

An eval suite needs every attempt to start from the same machine, or the scores mean nothing.

What teams usually try first
  • Shared containers leak state between tasks
  • A homegrown queue on spot VMs needs someone on call
How it runs on Kalworks
One fleet, one pinned image, 4,000 tasks, no network. Your tests grade each result.
Result
Interrupted tasks come back marked safe to retry, so a flaky machine never shows up as a failing score.

[ Coding agents ]

One machine per agent attempt at a fix

A coding agent installs packages, runs tests and rewrites files. It needs a real Linux machine, not a code snippet runner.

What teams usually try first
  • Docker on a laptop is too slow to run hundreds in parallel
  • Reusing one dev box means attempts overwrite each other
How it runs on Kalworks
Each attempt gets its own machine with outbound access only to the package mirrors you approve.
Result
You get a diff, test output and a sandbox ID for every attempt, and you only pay while the machine was ready.

[ Security agents ]

Running untrusted exploits against an approved scope

A security agent runs code that is meant to break things. It must not be able to reach anything else.

What teams usually try first
  • A shared VPC makes the blast radius your whole account
  • Manual firewall rules drift between runs
How it runs on Kalworks
Default deny networking. Only targets inside your approved scope are reachable, and every machine is released after its task.
Result
Every finding traces back to the exact sandbox and image digest that produced it.

The fleet

Don't orchestrate 4,000 sandboxes. Create one fleet.

A fleet is one resource that owns every sandbox in a run: it starts them from the same pinned image, hands each one a task, retries the tasks our infrastructure dropped, and gives you a single summary and a single bill.

How many tasks?
How long does each task take?
Which machine runs each task?

Standard 2 is one isolated Linux machine with 2 vCPU cores, 8 GiB memory and 40 GiB disk. Every task gets its own.

fleet = kalworks.fleets.create(
    workload="eval-v1",
    machine_class="standard-2",
    slots=1000,
)

for task in fleet.tasks(my_1000_tasks):
    result = task.run(["python", "eval.py"])
    task.report("passed" if grade(result) else "failed")

summary = fleet.wait()

flt_demo · 1,000 tasks · each square = 2.5 tasks

  • Queued
  • Booting
  • Running
  • Passed
  • Dropped by us, safe to retry

Completed
0
Safe to retry
0
Wall-clock time
~7 min
Estimated cost
$5.00

How that cost is worked out

1,000 tasks×6 min each=100 machine-hours×$0.05 (Standard 2)=$5.00

Running them all at once doesn't cost more than running them one by one. You pay for total machine time, so a fleet of 1,000 finishes in about 7 minutes for the same price. The ~41 seconds each machine spends booting, and any time waiting in the queue, is free.

Simulation for illustration. Real runs report actual times and costs per task.

Debug your agent. Not your infrastructure.

Your agent failed? Useful data.Our infrastructure failed? Our problem.

Same environment

Change your agent. Not your environment.

Every sandbox boots from the same pinned image. From your first task to your four thousandth.

fleet.yaml
name: eval-batch-042
image: swe-env@sha256:9f2c…41ad
class: standard-2
tasks: 4000
max_runtime: 30m
Task 1 and task 4,000 boot the same bytes.

Clean failures

Retry only what we broke.

Separate agent failures from infrastructure failures. Keep your results. Retry our mistakes.

Retry of 4 tasks
  • task-0032InterruptedPassed
  • task-0117InterruptedPassed
  • task-0033FailedNot retried
Your 72 passes and 8 failures stay as they were.

Honest billing

Rent machines. Not subscriptions.

No seats. No platform fees. Pay only for machines that are ready to work.

One sandbox, start to release

  • QueuedFree
  • BootingFree
  • ReadyBilled
  • ReleasingFree

Every invoice line links to the meter record behind it.

Run your own workload next.

No card needed. Your first run costs under a cent.

Start free