> ## Documentation Index
> Fetch the complete documentation index at: https://docs.mirage.strukto.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# smolvm

> Connect either Mirage SDK to an existing smolvm microVM.

Create and start the machine. Details: [Python](/python/runtime/sandbox/smolvm) ·
[TypeScript](/typescript/runtime/sandbox/smolvm).

```bash theme={null}
smolvm machine create --net --name mirage-box --image my-mirage-image
smolvm machine start --name mirage-box
```

<Tabs>
  <Tab title="Python SDK" icon="https://mintcdn.com/struktoai/F9Lv_nTaj6By6crk/images/python-logo.svg?fit=max&auto=format&n=F9Lv_nTaj6By6crk&q=85&s=cf5b268d330f7db46ea5cf6083f309a1" width="110" height="110" data-path="images/python-logo.svg">
    ```python theme={null}
    from mirage.runtime.sandbox.smolvm import SmolvmRuntime

    runtime = SmolvmRuntime(captures=["python3"], config={"machine": "mirage-box"})
    ```
  </Tab>

  <Tab title="TypeScript SDK" icon="https://mintcdn.com/struktoai/F9Lv_nTaj6By6crk/images/typescript-logo.svg?fit=max&auto=format&n=F9Lv_nTaj6By6crk&q=85&s=63a620cb702b16103c53ea361a17504a" width="512" height="512" data-path="images/typescript-logo.svg">
    ```typescript theme={null}
    import { SmolvmRuntime } from '@struktoai/mirage-node'

    const runtime = new SmolvmRuntime({
      captures: ['python3'],
      config: { machine: 'mirage-box' },
    })
    ```
  </Tab>
</Tabs>
