Skip to main content

Overview

Instances are VMs running the in10nt agent server. They provide isolated environments for executing AI coding tasks.

Create Instance

Static method (zero-config)

Via client

Agent Types

Moltbot requires at least 2GB RAM and automatically upgrades to shared-cpu-8x if needed

Parameters

Response

Connect to Existing Instance

Integrations

Connect your agent to external services:

Supported Integrations

Voice integration supports both Twilio (required) and ElevenLabs (optional). Add ELEVENLABS_API_KEY, ELEVENLABS_VOICE_ID for text-to-speech.
Discord integration only works with agentType: 'moltbot'

Update Integrations

List Instances

Get Instance

Retrieve a specific instance by ID:
Or by name:

Run Task

Execute a coding task on an instance (works for both OpenCode and Moltbot):
The same .run() method works for both OpenCode and Moltbot instances. Moltbot instances automatically use optimized internal routing.

Complete Example with All Options

Options

Background Mode

Run a task in the background and poll later:

Tasks Namespace

List Tasks

Get Task Status

Poll Task

Conversation Context

Instance maintains conversation history automatically. You can send multiple prompts:

Instance Management

Health Check

Check if instance is ready:

Execute Command

Run a command directly on the instance:

Refresh Status

Update instance data:

Stop Instance

Restart Instance

Destroy Instance

Destroy is permanent. Use stop() if you plan to restart later.

Files Namespace

Get Changes

Get files modified by the agent:

Filesystem Tree

Ports Namespace

Access dev servers running in your instance:

Tools Namespace

Integrations Namespace

Snapshots

Save and restore workspace state:

Save & Clone Instance

Clone from saved templates (workspace snapshots):

Stream Logs

Quick Examples

Basic Usage

Multi-Step Session

Discord Bot (Moltbot)

Voice Agent (Twilio + ElevenLabs)

Moltbot with Custom Options


HTTP API Reference

Base URL: https://in10t-api-v2.fly.dev Auth: Authorization: Bearer YOUR_API_KEY or X-API-Key: YOUR_API_KEY

Create Instance

List Instances

Get Instance

Run Task (OpenCode & Moltbot)

Stop Instance

Destroy Instance

Restart Instance

Get Health

Get Changes

Execute Command

Create Snapshot

List Ports

Open Ports

List Tasks

Get Task Status