Storage adapters

Supercompat needs somewhere to keep state: assistants, threads, messages, runs, run steps, and — for the Responses API — conversations and conversation items. The storage adapter is that somewhere.

Catalog

AdapterBackendPage
memoryStorageAdapterIn-process memoryMemory
prismaStorageAdapterPostgreSQL via PrismaPrisma
openaiResponsesStorageAdapterOpenAI-managedOpenAI Responses
azureResponsesStorageAdapterAzure-managedAzure Responses
azureAgentsStorageAdapterAzure AI Foundry + PrismaAzure Agents

Picking one

Scripts and tests: memoryStorageAdapter.
Production, you own the DB: prismaStorageAdapter. Works with every provider.
OpenAI-only app, no DB: openaiResponsesStorageAdapter.
Azure-only app, no DB: azureResponsesStorageAdapter.
Azure Agents: azureAgentsStorageAdapter.