Skip to main content

Client environment settings

These variables affect the catalex command-line process, not an agent’s permissions or server limits. Set one for a specific command when diagnosing slow networks, large responses or bounded history reads. Leave it unset to use the default; values are decimal integers in the listed range.

For example:

CATALEX_CLIENT_REQUEST_TIMEOUT_MS=60000 catalex status

This gives a request up to one minute; it cannot make an unreachable server respond. A shorter caller deadline still wins. Higher byte/frame/history budgets increase potential memory and network work.

Environment settingUnitDefaultInclusive range
CATALEX_CLIENT_DISCOVERY_MAX_BYTESbytes per publication655361024–1048576
CATALEX_CLIENT_REGISTRY_MAX_BYTESbytes per registry read/write167772161024–67108864
CATALEX_CLIENT_RESPONSE_MAX_BYTESbytes per HTTP response/request167772161024–67108864
CATALEX_CLIENT_ATTACHMENT_MAX_BYTESbytes per chat attachment upload or download167772161024–67108864
CATALEX_CLIENT_DISCOVERY_MAX_ENTRIESdirectory entries per scan10241–16384
CATALEX_CLIENT_MAX_CONNECTIONSreferences plus removal identities10241–16384
CATALEX_CLIENT_REQUEST_TIMEOUT_MSmilliseconds per identity/scan/input/control request or console handshake300001–600000
CATALEX_CLIENT_OPERATION_TIMEOUT_MSmilliseconds a command follows an accepted operation6000001–3600000
CATALEX_CLIENT_POLL_INTERVAL_MSmilliseconds between status reads while following, and between the health checks of a new release after an update20010–60000
CATALEX_CLIENT_DISCOVERY_PROBE_TIMEOUT_MSmilliseconds per liveness probe when several agent computers are discoverable20001–600000
CATALEX_CLIENT_CHAT_TIMEOUT_MSmilliseconds per chat link handshake or request300001–600000
CATALEX_CLIENT_CHAT_WRITE_TIMEOUT_MSmilliseconds per chat frame write50001–600000
CATALEX_CLIENT_CHAT_WATCH_MSdefault chats watch duration in milliseconds300001–600000
CATALEX_CLIENT_CHAT_MAX_FRAMESframes one chat link reads10001–65536
CATALEX_CLIENT_CHAT_HISTORY_LIMITmessages per history page1001–100
CATALEX_CLIENT_CHAT_HISTORY_PAGEShistory pages one command reads51–100
CATALEX_CLIENT_CHAT_COMMAND_TTL_MSmilliseconds a sent chat command stays admissible18000001–86400000
CATALEX_CLIENT_CHAT_RESEND_MSmilliseconds before a chat command with no receipt yet is sent again10001–600000
CATALEX_CLIENT_CONNECT_TIMEOUT_MSmilliseconds catalex join and catalex devices trust-this wait for this computer to connect150000–600000
CATALEX_CLIENT_SIGNIN_TIMEOUT_MSmilliseconds catalex login waits for you to finish signing in6000001–3600000
CATALEX_CLIENT_GOOGLE_LOGIN_TIMEOUT_MSmilliseconds for the final step of a Google sign-in600001–600000
CATALEX_CLIENT_COMPUTER_NAME_TIMEOUT_MSmilliseconds to read the Mac's Computer Name before the host name is used1000100–10000
CATALEX_CLIENT_DELETE_RETRIEStimes catalex account delete repeats a failed request20–10
CATALEX_CLIENT_DELETE_RETRY_MSmilliseconds before the first repeat10001–600000
CATALEX_CLIENT_DISCONNECT_IDLE_POLLSconsecutive idle status reads before a command that waits for this computer to disconnect gives up31–100
CATALEX_CLIENT_PROMPT_MAX_BYTESbytes of one line read from a terminal prompt40961024–1048576
CATALEX_CLIENT_RECENT_AGENTS_SESSION_FILESrecent AI tool session files catalex agents discover looks at2001–1000
CATALEX_CLIENT_RECENT_AGENTS_READ_BYTESbytes read from each session file655361024–1048576
CATALEX_CLIENT_RECENT_AGENTS_MAX_RESULTSmost agent folders it lists121–100
CATALEX_CLIENT_RECENT_AGENTS_MAX_DEPTHfolder depth it follows41–16
CATALEX_CLIENT_RECENT_AGENTS_CODEX_THREADSCodex threads it reads3001–20000
CATALEX_CLIENT_RECENT_AGENTS_CODEX_TIMEOUT_MSmilliseconds the Codex thread lookup may take50001–600000
CATALEX_CLIENT_LOCK_WAIT_MSmilliseconds a command waits for a busy sign-in state lock100000–600000
CATALEX_CLIENT_LOCK_RETRY_MSmilliseconds between attempts to take that lock501–10000
CATALEX_CLIENT_KEYCHAIN_TIMEOUT_MSmilliseconds one keychain call may take before the credential file is used100001–600000
CATALEX_CLIENT_CREDENTIAL_MAX_BYTESbytes read from the stored sign-in655361024–1048576
CATALEX_CLIENT_UPDATE_STAGE_ATTEMPTStimes one catalex update auto run downloads again because a newer release appeared meanwhile31–10
CATALEX_CLIENT_UPDATE_DOWNLOAD_TIMEOUT_MSmilliseconds one release file may take to download18000001–86400000
CATALEX_CLIENT_UPDATE_DOWNLOAD_MAX_BYTESbytes of one release file21474836481–68719476736

CATALEX_RELAY_HOME selects an absolute configuration and state home instead of ~/.catalex; a relative path is refused. Change it only to work with an intentionally separate installation. Saved connections and existing setup discovery then use that home.

CATALEX_CLIENT_CREDENTIAL_STORE chooses where catalex login keeps the sign-in: auto (default: an existing credential file, else a usable keychain, else a new private file), keychain or file.

Other CATALEX_CLIENT_* variables, such as the Google sign-in pacing ones, are for diagnostics; leave them unset.

For runtime capacity use advanced settings. For the remote computer selected by a command, use --connection NAME; do not change state-home variables to select a different server.