Skip to main content
Vers is built for long-running coding, QA, SRE, and evaluation agents that need a real Linux computer they can mutate, checkpoint, branch in parallel, and put to sleep between turns.

Zero-signup trial with your coding agent (/llms.txt)

You can test Vers inside Claude Code, Codex, Cursor, or any terminal-capable coding agent in under a minute without creating an account or minting an API key:
  1. Point your agent at https://vers.sh/llms.txt.
  2. Let it run commands against ssh try.vers.sh — any unrecognized SSH key automatically provisions an expiring KVM trial, and scp, sftp, and ssh -L port forwarding work out of the box.
Example prompt to paste into your coding agent:
Try the underlying command yourself directly from your terminal:
When you are ready to keep your computers and branches beyond the trial window, upgrade the same SSH identity in place:

Canonical production agent loop (warm once → branch N → pick winner)

For custom agent harnesses, SWE-bench/eval runners, and autonomous QA pipelines, avoid paying a 30–180 second repo build or database seed on every attempt:

Example: parallel best-of-N attempt runner (Python)

Guardrails for reliable agent harnesses

  • Prevent shell injection with direct-argv exec: Pass command as an explicit string array (["pytest", "-q", target_file]) rather than interpolating untrusted model output into a shell string.
  • Control background processes explicitly: POST /exec terminates leftover child processes when a command finishes unless you set keep_background: true (or pass --keep-background in vers exec). Use that when an agent starts a dev server or database that needs to stay alive for the next tool call.
  • Make retries safe with Idempotency-Key: Agent harnesses retry on LLM rate limits and network blips. Store one UUID per logical create, checkpoint, or delete step and send it in Idempotency-Key so retries never orphan extra VMs.
  • Use --json when wrapping the CLI: If your agent calls the vers binary directly, pass --json for structured machine-readable responses and check documented exit codes (0, 2, 5, 6) in the CLI reference.
  • Sleep idle computers between turns: Interactive coding agents spend most of their wall-clock time waiting on LLM responses or human review. Call POST /api/v2/computers/{id}/sleep (or leave keep_alive: false for auto-sleep) to drop compute billing to $0 while keeping RAM and disk intact.

Next steps

Python & TypeScript cookbook

Copy the full /api/v2 client helpers in Python (httpx) or TypeScript (fetch).

Multi-VM project networks

Run and branch full app + postgres stacks for integration-testing agents.