Alchemy

Your sources, your machine, your models.

Alchemy is a local-first research notebook for macOS. Import papers, repositories, folders, and links. Ask questions with citations, then create documents, decks, and podcasts. Inspired by NotebookLM, built to stay private: Alchemy indexes and stores the library on your Mac. Every cited passage opens in the source. The decisions remain yours.

Requires macOS on Apple Silicon · Signed and notarized · Free and open source (MPL-2.0)

$brew install --cask thrashr888/tap/alchemy
Alchemy showing notebook sources, a cited chat answer, and Studio tools in a three-pane macOS workspace
Actual Alchemy workspace on macOS. View full workspace

Research on your Mac, from source to finished work.

Import source material and ask questions with citations. Generate a brief, deck, or podcast in the same notebook.

Models

Use existing subscriptions and local models.

Bring your Claude Code, Codex, Gemini CLI, Copilot, or Cursor subscription. Route a thread through a gateway, Ollama, LM Studio, or Apple’s on-device model. Every answer shows which provider wrote it.

Existing sign-ins30+ gateway presets
Sources

Sources keep their structure and stay current.

Add a Git repository or local checkout without turning it into a text upload. Documentation stays navigable, code stays searchable, and Alchemy re-syncs through your Git credentials.

Uses your Git credentials
Retrieval

Evidence you can open.

Hybrid semantic and exact search finds the evidence. Each citation opens the source at the matching passage; Deep Research and Ask Everything widen the search only when needed.

Hybrid searchTested from 1M to 10M characters
Studio

Create documents, decks, quizzes, and podcasts.

Turn current notebook sources into editable documents, 16:9 decks, quizzes, mind maps, UML diagrams, infographics, tables, or a narrated Audio Overview—without exporting your context first.

Editable outputNative PDF export
Agents

Give agents access to the same notebook.

The localhost MCP server lets Codex, Claude Code, Gemini CLI, and other agents search, add, and write in the notebook you already use—no copy/paste handoff. The same server answers the alchemy command line: add files, URLs, or piped text and search from any shell.

$npx skills add thrashr888/alchemy@alchemy
$brew install thrashr888/tap/alchemy-cli
Localhost onlySkill on skills.sh
Privacy

Your library stays on your Mac.

Sources are extracted, indexed, and stored on your Mac. Every notebook also lives as files you can inspect, edit, and move. You choose what chat context reaches a provider; Ollama and Apple’s on-device model keep chat offline. Alchemy copies the whole library every night and keeps a week of copies plus four weekly ones, so a bad day is something you restore from rather than recover from.

No accountOffline with local modelsNightly backups
Benchmarks

Search, benchmarked.

Alchemy’s search is tested against public BEIR benchmarks. The built-in engine scores 0.737 on SciFact, higher than BM25 (0.665) and TAS-B (0.643), with everything running on your Mac. That figure includes an on-device reranking pass. Ollama embeddings score higher without one — reranking a stronger set of results makes them worse — so each row quotes the setting that wins for it.

nDCG@10, higher is betterRun them yourself: BEIR_XENC=small cargo test --lib beir_ -- --ignored
BEIR SciFact
0.737
0.754 with Ollama, fusion only · BM25 0.665
BEIR NFCorpus
0.352
0.388 with Ollama, fusion only · BM25 0.325
BEIR FiQA
0.318
0.429 with Ollama, fusion only · BM25 0.236

Which model should you run?

A fresh install picks its starting model by how much memory your Mac has, from 8GB up to a 512GB Studio. The table is for choosing your own: each model is evaluated against the full pipeline, meaning retrieval, citation of the known-correct evidence, and per-claim support. The test suite is reproducible from the repository.

Model Evidence cited Two‑source questions Faithfulness Notes
qwen3.8:27b-mlx 76% 88% 0.69 / 0.95 Fast, precise citations, but it overstates what sources say. The verify pass corrects it.
ornith-1.5:9b 76% 84% 0.69 / 0.99 Best citations of the small models. Never declines, so its misses arrive confident.
muse-glimmertwo-source pick 68% 88% 0.89 / 0.94 Best at two-source citations. The 30B variant costs more, scores the same.
nemotron-3.5-lightning 68% 84% 0.62 / 0.96 Answers everything. A third of its cited claims don’t hold up. Skip it for work you’ll cite.
gemma4:31b-mlxlarge-Mac pick 68% 80% 0.91 / 0.98 Highest faithfulness of the large models. Shortest answers.
gemma4:12b-mlxsmall-Mac pick 64% 72% 0.80 / 0.95 The default under 32GB. Declines cleanly when the sources don’t answer.
bonsai-8bspeed pick 60% 26% 0.91 / 0.70 1.2 GB, 4–20× faster than the rest. The follow-up search covers its two-source gap.
lfm2.5:8b 52% 44% 0.85 / 0.98 5 GB and quick. Occasionally writes citation brackets the checker can’t read.
gpt-oss:120b 24% 12% 1.00 / 0.83 Declines often, and cites in a bracket format the app cannot parse.

Rows sort by evidence cited, then two-source score. SciFact claims and HotpotQA two-source questions, 25–50 per model, run through the same pipeline the app ships, on the built-in search engine. Faithfulness is the share of cited sentences the source actually supports, checked on your Mac and calibrated against a stronger cloud model (shown SciFact / HotpotQA). Every number is reproducible: cargo test --lib judged_.

Also in the box:

macOS

Made for your Mac.

Alchemy follows your macOS text size, adds notebooks to Spotlight, and accepts links from Services. A menu bar extra and alchemy:// links keep it close at hand.

Command anywhere.

Press ⌘K to open a notebook, add a source, or run a generator. Type / for the same actions in chat.

Read in context.

Explain or compare a passage in place.

Choose a website color theme
Theme: System
Capture and sync

Bring in the source. Keep it current.

Clip signed-in pages from your own tab, watch folders and OKF bundles, read scans locally, and refresh URLs on a schedule.

LedgerLive
5records linked to evidence
Decision held for review5 anchors

Keep decisions tied to evidence.

Assertions, facts, and open questions stay connected to the passages behind them.

Night ShiftOn

Let Night Shift run the routine work.

Sources refresh while you sleep, and a page that changed overnight is weighed against the conclusions you already recorded. Night Shift writes notes and reports. It will not act outward.

Sources refreshed
Contradiction found
Next check
One dial: Light, Standard, or Generous.Local
Morning Brief
“Three decisions need you.”
4 changes2 records

See what needs you first.

A text-first daily review of changes across your notebooks.

GrowProposals only

Notebooks that grow on purpose.

Questions your notebook answered thinly become standing questions. Alchemy proposes files already on your Mac, pages your sources keep citing, and — if you turn it on — results from the web. Nothing is added until you say so.

2 files on this Mac
6 pages your sources cite
Wiki index refreshed
Plus tidy-up proposals, tag merges, and a wiki index with entity pages.Local
Reports

Run checks on a schedule.

Run on a timer or when a source changes. Each result is saved as a note.

7 runs1 source change

Get Alchemy

Free and open source under MPL-2.0. Requires a Mac with Apple Silicon; builds are signed and notarized. Use an existing subscription or API key. Ollama and Apple’s on-device model work offline.

$brew install --cask thrashr888/tap/alchemy