Palantir SDK Patterns Overview Production-ready patterns for Foundry Platform SDK and OSDK usage. Covers client singletons, typed error handling, pagination helpers, retry logic, and multi-tenant client factories. Prerequisites - Completed setup - Familiarity with async/await patterns - or installed Instructions Step 1: Singleton Client (Python) Step 2: Typed Error Handling Step 3: Pagination Helper Step 4: Retry with Exponential Backoff Step 5: TypeScript OSDK Patterns Output - Thread-safe singleton client with cached auth - Structured Result type for error handling - Automatic pagination fo…