Installation
Get started with Iris in under a minute.
terminal
$ npm install @iris/sdk
Quick Example
agent.ts
import { Sandbox } from '@iris/sdk'// Create a sandboxconst sandbox = await Sandbox.create({runtime: 'python:3.11'})// Execute commandsawait sandbox.exec('pip install numpy')await sandbox.exec('python train.py')// Save stateconst checkpoint = await sandbox.checkpoint()// Restore anytimeawait Sandbox.restore(checkpoint.id)