You have two options for building on the Codex API:

Option 1: SDK (recommended)Option 2: GraphQL API
Thin wrapper around the APIMore customizable depending on your use case
Designed to get you started on Codex quicklyRequires more configuration
Built-in websocket connection handlingMore control over the connections
Predefined queries and mutationsWrite your own queries
Good choice if you’re using TypescriptGood choice if you’re not using Typescript