kosa8 / Switch

Switch · verifiers

verifiers without Modal or E2B

Checked

On 2026-10-19 Prime Intellect merged verifiers PR #2862, which removed the modal, e2b, podman and apptainer runtimes. Prime is now the only built-in sandbox, and other providers run as custom runtime plugins that verifiers does not maintain or test. kosa8 ships one. It is thin today, and this page says exactly where.

01What changed, with dates

  • 2026-10-19: PR #2862, “bring your own runtime as a plugin, deprecate non-Prime VMs, demote non-Prime runtimes”, merged [1]. Its guidance: migrate to prime, or implement your provider as a custom runtime plugin.
  • Moving to Prime sandboxes is a sound choice for many teams, see kosa8 vs Prime. kosa8 is for teams who also want rollouts on their own machines, in their own cloud, or forked from a mid-episode sandbox.

02The config change

Before

toml
# environment config, before PR #2862
[env.agent.runtime]
type = "modal"            # or "e2b"
image = "ghcr.io/acme/task:1.0"

kosa8

toml
# pip install kosa8 verifiers ; export KOSA8_API_KEY=k8c_live_...
[env.agent.runtime]
type = "custom"
import_path = "kosa8.rl.verifiers.Kosa8Backend"
image = "ghcr.io/acme/task:1.0"     # or template = "python"
lease_s = 3600

03What the plugin declares

verifiers refuses, before it provisions anything, a run that needs a feature the runtime does not declare. Kosa8Backend in kosa8-py 0.6.0 declares:

FeatureDeclared by Kosa8Backend
Task images (SUPPORTS_TASK_IMAGES)Yes
User switchingNo
Port exposureNo
ComposeNo
Network policiesNo
Memory and disk limitsNo

So tasks that need port exposure, user switching, compose or a network policy (many Harbor-style agentic tasks do) are refused by verifiers today. Tasks that need a task image and commands work.

04What behaves differently

kosa8 runtime today
exec outputBuffered: a command's output is gathered and streamed when it ends
Long commandsA buffered command runs at most 90 s on kosa8 Cloud
stdinNot supported
Working directoryEach command runs in workdir (default /workspace)
CleanupSynchronous and idempotent; sandboxes also carry a lease (lease_s) so a crashed trainer does not leave them running

This reflects kosa8.rl.verifiers in kosa8-py 0.6.0 as of 2026-11-23.

05What was tested

Honestly: the plugin was written against verifiers' v1 source (2026-11) and is covered by kosa8-py's unit tests. It has not been run against a live verifiers install in CI, and verifiers' runtime conformance test (pytest tests/unit/test_runtimes.py --runtime ...) has not been run against it yet. If you try it, tell us what broke.

06Switching back is one line

The runtime is one config block. Change type back to prime and remove import_path.

07What it costs

Start free: the Starter tier needs no card, with $10 of one-time usage, 2 sandboxes running, up to 2 vCPU, 60-minute sessions, for 14 days. Paid plans from $29 a month include sandbox-hours; usage above the plan is metered per second up to a spend cap you set, on by default at $50. Pricing.

08Sources, checked on 2026-11-23

Facts about another product come from that vendor's own pages, read on 2026-11-23. Products change quickly: check the current pages before you decide, and tell us if something here is out of date and we will fix it.

  1. verifiers PR #2862
  2. kosa8-py: kosa8.rl.verifiers (source)
  3. kosa8 docs: RL and evals

Run your own code on it first.

No card for the Starter tier. Paid plans from $29 a month, with a spend cap on by default.