Quickstart

Connect your first worker in 60 seconds

From signup to your first job — no config files, no fuss.

1
Sign up

Create your free account:

https://app.modelreins.com/saas/signup
2
Copy your API token

After 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.

3
Install the worker

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
4
Start the 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:

__ __ _ _ ____ _ | \/ | ___ __| | ___| | _ \ ___(_)_ __ ___ | |\/| |/ _ \ / _` |/ _ \ | |_) / _ \ | '_ \/ __| | | | | (_) | (_| | __/ | _ < __/ | | | \__ \ |_| |_|\___/ \__,_|\___|_|_| \_\___|_|_| |_|___/ by MEDiAGATO Worker: my-first-worker Server: https://app.modelreins.com Ready - waiting for jobs...
5
Dispatch your first job

Go to your dashboard. Type a message. Watch it execute.

Claude Code Anthropic
MODELREINS_PROVIDER=claude npx @mediagato/modelreins-worker
Ollama free · local
MODELREINS_PROVIDER=ollama OLLAMA_HOST=http://localhost:11434 npx @mediagato/modelreins-worker
Anthropic direct custom API key
ANTHROPIC_API_KEY=sk-ant-... MODELREINS_PROVIDER=custom MODELREINS_COMMAND=your-cli npx @mediagato/modelreins-worker