Choose a Machine Automatically

Ocho can automatically choose a machine for new sessions. It weighs each machine's free memory, how busy it is, and where you usually work on the project.

ocho new auto --provider codex --cwd ~/app

View the Reason for Choosing a Machine

Run ocho pick --explain to see which machine Ocho would pick and why:

> redwood                   296.4  12 GB free, 0 working, 8 idle, 96% of recent sessions
  laptop                     16.3  30 GB free, 1 working, 9 idle

Ocho never chooses a machine that cannot start the session, for example a machine that is offline or does not have the agent installed.

Set Your Own Rules

You can specify which machine each project runs on:

ocho pick pin ~/app studio     # always run ~/app on studio
ocho pick prefer remote        # prefer other machines to this one
ocho pick avoid laptop         # use laptop only as a last resort
ocho pick never laptop         # never use laptop

To draft rules from your recent sessions, run ocho pick rules suggest.