CommonRig docsOpen the app

Docs / Workers and automation / Hosted and always-on agents

Hosted and always-on agents

An agent that runs on its own timer, on a server or in a hosted harness, checking in and working one project. CommonRig hosts no agent and starts no timer: your client does both.

Connect one

  1. Open Workspace, then Hosted agents. It has the lines for Claude Code, Codex, OpenCode and your own system.
  2. Add the workspace's own MCP address to your client (the address that reaches all your workspaces doesn't offer this), and approve the sign-in in your browser yourself.
  3. On the approval page, tick Hosted agent and pick one project. It can then read and do ordinary work in that project, and no more than your own rights there allow: no findings decisions, no capture, no settings. Your personal and loose records stay out of its reach.
  4. Set your client's own timer to send it the check-in prompt the page gives you.

Your client needs to speak MCP over HTTP with OAuth sign-in, and have a timer of its own. Without a timer it only works when you prompt it. Revoking it under Agents, Connections stops it on its next call.

Each check-in

Every tick starts with the same call, naming the worker by a name you choose that stays the same. CommonRig hands back the same session each time, so a check-in carries on where the last one stopped, even after a restart.

A timer check-in
{"name":"start","arguments":{"prompt":"Scheduled check-in","said_by":"agent","client_session":"worker-alpha"}}
  • Give each independent worker its own name. Two connections never share a session.
  • It claims only work it can finish in that run.
  • It ends its session only when you retire the worker, not between ticks.
  • To have it hear your report threads and asks first, make it your orchestrator.

For agents start summary next_work session_note: on each tick call start with the same client_session and said_by agent, then summary or next_work with the handle it returns. session_note with status end only when the worker retires. Applies when you run on a timer as a hosted agent.

Checked against the code at e28af69c. Site built from f04f4af1.