Skip to main content

Capacity, storage and network

These controls are for people and AI agents maintaining a setup. Leave defaults unless you have a concrete capacity, storage or connection problem. The CatalEx app has no screen for them, so they are command-line only.

Read the live catalog first​

catalex settings --json
catalex settings advanced --json

The live catalog reports each key’s effective value, default, range, unit, editability and restart requirement. The settings catalog explains individual keys. Your installed release’s catalog takes precedence for supported keys and bounds. Secrets are not listed.

catalex settings set limits.max_warm_runtimes=60
catalex settings set limits.max_warm_runtimes=null

The first keeps up to 60 idle agent processes ready; the second restores the default (40). Values are JSON, so quote shell arguments that contain a list or JSON string. Invalid or incompatible changes are refused. Running services restart automatically when required; a controller restart requirement is reported separately. Add --no-wait to return once the change is accepted. Check the resulting operation and status, then verify a reply.

Common settings in practical units​

How many replies an agent works on at once is each agent's Turns at once limit (default 10), set in access and limits; the old max_active_turns setting is ignored.

catalex settings advanced set KEY=VALUE... accepts the integer fields in the units below. Unnamed values are retained; an unknown key is refused. The capability fields rich_cards and chart_kinds are also reported but not changed by this command. Use the full settings catalog for editable boolean and list fields and for more precise units.

Advanced fieldUnit / purposeWhy change it?
max_warm_runtimesIdle agent processes retainedBalance quick replies against idle memory
max_queued_inputsWaiting messages per sessionBound how much work a busy chat can accumulate
bootstrap_messagesEarlier messages given to a replacement sessionBalance continuity against context size
decision_expiry_minutesMinutes before a pending decision expiresMatch how long people realistically take to respond
max_attachmentsFiles per messageBound per-message processing
attachment_retention_daysDays original attachments remain availableBalance later downloads against storage/privacy
attachment_storage_mibTotal attachment spool size in MiBFit disk capacity; it is not a message-history deletion policy
audio_max_mibMaximum audio size in MiBBound upload and transcription work
audio_max_secondsMaximum audio duration in secondsKeep transcription work practical
transcription_enabled1 transcribes voice notes on this computer, 0 turns it offVoice messages are then not transcribed; turn it back on with transcription_enabled=1
transcription_timeout_secondsSeconds one voice note may take (default 120)Give slow computers longer; a note that runs over is delivered untranscribed
transcription_concurrencyVoice notes transcribed at once (default 2, up to 16)Trade transcription speed against load on the agents
tool_retriesMalformed communication-call retries before plain-text fallbackRecover limited formatting errors without endless retrying
recovery_attemptsAutomatic recovery attemptsBound recovery loops after a session failure
progress_per_secondRoutine update ratePrevent excessive intermediate output
rich_cardsReports whether new chats use interactive cardsInspect structured interaction support; not changed by the integer-only advanced command
chart_kindsReports allowed chart kindsInspect visual-output support; not changed by the integer-only advanced command
catalex settings advanced set max_warm_runtimes=60 attachment_retention_days=7

The automatic-update timing (updates.automatic, updates.check_interval, updates.app_quiet, updates.agent_quiet, updates.max_wait, updates.health_timeout) is set with the same command; see Update for defaults and ranges.

This keeps more idle agents ready for quick replies and keeps attachments available for a shorter time. Existing recipients may already have downloaded copies. Changing retention cannot retract those copies.

Addresses and ports​

For initial setup, catalex setup --help lists --control-port, --chat-port, --chat-console-port, --agents-port, --agents-console-port, --service-port and --database-port. Set only ports you need to change; omitted flags preserve saved/default choices.

For an existing owned control endpoint:

catalex settings endpoints show --json
catalex settings endpoints set --port 7478

CatalEx reserves the new endpoint, checks readiness and manages recovery. A numeric loopback bind such as 127.0.0.1 or ::1 keeps management private to the computer. Do not expose it to receive messaging callbacks. Manual saved connections may need their address updated after a move.

For other listeners, inspect before changing:

catalex settings endpoints deployments show native_chat --json

Use catalex settings endpoints deployments set TARGET FIELD PORT, such as catalex settings endpoints deployments set native_chat console_port 17855, only for fields advertised as supported by that result. The command reports the original operation ID. If the outcome is uncertain, inspect that original ID using the endpoint command’s operation/recover help rather than starting another port move. Keep control, native-chat, agent and messaging-service addresses distinct.

Advanced client configuration​

CATALEX_RELAY_HOME selects an absolute state and configuration home instead of ~/.catalex. Use it only when intentionally maintaining a separate installation; changing it can make the existing setup appear missing.

The command-line client also supports bounded request, attachment, history and polling settings. See client environment settings. Set them for the command process, not in agent instructions or a secret-bearing transcript. A timeout change does not repair an offline service.