[iris]/docs

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 sandbox
const sandbox = await Sandbox.create({
runtime: 'python:3.11'
})
// Execute commands
await sandbox.exec('pip install numpy')
await sandbox.exec('python train.py')
// Save state
const checkpoint = await sandbox.checkpoint()
// Restore anytime
await Sandbox.restore(checkpoint.id)