Skip to content

First Worker

With a worker running from the installation step, you’re ready to dispatch a job.

Terminal window
modelreins job dispatch --prompt "What are the top 3 benefits of distributed computing?"

The CLI returns a job ID immediately:

Job dispatched: job_a1b2c3d4
Status: pending
Worker: waiting for assignment...
Terminal window
modelreins job result job_a1b2c3d4

Once the worker picks up and completes the job, you’ll see the full output.

Terminal window
modelreins job watch

This streams job status changes as they happen — useful during development.

Terminal window
modelreins job dispatch \
--prompt "Summarize this file in 3 bullet points" \
--input ./README.md