Skip to main content
The AgentRail TypeScript SDK (@agentrail-core/sdk) is a typed HTTP client for the Task Lifecycle API. It requires Node.js 18 or newer because it uses the native fetch API.

Install from npm

Install from the local repository

If you need to work against the SDK before a package release, install it directly from the repository source:
You must run npm run build in the SDK directory first. The install step points your project at the compiled output.

Named exports

The package exposes the following named exports: Import only what you need:

Next steps