Give your agent this README and the prompt for its environment.
Set up this cloud session using the steps below. Use my existing desktop app. Record the absolute
fleet-startpath in the workspace instructions for new chats and project commands. Run the file check and report the result without printing secrets.
- Set
OP_SERVICE_ACCOUNT_TOKENin the host’s secret settings. Grant the service account read access toZMB_LOCAL_ENVandZMB_CD_DEV. For browser tests against a protected deployment, also setVERCEL_BYPASS_SECRETthere. - With Git, Bash, and mise installed.
git clone https://github.com/indykish/dotfiles.git ~/dotfiles
/bin/fleet-tools && ./bin/fleet-tools --check`- From the project checkout, run
~/dotfiles/bin/fleet-startat the start of each chat to check tools and sync the branch. Prefix project commands with that path. Adjust it if your dotfiles live elsewhere.
~/dotfiles/bin/fleet-start sh -ec '
test -r "$AGENTSFLEET_UI_ENV_FILE"
test -r "$AGENTSFLEET_RUNNER_ENV_FILE"
test -r "$AGENTSFLEET_RUSTD_ENV_FILE"
'From your project checkout, run ~/dotfiles/bin/fleet-start bash to open a shell with the AgentsFleet environment.
Set up this Mac using the steps below. Back up my shell files and preserve the bootstrap token. After doctor passes, remove the old provision-env-1password launcher and only the env files it owned and fleet-env replaced. Verify both scopes in a fresh zsh without printing values.
Open a terminal on your Mac. Save any local edits and link the shell files once. Change the first line if your checkout lives elsewhere.
cd ~/dotfiles &&
git switch master &&
git pull --ff-only &&
mkdir -p ~/.config/zsh &&
ln -si "$PWD/.config/zsh/interactive.zsh" ~/.config/zsh/ &&
ln -si "$PWD/.zshenv" "$PWD/.zshrc" "${ZDOTDIR:-$HOME}/"fleet-env uses the exported token or the one in your existing ~/.config/agentsfleet/.env. If this is your first setup, enter the token at a hidden zsh prompt.
read -rs 'OP_SERVICE_ACCOUNT_TOKEN?1Password service account token: ' && export OP_SERVICE_ACCOUNT_TOKENWith python3 and op on your path, generate both scopes, confirm the write prompt, and restart zsh. On later refreshes, start here after git pull --ff-only.
./bin/fleet-env --only all
./bin/fleet-env --only all --doctor
exec zsh -lBoth scopes need read access to E2E_WORK: the AgentsFleet scope reads blaze-api-token from it, and vercel-bypass-app from ZMB_CD_PROD. For AgentsFleet alone, use --only agentsfleet on both lines.
File under ~/.config/ |
Loaded by |
|---|---|
agentsfleet/.env |
.zshenv in interactive and non-interactive zsh |
e2e/.env |
.zshenv in interactive and non-interactive zsh |
agentsfleet/ui.env.local |
AgentsFleet UI |
agentsfleet/runner.env.local |
AgentsFleet runner |
agentsfleet/agentsfleetd.env.local |
AgentsFleet daemon |
.zshrc loads interactive settings, including ~/.railway/env when present.
In a fresh Rex tab, run print -r -- "$TERM" to check the terminal type.
For example, to update Rust from 1.100.0 to 1.100.1, edit the existing line under [tools] in the mise config.
rust = "1.100.1"From the dotfiles checkout, install and check the tools.
./bin/fleet-tools && ./bin/fleet-tools --checkSet versions for orly, gstack, and EGM under [vars] in the same config.
The default runner token is op://ZMB_CD_DEV/agentsfleet-dev-runner-ant/runner-token.
To use another field, export its full op:// reference as AGENTSFLEET_RUNNER_TOKEN_REF before running fleet-env. Vault mappings