Democr.ai developer documentation

Build runtime-native modules, UI, tools, and agents

Democr.ai gives module developers a server-driven UI runtime, an SDK boundary, provider contracts, sandbox policies, observability, and agent/tool orchestration through one application surface.

Use these docs to build modules without guessing how the runtime works.

Choose Your Path

Start from the workflow that matches what you need to do next.

What You Build Against

Democr.ai separates application code from runtime infrastructure. Modules stay inside the SDK boundary while the core owns orchestration, storage, transports, and enforcement.

Runtime At A Glance

The same module can run through desktop IPC, web sockets, or server mode because rendering and actions go through the runtime contract.

Default launch python main.py
Server runtime python main.py --mode server
Web client python main.py --mode server --client webclient
Config check python main.py validate-config --path ./config.example.yaml
Migrations python main.py migrate all
Autogenerated module migration python main.py create-migration data -m "message" --autogenerate --module module_name

Reference Entrypoints