-
Notifications
You must be signed in to change notification settings - Fork 31
Home
Ken Tang edited this page Mar 24, 2026
·
1 revision
Welcome to the Kintaiyi 堅太乙 wiki — the most authentic open-source Taiyi Shenshu (太乙神數) divination engine in Python.
太乙神數 (Taiyi Shenshu) is one of the "Three Styles" (三式) of ancient Chinese divination, alongside Qi Men Dun Jia (奇門遁甲) and Da Liu Ren (大六壬). This millennia-old system was historically used to forecast celestial phenomena, national destiny, and major events.
Kintaiyi 堅太乙 — meaning "steadfastly adhering to the ancient methods" — faithfully implements the classical algorithms without simplification or shortcuts, enabling researchers and enthusiasts to study, verify, and apply this ancient wisdom with modern tools.
- 🔮 Six Calculation Modes — Year, Month, Day, Hour, Minute, and Life divination
- 📜 Four Ancient Methods — Taiyi Orthodox (統宗), Gold Mirror (金鏡), Gold Panning Song (淘金歌), Taiyi Bureau (太乙局)
- 📊 Rich Output — Heavenly Stems & Earthly Branches, board formations, deities, 28 Mansions, 8 Gates, military predictions, historical reign cross-references
- 🏯 Historical Reign Data — Built-in complete Chinese dynastic chronology with lunar calendar conversion
- 🖥️ Multiple Interfaces — Python API, Typer CLI, and Streamlit GUI
- 🤖 AI Integration — Cerebras AI for automatic board interpretation
| Topic | Description |
|---|---|
| Installation | How to install Kintaiyi via pip or from source |
| Quick Start | Get up and running in minutes |
| Python API | Full Python API reference |
| CLI Reference | Command-line interface usage |
| Calculation Modes | The six calculation modes explained |
| Ancient Methods | The four classical Taiyi methods |
| Output Fields | Understanding the board output |
| Web Interface | Streamlit web application guide |
| Contributing | How to contribute to the project |
| FAQ | Frequently asked questions |
| Project | Description |
|---|---|
| 堅奇門 kinqimen | Python Qi Men Dun Jia (奇門遁甲) |
| 堅六壬 kinliuren | Python Da Liu Ren (大六壬) |
三式齊備,古法傳承 — The Three Styles of Chinese divination, all open-sourced.