Skip to main content

Installation

Install the SDK using npm or yarn:
npm install @in10nt/sdk
yarn add @in10nt/sdk

Setup

Get your API key from the in10nt dashboard and initialize the client:
import { In10ntClient } from '@in10nt/sdk';

const client = new In10ntClient({
  apiKey: 'your_api_key'  // or set IN10NT_API_KEY env var
});
You can also use the alias In10tClient if you prefer shorter names

Create Your First Agent

Create an instance and run your first task:
// Create instance
const instance = await client.instances.create({
  name: 'my-first-agent'
});

// Run a task
const result = await instance.run(
  'Create a simple Express.js server with a health check endpoint'
);

console.log(result.response);
console.log(`Tokens used: ${result.tokensUsed}`);

Next Steps

What You Can Do

  • Create instances: Spin up AI coding agents in seconds
  • Run tasks: Execute complex coding tasks with natural language
  • Maintain context: Continue conversations across multiple prompts
  • Custom environments: Use any Docker image as your base
  • Track usage: Monitor token consumption and costs