Install the Grimoire
Get the library onto your computer in a few minutes. Start with the simple download; the full command reference is at the bottom.
Start here
Open a terminal in the folder where you want to keep the project. You need Git (to download the project), Python 3.8 or newer (to run the search tool), and about 360 MB of free space. No account, no key, no build tools.
The commands below download the project, download the library file, check the download, put the file in the right folder, and print the library counts. Paste the block into a terminal.
git clone https://github.com/sagaciouszu/destiny-agent-grimoire.git
cd destiny-agent-grimoire
base=https://github.com/sagaciouszu/destiny-agent-grimoire
curl -fsSL "$base/releases/latest/download/grimoire.db" -o grimoire.db
curl -fsSL "$base/releases/latest/download/SHA256SUMS" -o SHA256SUMS
grep ' grimoire.db$' SHA256SUMS | sha256sum -c -
mv grimoire.db db/grimoire.db
python3 db/query.py stats
If the last command prints counts, you are ready to search.
See what the Grimoire offers for the library overview.
Before you start
- Python 3.8 or newer. No extra Python packages are needed.
- Git, to download the project.
- About 360 MB of free space. The library file itself is about 260 MB.
- Roughly the same space again if you build from source.
The download needs no build tools. Building from source only needs Python.
Everyday commands
python3 db/query.py stats
python3 db/query.py search "Crota" --limit 5
python3 db/query.py character "eris" --limit 20
python3 db/query.py verify "Absolutely not." --speaker "Eris Morn" --exact
Search treats punctuation as text instead of throwing an error. If the quote
checker prints NOT FOUND, stop: the line is not in the library. Do not
reword it until it passes.
Connect an AI
The optional connector lets an AI app ask the library questions as tools. Install it once:
bash mcp-server/install.sh
The installer prints a configuration block pointing at
mcp-server/run.sh. It runs on your computer and only reads the
library. See Connect an AI for the app
setup and the full tool list.