Skip to main content

Installation

Install the Tracia SDK using your preferred package manager:

Requirements

  • Node.js 18+ (uses native fetch)
  • Works in modern browsers with native fetch support

Configuration

Initialize the Tracia client with your API key:

Configuration Options

Environment Variables

We recommend storing your API key in environment variables:
.env
Never commit API keys to version control. Use environment variables or a secrets manager.

TypeScript Support

The SDK is written in TypeScript and exports all types:

Next Steps

Prompts SDK

Manage and run prompts stored in Tracia

Run Local

Execute prompts directly against LLM providers