Cookbook
Complete, copyable, end-to-end recipes. Each solves a real use case with code you can paste and run.
Unlike guides (which are tasks), recipes are complete projects.
Available recipes
| Recipe | Use case |
|---|---|
| Q&A bot over PDF corpus | Turn a folder of PDFs into a Q&A bot with a web UI |
Coming soon
In development
The following recipes are queued:
- Claude Code with per-project memory — set up persistent memory that travels with your repo.
- Multi-tenant memory on S3 — one GRAIL project per client, centralised storage.
- Auto-discovered entity types — use
create-entitiesto adapt GRAIL to a new domain. - Mixed KB + memory project — official reference (PDFs) plus agent memory over conversations.
Typical recipe structure
Each recipe follows the same format:
- Use case — what problem it solves.
- Stack — which pieces you use (mode, vector store, LLM, etc.).
- Step by step — complete code, commands, configuration.
- Try it — a command or sample to verify it worked.
- Extend — how you'd adapt it to a similar case.
Have a recipe you think is missing?
Open an issue on the repo or a PR against docs-site/docs/cookbook/.