exa-sdk-patterns
Installation
SKILL.md
Exa SDK Patterns
Overview
Production-ready patterns for Exa SDK usage in TypeScript and Python.
Prerequisites
- Completed
exa-install-authsetup - Familiarity with async/await patterns
- Understanding of error handling best practices
Instructions
Step 1: Implement Singleton Pattern (Recommended)
// src/exa/client.ts
import { ExaClient } from '@exa/sdk';
let instance: ExaClient | null = null;