OpenDivination is an experiment in what happens when LLMs get divination tools.
It is built for two use cases:
- standard human/LLM divination sessions
- LLMs using divination for their own reflective thinking, brainstorming, and purpose-finding
The current SDK and CLI cover:
- tarot draws
- I Ching casts
- auditable entropy provenance
- one stable text-only tarot resonance mode
- coherence scoring (semantic similarity between question and drawn symbol)
The product surface is intentionally small:
- selection mode by default
csprngby default- QRNG and resonance are opt-in
npx skills add amenti-labs/opendivination --skill divination-setup --skill divinationUse the skills in this order:
- start with
divination-setupto install or update OpenDivination and run first-run source setup - then use
divinationfor tarot draws, I Ching casts, source inspection, and provenance-aware results - keep
csprngas the default unless the user explicitly chooses QRNG or local hardware
Detailed skill docs:
skills/AGENTS.mdskills/divination-setup/SKILL.mdskills/divination/SKILL.mdskills/divination/references/cli.md
If you want to use OpenDivination directly without the skills:
uv tool install opendivination
opendivination setup
opendivination draw tarot --json
opendivination draw iching --method yarrow --json
opendivination sources --jsonGitHub fallback:
uv tool install git+https://github.com/amenti-labs/opendivination.gitPython SDK:
pip install opendivinationIf you prefer pipx, it also works for non-system Python installs.
opendivination setup writes ~/.config/opendivination/config.json and can keep the default
csprng path, save remote QRNG credentials, or select detected local hardware.
OpenDivination keeps csprng as the default, but the experiment can also use remote and physical
quantum paths:
csprng: default software RNG- remote QRNG: prefer
outshift, withanualso supported - local hardware:
qcicadaviaopenentropy
For Outshift setup, create an account at https://qrng.outshift.com/, generate an API key, and
either save it through opendivination setup or set OUTSHIFT_QRNG_API_KEY in your environment.
If trust or randomness provenance matters, inspect:
provenance.source_idprovenance.is_quantum
Important defaults:
csprngremains the default until the user explicitly changes itopenentropyis not a default- prefer
qcicadaover the aggregateopenentropysource when the user wants the strongest local quantum path
QCicada hardware support is currently verified on Python 3.13. The base package works on Python
3.14, but the openentropy dependency does not build there yet.
Resonance is a single stable text-only tarot path. It is opt-in and requires an embedding runtime.
opendivination draw tarot \
--mode resonance \
--embed-provider local \
--embed-model nomic-embed-text \
--jsonCoherence scoring is also opt-in:
opendivination draw tarot -q "What should I focus on?" --embed-provider local --json
opendivination draw iching -q "How should I proceed?" --embed-provider local --jsonpip install -e ".[dev]"
pytest
ruff check src tests skills/divination/scripts skills/divination-setup/scripts
mypy src
python3 skills/divination-setup/scripts/run_opendivination.py --check
python3 skills/divination/scripts/run_opendivination.py --check