# Work with several computers in one chat

One connected agent reaches every computer in your contour. It lists them, then names the one each
call goes to: compare a laptop and a server, or check every computer in turn, in one conversation.

**In short:** Ask: "List my computers in CMDOP, then show the disk space on each." The agent calls
`machines_list`, then `sys_info {"machine": "<name>"}` once per online computer.

## When to use this

You have more than one computer in CMDOP and the question spans them.

## Steps

1. Add each computer with `cmdop setup` and the same email ([quick start](https://docs.cmdop.ai/start/quickstart-owner.md)).
2. The agent calls [`machines_list`](https://docs.cmdop.ai/reference/tools/machines_list.md): every computer with its name
   and `state`. Only `online` ones take calls.
3. Every tool takes `machine`, the name or id of the computer. It may be left out only when one
   computer is online.
4. What the agent may do is set per agent for all computers ([grant](https://docs.cmdop.ai/guides/access/grant.md)), and
   capped per computer by its [ceiling](https://docs.cmdop.ai/guides/access/ceiling.md): a server can allow less than your
   laptop.

## Check

`machines_list` lists each computer you added, and each answer names the computer it came from.

## If it fails

- A computer is missing or not `online`: on it, `cmdop control status.get` says whether the
  program runs.
- [`denied`](https://docs.cmdop.ai/reference/errors/denied.md) on one computer only: its ceiling does not allow that class.

## Related

[The machine](https://docs.cmdop.ai/concepts/machine.md) · [The contour](https://docs.cmdop.ai/concepts/contour.md)
