Compatibility
Supported runtimes, frameworks, and agent modes for ContractSpec.
Runtimes
Node.js 20+
Bun 1.0+
Frameworks
Next.js 14+ (App Router preferred)
Bun + Elysia or compatible HTTP servers
Package managers
bun (recommended)
npm
pnpm
AI agent modes
claude-code
openai-codex
cursor
opencode
simple (direct LLM)
Datastores
ContractSpec ships with Prisma-friendly defaults and can integrate with custom adapters for other databases.
PostgreSQL via Prisma
Custom adapters for other SQL/NoSQL stores
Cross-platform UI architecture
Need the React and React Native component compatibility story? Read Cross-platform UI for the runtime and UI-layer split.