Skip to content

Getting Started

Storey Redshaw edited this page Nov 13, 2026 · 8 revisions

Getting Started

Requirements

Need Version Used for
Git any current release clone and updates
Python 3.8+ query CLI and local build
curl any current release optional prebuilt database download
Python 3.10+ optional MCP adapter

The query CLI uses the Python standard library only. No API keys or network access are required at runtime.

Clone

git clone https://github.com/sagaciouszu/destiny-agent-grimoire.git
cd destiny-agent-grimoire

On Windows, use Git Bash or PowerShell with Git for Windows installed.

Get the database

Choose one path.

Download the prebuilt database (seconds):

curl -fsSL https://github.com/sagaciouszu/destiny-agent-grimoire/releases/latest/download/grimoire.db -o db/grimoire.db

Windows PowerShell:

curl.exe -fsSL https://github.com/sagaciouszu/destiny-agent-grimoire/releases/latest/download/grimoire.db -o db/grimoire.db

Smaller companions of the same bytes live at the same endpoint: grimoire.db.xz (33.6 MiB, xz -d; use 7-Zip on Windows) and grimoire.db.gz (60.5 MiB, gzip -d; use 7-Zip on Windows). The gzip asset needs nothing beyond gzip, which is what Android apps decompress with GZIPInputStream.

The prebuilt asset is checked against the release SHA256SUMS by the agent installers. To check it yourself:

grep '  grimoire.db$' SHA256SUMS | sha256sum -c -

SHA256SUMS also lists the .xz and .gz companions. Checking the whole file fails unless every listed asset is present, so select the line for the file you actually downloaded.

First queries

python3 db/query.py stats
python3 db/query.py search "Crota" --limit 5
python3 db/query.py character "Eris Morn" --limit 10
python3 db/query.py verify --speaker "Eris Morn" --exact "You did well to find this point of infestation."

stats confirms the database opened. verify exits non-zero when a quote is not canon, which is the safety primitive every agent uses.

Optional MCP setup

bash mcp-server/install.sh

The installer creates a private virtualenv, installs the pinned MCP SDK and prints a client config snippet. See MCP Server.

Next steps

Clone this wiki locally