config.toml
crossmem reads configuration from ~/.crossmem/config.toml. If the file doesn’t exist, it’s created with defaults on first run.
Location
~/.crossmem/config.toml
Full reference
[cite_key]
pattern = "[auth:lower][year][shorttitle:1:nopunct]"
Sections
[cite_key]
| Key | Default | Description |
|---|---|---|
pattern | [auth:lower][year][shorttitle:1:nopunct] | Pattern DSL for generating cite keys. See cite_key Pattern DSL. |
Environment variables
These are not in config.toml but affect crossmem’s behavior:
| Variable | Default | Description |
|---|---|---|
CROSSMEM_OLLAMA_MODEL | llama3.2:3b | Ollama model for compile pass |
BRIDGE_PORT | 7600 | Bridge server port |
RUST_LOG | info (bridge) / warn (MCP) | Log level filter |
Data directories
crossmem stores all data under ~/crossmem/:
~/crossmem/
raw/ # Downloaded PDFs + metadata JSON sidecars
wiki/ # Compiled wiki notes (markdown)