Skip to content

Agents overview

An agent needs somewhere safe to run what it writes. SVM gives it a fresh microVM per task, plus tools shaped for models: short answers cut to a token budget, failures it can act on, and one-call versions of loops that would otherwise take many turns.

Package For
svm-agents (Python) Anthropic tool use, OpenAI Agents, LangChain and LlamaIndex
@svm/vercel-ai-tools (TypeScript) The Vercel AI SDK (generateText and streamText tools)
svm-openhands Runs the OpenHands agent server inside an SVM sandbox
svm-harbor Runs Harbor benchmark tasks, such as Terminal-Bench, with SVM sandboxes as the environment

Their source is in integrations/ in the repository.

  • Never pass platform credentials into a guest. Use secrets bound to hosts.
  • Give each task its own sandbox, and label it with metadata so that you can find it and clean up.
  • Use rollouts for best-of-N attempts, rather than retrying in one sandbox.