Skip to content

Troubleshooting

What to check when something doesn't work.

Start with:

regent doctor

Something is missing

If Regent says Apple container, Tart or a macOS image is missing, run the setup command it names. --yes installs without asking, for agents and scripts:

regent setup --yes
regent setup macos --yes

Every environment shows as unknown

unknown means Regent couldn’t reach Apple container, so it can’t tell. Check that its services run:

container system status
container system start

“Regent can’t run inside Codex’s sandbox”

Codex’s command sandbox blocks VMs and the VM network. Let the command run outside the sandbox, or start Codex with -s danger-full-access.

The first create is slow

The first create with a new combination of profile, agents and desktop builds an image, which takes a few minutes. Later ones take seconds. Keep images when you delete environments with regent rm NAME --keep-image.

See every command

regent create dev -v                      # print every command regent runs
REGENT_TRACE=1 regent create dev && regent trace

Type to search…

↑↓ navigate↵ selectEsc close