Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/everruns/everruns/llms.txt

Use this file to discover all available pages before exploring further.

Install the SDK

The Everruns TypeScript SDK provides a type-safe interface to interact with the Everruns API.
npm install everruns-sdk

Requirements

  • Node.js 16 or higher
  • TypeScript 4.5 or higher (optional, but recommended)

Initialize the client

Create a client instance with your Everruns server URL:
import { EverrunsClient } from 'everruns-sdk';

const client = new EverrunsClient({
  baseUrl: 'http://localhost:9300',
});

Configuration options

OptionTypeRequiredDescription
baseUrlstringYesEverruns server URL
apiKeystringNoAPI key for authentication (if enabled)
timeoutnumberNoRequest timeout in milliseconds (default: 60000)

With authentication

If your Everruns server requires authentication, provide an API key:
const client = new EverrunsClient({
  baseUrl: 'https://api.example.com',
  apiKey: process.env.EVERRUNS_API_KEY,
});
Never hardcode API keys in your source code. Use environment variables or a secure configuration management system.

Verify connection

Test your connection with a health check:
const health = await client.health();
console.log('Server version:', health.version);
console.log('Runner mode:', health.runner_mode);

Next steps

Quickstart

Build your first agent application in minutes

Working with Agents

Create and manage AI agents