Skip to content
Edith

Agent docs

Coding agentsBeta

Crew local environment: use this Mac as a remote

The local environment decides whether Crew starts anything on this Mac. Turn it off when this Mac should only drive your other machines, for example a laptop you use to watch agents running on a build server.

It is on unless you turn it off. The switch is in the terminal, with ed crew local. Everything else on this page, such as picking a machine for a new agent, happens on the Crew page.

What turning it off does

With the local environment off, Edith starts no agents engine, agents or terminals on this Mac and works only with your machines. Your saved machines, projects and history are kept.

Things already running are left alone. An engine that is already running on this Mac, such as a background session, is still shown and used, and its agents stay listed until you stop them.

When you try to start an agent or terminal here, Crew says:

The local environment is off, so agents and terminals do not start on this Mac. Turn it on with ed crew local on, or pick a machine.

Check the local environment

Terminal
ed crew localed crew local status --json

ed crew local with no subcommand runs status. It shows whether agents may start on this Mac and which agents engine sessions are running here.

Turn it off

Terminal
ed crew local off

Agents already running here keep running and stay listed until you stop them. A background session starts again at the next login.

Stop everything on this Mac too

Terminal
ed crew local off --stop

--stop also stops the agents engine on this Mac, and with it every agent and terminal in it. It prints the sessions it stopped.

Turn it back on

Terminal
ed crew local on

This restores your previous local settings. The engine starts again the next time an agent or terminal opens on this Mac.

Work with machines only

With the local environment off, pick a machine whenever you start something:

  1. Press New agent (⌘N) on the Crew page.
  2. In the Machine step, pick one of your machines instead of This Mac.

The board, threads, schedules and workflows keep working for every machine. Only starting things on this Mac stops.

From the terminal

Terminal
ed crew open /srv/app --machine boxed crew thread launch . --machine auto -- run the migration tests

--machine auto picks among the machines that have the project, using ed machines balance preferences.

Where to go next