1. Quick start
This is the shortest path from a fresh machine to your first result.
Install LatticeMind from the Nanoacademic package index, on Python 3.10 through 3.14. Its dependencies come from public PyPI, so
pipneeds both indexes:python -m pip install \ --index-url https://pypi.nanoacademic.ca/simple/ \ --extra-index-url https://pypi.org/simple/ \ lattice-mind
Install your LatticeMind license. This is LatticeMind’s own license, not a RESCU one. Put exactly one
*.licor*.licensefile in~/.nanoacademic/LATTICEMIND. On Windows that expands toC:\Users\<username>\.nanoacademic\LATTICEMIND. For any other location, set:LATTICEMIND_LICENSE_FILE=/full/path/to/latticemind.lic
Answer two questions. Which model to use, and where RESCU is:
latticemind setupOpenAI is the default and asks for its API key; Claude and Gemini API keys are offered too, and
/modelinside a conversation lists every provider, including Qwen and a local Ollama. RESCU is offered where LatticeMind finds it. The answers are saved to~/.latticemind/.envfor the terminal and the browser alike, and a barelatticemindwith nothing configured asks the same two questions itself. Setting the variables by hand still works — see Connecting your AI model.Make a folder for the work and start in it. The folder you start in is the project:
mkdir silicon-bands cd silicon-bands latticemind
Then type what you want:
Do a simple SCF and band structure calculation for silicon.
LatticeMind builds the structure, writes the RESCU inputs and validates them, then shows you exactly what it would run and where, and asks:
1. yes 2. yes, always 3. no
Answer with a number or in words — yes, go ahead, run it, or no, cancel. Nothing reaches the solver until you say so. If you only want the inputs for now, ask for that: “prepare the inputs but do not run anything.”
While it works, a single status line keeps you posted, and you can type a
correction at any time. ctrl-c offers to stop, to leave the work running, or
to keep watching.
Tip
Type /examples inside the app for ready-to-run prompts, or /help for
the short list of commands. Everything else is plain language.
Prefer a browser? Launch the web interface instead:
latticemind-web
It opens at http://127.0.0.1:7865 by default.
Note
Install the LatticeMind license from step 2 before starting LatticeMind. To run a project, also configure the selected solver executable and its own license on the computer that executes it: RESCU uses a RESCU license, and NanoDCAL uses a NanoDCAL license plus the NeutralAtomDatabase. See Licenses and solver executables.
1.1. Where do results go?
Into the folder you started in. LatticeMind keeps a hidden .latticemind/
directory there for its records, and writes the solver inputs,
pseudopotentials/, results/ and the figures beside it. See
Projects & the workspace for the layout.
For scripted or automated use, you can send that output somewhere else:
export LATTICEMIND_ARTIFACTS_DIR="/path/to/outputs"
1.2. Coming back
Run latticemind in the same folder again and the conversation resumes, with
every result still in place. /new starts a fresh conversation there.
1.3. What next?
New to LatticeMind? Continue to Getting started and build your first project step by step.
Setting up on a cluster or notebook platform? See Cloud & headless deployment.
Want the full configuration surface? See Reference.