Install the package
You can install the Dedalus SDK using your preferred package manager:Get your API key
Before using the SDK, you need an API key from Dedalus Labs.Sign up for Dedalus
Visit dedaluslabs.ai and create an account if you haven’t already.
Set up your environment
The SDK automatically reads your API key from theDEDALUS_API_KEY environment variable. You can also pass it explicitly when initializing the client:
Choose your environment
The SDK supports two environments: production and development.You cannot specify both
baseURL and environment options. If you need to use a custom URL, set baseURL and omit the environment option.TypeScript configuration
The SDK requires TypeScript 4.9 or higher. Make sure yourtsconfig.json includes:
tsconfig.json
Verify installation
Test that everything is working correctly:test.ts
Next steps
Quickstart guide
Create your first chat completion with a working code example