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:
- Point your agent at
https://vers.sh/llms.txt. - Let it run commands against
ssh try.vers.sh— any unrecognized SSH key automatically provisions an expiring KVM trial, andscp,sftp, andssh -Lport forwarding work out of the box.
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: Passcommandas an explicit string array (["pytest", "-q", target_file]) rather than interpolating untrusted model output into a shell string. - Control background processes explicitly:
POST /execterminates leftover child processes when a command finishes unless you setkeep_background: true(or pass--keep-backgroundinvers 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 inIdempotency-Keyso retries never orphan extra VMs. - Use
--jsonwhen wrapping the CLI: If your agent calls theversbinary directly, pass--jsonfor 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 leavekeep_alive: falsefor auto-sleep) to drop compute billing to$0while 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.