Installation
Prerequisites
MindScript requires access to an LLM, either local or remote. Right now it supports the following backends:
- llama.cpp,
- Ollama (version 0.5 or higher),
- and OpenAI's API.
With llama.cpp or Ollama
Follow the instructions to install the backend, download your favorite model, and launch a server from either llama.cpp or Ollama.
With OpenAI API
Set the OpenAI API key as an environment variable:
Installing MindScript
Install MindScript using pip:
Running MindScript
To run the REPL, for example with Ollama using Phi4 as an LLM backend, enter
To run a program myprogram.ms
with e.g. Llama.cpp, enter
If you need help or to get a description of all the command line options, use