Connect your first worker in 60 seconds
From signup to your first job — no config files, no fuss.
Create your free account:
https://app.modelreins.com/saas/signupAfter signing up, your API token is shown on the welcome page. Copy it — you'll need it in the next step.
Lost it later? Mint a fresh one any time at app.modelreins.com/settings/api-keys. Raw tokens are shown once through a one-time-view URL — we only ever store the hash, so losing a key is a speed bump, not a security incident.
Two paths — pick whichever matches your stack.
Python (recommended for new workers — stdlib-only, published on PyPI):
pip install modelreins-worker
If pip complains about PEP 668 (externally-managed environment), use a venv: python3 -m venv mr-worker && source mr-worker/bin/activate first.
Full Python walkthrough + API surface: docs/sdk/python
JavaScript / Node:
npm install -g @mediagato/modelreins-worker
Or run without installing:
npx @mediagato/modelreins-worker
Set your credentials and launch:
export MODELREINS_URL=https://app.modelreins.com
export MODELREINS_TOKEN=your-token-here
export MODELREINS_WORKER=my-first-worker
npx @mediagato/modelreins-worker
You should see:
Go to your dashboard. Type a message. Watch it execute.
MODELREINS_PROVIDER=claude npx @mediagato/modelreins-worker
MODELREINS_PROVIDER=ollama OLLAMA_HOST=http://localhost:11434 npx @mediagato/modelreins-worker
ANTHROPIC_API_KEY=sk-ant-... MODELREINS_PROVIDER=custom MODELREINS_COMMAND=your-cli npx @mediagato/modelreins-worker