Skip to main content

SDK Overview

The @castari/sdk package lets you manage agents programmatically.

Installation

Quick Example

When to Use the SDK

Authentication

The SDK supports two authentication methods:
Generate an API key in the Castari Dashboard.

OAuth Token (For user-scoped access)

TypeScript Support

The SDK is written in TypeScript and exports all types:

Error Handling

Next Steps

CastariClient

Client configuration and setup

Agents API

List, deploy, and invoke agents

Secrets API

Manage agent secrets

Types

TypeScript interfaces