Installation
Prerequisites
Section titled “Prerequisites”- Node.js 18 or later
- npm or pnpm
Install the CLI
Section titled “Install the CLI”npm install -g @mediagato/modelreinsVerify the installation:
modelreins --versionInitialize a project
Section titled “Initialize a project”modelreins initThis creates a modelreins.config.json in your current directory with sensible defaults.
Choose a provider
Section titled “Choose a provider”The fastest way to start is with a local provider that requires no API key:
# Option A: Ollama (recommended)ollama pull llama3.2export MODELREINS_PROVIDER=ollama
# Option B: LM Studio# Start LM Studio, load a model, enable the local serverexport MODELREINS_PROVIDER=lmstudioFor cloud providers, set your API key:
export MODELREINS_PROVIDER=claudeexport ANTHROPIC_API_KEY=sk-ant-...See Providers for all 7 options.
Start your first worker
Section titled “Start your first worker”modelreins worker startYour worker is now connected and waiting for jobs. Continue to First Worker to dispatch your first job.