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

TypeDescriptionMin Size
opencodeDefault agent (OpenCode)shared-cpu-1x
moltbotMoltbot/Clawdbot agentshared-cpu-8x (2GB)
Moltbot requires at least 2GB RAM and automatically upgrades to shared-cpu-8x if needed

Parameters

ParameterTypeDescription
namestringRequired - Instance name
descriptionstringRequired - Description
agentTypestringAgent type: opencode or moltbot (default: opencode)
containerTemplateIdstringContainer template ID
vmSizestringVM size (default: shared-cpu-4x)
regionstringRegion code (default: iad)
envobjectEnvironment variables

Response

Connect to Existing Instance

Integrations

Connect your agent to external services:

Supported Integrations

IntegrationRequired Env Vars
DiscordDISCORD_BOT_TOKEN, DISCORD_GUILD_ID, DISCORD_CHANNEL_ID
SlackSLACK_BOT_TOKEN
GitHubGITHUB_TOKEN
NotionNOTION_API_TOKEN
TelegramTELEGRAM_BOT_TOKEN
JiraJIRA_BASE_URL, JIRA_EMAIL, JIRA_API_TOKEN
VoiceTWILIO_ACCOUNT_SID, TWILIO_AUTH_TOKEN, TWILIO_FROM_NUMBER
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

OptionTypeDefaultDescription
modelstringanthropic/claude-sonnet-4.5LLM model
providerstringopenrouterModel provider
maxTokensnumber-Max response tokens
systemstring-Custom system prompt
timeoutnumber480000Timeout in ms
pollIntervalnumber2000Poll interval in ms
maxPollTimenumber600000Max poll time in ms
healthCheckRetriesnumber40Health check retry count
healthCheckDelaynumber5000Delay between health checks in ms
waitForHealthbooleantrueWait for health before running
backgroundbooleanfalseReturn taskId immediately
toolsarray-Custom tools for the agent
autoToolsbooleantrueEnable automatic tool usage

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)

Body ParamTypeRequiredDescription
promptstringYesTask prompt
modelstringNoLLM model (default: anthropic/claude-sonnet-4.5)
providerstringNoModel provider (default: openrouter)
timeoutnumberNoTimeout in ms (default: 480000)
max_tokensnumberNoMax response tokens
systemstringNoCustom system prompt
asyncbooleanNoRun asynchronously

Stop Instance

Destroy Instance

Restart Instance

Get Health

Get Changes

Execute Command

Create Snapshot

List Ports

Open Ports

List Tasks

Get Task Status