Skip to content

Agent jobs, brokered

Less overhead.
More time away.

dayshift runs your apps’ agent jobs through one queue with one set of limits, so the work keeps moving even when you finally step away.

  • Survives a restart
  • One token per app
  • Health you can alarm on

Jobs

gate: open claude: healthy
  • planner

    scan · project backlog

    running
  • drafts

    chapter 14 · draft, turn 3

    running
  • bench

    diagnose · bench log #812

    running
  • catalogue

    describe · 6 staged photos

    queued
  • planner

    plan-review · api server

    queued
  • drafts

    chapter 13 · revise

    done
Running
3
Queued
2
Runner
claude
An illustration of the dashboard: jobs from several apps, each with a status, beside the admission gate and runner health.

Running today for

  • Project planning
  • Book drafting
  • Cataloguing
  • Hardware diagnosis
  • A coding loop
  • Team chat
  • A game world
  • Model evaluation

Eight apps, one queue, one set of limits. Each app has its own token and sees only its own jobs.

From request to result

A clear path for every job.

dayshift handles the queueing, the gating and the bookkeeping, so your app only has to ask and your agents can get on with the work.

  1. Submit

    Your app posts a prompt, a runner and a working directory, and gets a job id back straight away.

  2. Admitted

    The job waits for a host its labels allow, with free memory, load and slots to spare and room for its model, behind a suspend switch.

  3. Running

    The CLI runs in its own process group, with no shell in between, under a timeout that ends in SIGKILL.

  4. Recorded

    The outcome is written to disk, and a failure says whether the job or the runner was at fault.

  5. Returned

    Poll the job, or hold a long-poll open and wake the moment anything you own changes.

What’s in the box

Everything a shift needs.

It’s the machinery each app would otherwise build around its agent CLI badly, built once and applied the same way to every app.

  • A queue that outlives the process

    Every job is a file on disk. Restart the broker and queued work is still queued, and a job already running on an agent is adopted rather than interrupted. Lose the agent instead and its job is requeued or marked failed, never left running in the record.

  • A new CLI is a config entry

    A runner is data: its binary, its flags, how it takes the prompt and how to read its answer. Adding one is a runners entry, not a code change.

  • One set of limits for everyone

    Memory floor, load ceiling, global and per-runner concurrency, and a suspend switch apply to every caller, instead of throttling one app while the rest ignore them.

  • Conversations that pick up where they left off

    A follow-up turn inherits the chat's runner, model, directory and session, so the CLI resumes instead of starting cold. Turns go one at a time.

  • Your jobs are yours

    Each app gets its own token and sees only the jobs it submitted — another app's job answers exactly like one that does not exist. One app can be granted read of another's, in the broker's config and never by asking; a grant reads, and can never cancel, delete or reply.

  • Health you can alarm on

    Each runner's health is tracked on each host, and counts only the runner's own faults, such as an expired credential on one machine or a missing binary. A job that hit its own turn limit doesn't trip the alarm, and spending past a limit you set does.

  • Workspaces, and branches back

    Borrow a tree the broker owns, let an agent edit it, and push the result as agent/<job-id>, but only if it doesn't break a check its base branch passes. A branch is deleted once it is merged, and never before.

  • Half an answer is an error

    When a response runs past the CLI's output cap, dayshift says so and keeps every part, instead of reporting success with only the last one.

  • Watch it live

    A dashboard shows the queue, the gates, runner health, every chat and what each app's jobs cost per day, updated over one long-poll with no websocket to keep alive.

  • Asked for, or refused

    A job can name its model, effort, temperature, output length and output format. A runner that cannot honour one refuses the job instead of quietly running it on its defaults, and a follow-up turn keeps the chat's settings.

  • One queue, many hosts

    Agents on your machines poll one coordinator for work. Labels decide where a job may run, a conversation stays on the host that holds its session, and a restart waits for running jobs instead of killing them.

  • Local models on your own GPU

    An Ollama model is a runner like the others, with the same timeout, health and limits. A job can ask for JSON or a schema, or name a capability such as coder instead of a model. The broker knows what each host has loaded, and holds a job that would evict a running job's model or not fit beside it. For a job that has to act, the experimental local-agent profile runs Claude Code itself against the host's Ollama, with the same tools, sessions and limits.

  • Hosted models, every job priced

    Grok, OpenAI's models and Claude run as runners through their providers' APIs. Each job is one request with no tools, so it can answer but not act. Its cost is the provider's own figure where it reports one, or tokens times the runner's price table, and a model with no price is refused before any request is made, so the spend alarm sees every job.

  • An agent with your app's tools

    The claude-mcp runner is Claude Code with the MCP servers named in an mcp.json the job brings as an input, and none of the host's own. It may use only the tools the job names. An app can let an agent work through its own API this way, with nothing else in reach.

