Installation¶
Divine Router requires Python 3.12 or newer. Use an isolated environment; administrator access is not required.
For development and documentation, install optional groups:
divine doctor creates validated default configuration and an independent random API token in
the platform configuration directory:
| Platform | Configuration convention |
|---|---|
| Windows | %APPDATA%\divine-router |
| macOS | ~/Library/Application Support/divine-router |
| Linux | $XDG_CONFIG_HOME/divine-router or ~/.config/divine-router |
Set DIVINE_CONFIG_DIR, DIVINE_DATA_DIR, DIVINE_CACHE_DIR, and DIVINE_LOG_DIR to isolate
an installation or test run. Relative values are resolved to absolute paths.
Package artifacts¶
Build a wheel and source distribution with:
The installed entry points are divine, divine-claude, divine-codex, divine-opencode, and
divine-aider.