Skip to main content

Dionysys Documentation

Dionysys is a self-hosted SDK suite for persona-driven UI adaptation. The core idea is simple: your app emits loose UI events, the server resolves adaptive decisions, and the client plus React layers make those decisions usable in a real interface.

Start here​

Package map​

PackagePurpose
@dionysys/serverSelf-hosted backend routes under /api/dionysys
@dionysys/clientFramework-agnostic client SDK
@dionysys/reactReact provider, hooks, feedback, and admin UI
@dionysys/storage-mongodbMongoDB storage adapter
@dionysys/connector-openaiOpenAI-backed decision connector
@dionysys/connector-geminiGemini-backed decision connector
@dionysys/connector-anthropicAnthropic-backed decision connector
@dionysys/coreShared contracts and adaptive decision logic

Principles​

  • Keep provider keys on the server only
  • Treat /api/dionysys/* as the primary public API surface
  • Keep app-specific event translation in app code, not in the SDK
  • Prefer client={dionysysClient} in React over compatibility callback props

Local docs commands​

npm run docs
npm run docs:build
npm run docs:typecheck