Built for real systems

Connect. Control. Unwind.

dayshift runs on machines you own, between your apps and the agent CLIs they call. It owns the queue, the limits, the sessions and the record of what happened, so no app has to fork and exec a CLI itself.

Your apps

  • Project planning
  • Book drafting
  • Cataloguing
  • Hardware diagnosis
  • A coding loop
  • Team chat
  • A game world
  • Model evaluation
  • Yours next
dayshift
  • Persistent job queue
  • Admission gates
  • Coordinator and host agents
  • Resumable conversations
  • Runner health per host
  • One token per caller

REST on :14080 · loopback by default

Runners

  • Claude Code built in
    claude -p
  • Claude Code + MCP built in
    claude --mcp-config
  • Local agent built in
    claude on Ollama
  • Ollama built in
    dayshift-ollama
  • Grok, OpenAI, Claude API built in
    dayshift-chat
  • Codex example config
    codex exec
  • Your CLI no code change
    a runners entry
  • Workspaces

    Broker-owned trees an agent may edit

  • Staged inputs

    Files for a job, served safely, with thumbnails

  • Job store

    One JSON file per job, swept after 30 days

# Hand it a job; the answer comes back on stdout, and only the answer.
dayshift submit --wait "Summarize this repo and list its open risks." > risks.md

# Pipe the prompt in, pick a model, run it in a directory on the broker's host.
git diff | dayshift submit --wait --model claude-opus-5 --workdir /srv/work/app -

# Or hand it over now and collect it later.
id=$(dayshift submit "Tidy the Makefile and explain what changed.")
dayshift wait "$id"

dayshift jobs --status running
dayshift watch    # one line whenever a job changes
# Give an agent the broker as tools. Read-only unless you allow writes.
claude mcp add dayshift \
  --env DAYSHIFT_MCP_URL="$DAYSHIFT_URL" \
  --env DAYSHIFT_MCP_TOKEN="$DAYSHIFT_TOKEN" \
  --env DAYSHIFT_MCP_ALLOW_WRITES=1 \
  -- node dayshift-mcp-ts/dist/index.js

# Then, in a session:
#   "Run a full review of this repo on dayshift and tell me when it's done."
#     → dayshift_submit_job  returns the job id at once
#     → dayshift_wait        comes back with the answer
#include "dayshift_client/client.h"   // header-only

namespace ds = dayshift::client;

ds::Client broker(url, token);

ds::JobRequest req;
req.runner        = "claude";
req.service       = "researcher";
req.prompt        = "Summarize this repo and list its open risks.";
req.workdir       = "/srv/work/my-repo";
req.allowed_tools = {"Read", "Glob", "Grep"};

// Submit, then poll every 500 ms for up to ten minutes.
ds::JobResult r = broker.runToCompletion(
    req, std::chrono::milliseconds(500), std::chrono::seconds(600));

if (r.ok()) std::puts(r.result_text.c_str());

Simple to integrate

Get started in minutes.

From a shell, hand it a job with one command. From an agent, give it the broker as tools. Either way the work runs behind the same limits, and you collect the answer when it’s ready.

  • dayshift submit --waita job in, the answer out on stdout
  • dayshift watcha line whenever one of your jobs changes
  • dayshift_submit_joban agent hands work off (read-only until you allow it)

Every command and tool, generated from the binaries →

On your phone

Check on the shift from the beach.

The dayshift app puts your jobs, their answers and your conversations in your pocket, so you can see the work is moving without going back to your desk.

Running on Android Signed builds from our own build service. Not in any store yet.

  • Live, without a refresh

    Jobs update as they move. The app holds one long-poll open and fetches only what changed.

  • Reply from wherever you are

    Read a conversation and add the next turn. The box stays closed while the last turn is still running.

  • Know why it stopped

    A failed job says whether it hit its own limits or the runner is broken, so you know if a retry will help.

  • Your token stays in the keystore

    The broker token lives in the phone's secure storage, and Settings tests the address and the token separately.

The Jobs screen: a queued job waiting at the concurrency cap, three running jobs with their elapsed time, and finished jobs below.
The real app, against a scratch broker. The jobs are made up.

More agents. More freedom.

Run the work. Take the break.

Hand the queue to dayshift and let your agents keep the day shift.