Skip to main content
Use the asteroid-odyssey TypeScript SDK to execute agents, monitor executions, work with files, and manage profiles from your application.
The SDK exports a client singleton and individual endpoint functions. Configure the client once with your API key, then call the functions directly.

Install

Or with pnpm:

Quickstart

Run it with:

Client Configuration

All SDK functions share the singleton client. Configure it once at startup:
Every function accepts an optional client override if you need per-request auth:

Common Functions

The most frequently used functions are listed below. See the API reference for the full set.

Common Patterns

Notes

  • Use inputs for execution variables — dynamicData is deprecated.
  • executionActivitiesGet returns Array<AgentsExecutionActivity> directly, not a wrapped object.
  • All functions return { data, error }. Check error before using data.
  • File list responses include a downloadUrl per file. Fetch it with your API key in the X-Asteroid-Agents-Api-Key header.

Python SDK

See the Python SDK guide

API

Browse the API landing page and common workflows