| Option 1: SDK (recommended) | Option 2: GraphQL API |
|---|---|
| Thin wrapper around the API | More customizable depending on your use case |
| Designed to get you started on Codex quickly | Requires more configuration |
| Built-in subscription connection handling | More control over the connections |
| Predefined queries and mutations | Write your own queries |
| Good choice if you ARE using Typescript | Good choice if you ARE NOT not using Typescript |