Skip to content

AI SANDBOXESSovereign compute for Indian AI

Run untrusted, AI-generated code in secure, isolated sandboxes for enterprise-grade agents — compute never leaves India. Mumbai (ap-south-1) · gVisor isolation · INR billing

Install

bash
pip install ai2in
bash
npm install @ai2in/sdk
bash
npm install -g @ai2in/cli

Your first sandbox

python
from ai2in import Sandbox

with Sandbox(api_key="ai2in_live_…") as sbx:
    execution = sbx.run_code("print(6 * 7)")
    print(execution.logs.stdout)   # ['42\n']
javascript
import { Sandbox } from "@ai2in/sdk";

const sbx = await Sandbox.create({ apiKey: "ai2in_live_…" });
const execution = await sbx.runCode("print(6 * 7)");
console.log(execution.logs.stdout); // ['42\n']
await sbx.kill();
bash
ai2in login --key ai2in_live_…
ai2in run -e "print(6 * 7)"

Head to Getting started for the full walkthrough.

Sovereign compute for Indian AI — hosted in Mumbai (ap-south-1).