Access, approvals and limits
Limits work at two levels. An agent's Limits tab caps the work that reaches that agent across all its channels. Each messaging channel has its own access lists and rate limits, set in its card on the agent's Channels tab. Both apply: a message must pass the channel's rules and the agent's limits.
Hours and days are rolling windows: an hour is the last 60 minutes and a day is the last 24 hours. They do not follow the clock or a time zone, and a save keeps the use already counted in them, so a throttled agent stays throttled until its use ages out.
Who can message a channel
In the app
- Open the agent's settings (the gear on its tile) and choose the Channels tab.
- Choose the channel's card. It opens in place and its title line says how it is set, such as Anyone can message · No limits.
- Under Who can message, choose Everyone or Only people I choose. Everyone warns Anyone with this number can message your agent.
- With Only people I choose, add people to Allowed. Type or paste entries, or search people and groups where the channel offers it, then press Enter.
- Add people you want to refuse to Blocked.
- Choose Save. Cancel drops the changes.
| List | Meaning | Use it for |
|---|---|---|
| Allowed | Only listed people are admitted. | Private testing or a known group of people |
| Blocked | Listed people are refused, even if they are also allowed. | Revoking one sender's access |
Slack entries are email addresses. WhatsApp entries are the sender's phone number with country code, such as +15551234567, not your business number. A phone entry ending in * covers every number that starts with it, such as +44*. WhatsApp Personal can also admit groups. On a WhatsApp Personal number shared by several agents, Numbers, Groups and Blocked are this agent's own; other agents keep theirs, and an agent with no entries receives nothing (Nobody can message yet). A refused person gets no reply. These lists do not grant tool permissions.
Google Chat has no access lists or rate limits in CatalEx; its card holds only the Engagement row and the chat switches. Who can reach a Google Chat app is set by the app's visibility in Google Workspace.
With the CLI
catalex accounts list
catalex accounts access show ACCOUNT_ID
catalex accounts access set ACCOUNT_ID --block +15551234567
Each flag replaces that list and keeps the other. --allow none empties the allowlist, which admits everyone except blocked people; it does not turn the channel off. --block none clears the blocklist. For WhatsApp Personal, catalex accounts candidates lists people and groups and --groups group:ID admits groups (see WhatsApp Personal). The blocklist wins over the allowlist; a group cannot be blocked.
Agent limits
In the app
Open the agent's settings and choose the Limits tab. Each field saves a moment after you stop typing. Clear a field to remove its limit; the placeholder shows No limit, or the default where there is one.
| Card | Row | Counts | Default |
|---|---|---|---|
| Hourly limits | Messages | Messages that reach this agent over an hour, from all its channels | No limit |
| Tokens | Tokens this agent uses on messaging channels over an hour. Native chats are not counted. | No limit | |
| Sends without being asked | Messages it starts on its own over an hour | 20 | |
| Daily limits | Messages, Tokens | The same over 24 hours | No limit |
| Sends without being asked | Messages it starts on its own in 24 hours | 100 | |
| New people messaged | People it messages for the first time in 24 hours | 10 | |
| Additional settings | Turns at once | Replies it works on at the same time, in every chat including native chats. Extra messages wait their turn in arrival order; they are never dropped. | 10 |
The sends-without-being-asked and new-people rows cap proactive messages. A value the messaging service caps is refused with a note naming the ceiling. A field the server refuses is marked, and the status line says Check the limit marked on its row.
Once something is used in a window, a thin meter under the field shows the share of the limit used: amber from 70% and red from 90%. Point at it for the count, such as 12 used this hour. A row with no limit or no use has no meter. Turns at once always shows the value in effect: a value below 1 is refused, and clearing it restores 10.
With the CLI
catalex agents limits show AGENT_ID
catalex agents limits set AGENT_ID --day 100 --turns 4
catalex agents limits set AGENT_ID --tokens-hour 150000 --tokens-day 500000
catalex agents limits set AGENT_ID --proactive-hour 10 --proactive-day 50 --proactive-new-people-day 5
catalex agents limits set AGENT_ID --hour none
Values are whole numbers of at least 1, or none. For message and token rows, none removes the limit; for --turns and the proactive rows it restores the default. Flags you leave out keep their saved value. show lists each limit with the use in its window.
Token budgets
Each turn adds the tokens its AI reported when the messaging service records its outcome. Once a window's tokens reach the limit, new messages are not sent to the agent until the window has room again; a turn already running finishes. A turn can therefore end above the budget. A turn whose AI reports no usage adds nothing, so the count is not a complete billing cap.
Channel limits
In the app
In a channel's card, choose the Limits row to expand it. Every channel limit is off until set. The unit sits inside each field, such as /hour.
| Row | Counts |
|---|---|
| Per person (Slack) / Per phone number (WhatsApp) | Messages from one sender, per hour and per day |
| All messages | Everyone together, per hour and per day |
| People / Phone numbers | Different senders messaging, per hour and per day. Senders already let in keep going. |
| New people / New phone numbers | Senders messaging for the first time, per day |
| Replies at once | Replies on this channel worked on together |
A Server limit row appears when the messaging service caps a value. The card also shows a Time zone field, but windows are rolling, so it does not move them. Choose Save.
With the CLI
catalex accounts limits show ACCOUNT_ID
catalex accounts limits set ACCOUNT_ID --per-person-hour 20 --total-day 500
catalex accounts limits set ACCOUNT_ID --new-people-day 5
Other flags: --per-person-day, --total-hour, --people-hour, --people-day, --turns. On a number shared by several agents, add --agent AGENT_ID to show and set. A value above the service's ceiling is refused with RATE_LIMIT_ABOVE_CEILING. CatalEx commands and answers to the agent's questions never count.
Find messages that were not sent
A message over a limit starts no work and gets no reply, reaction or read receipt. It is not delivered later.
In the app, open the agent's messaging chat list. People who were refused before they had a chat appear under Messages not sent, with a row such as 2 messages not sent to the agent. Inside a chat, a refused message is marked Not sent; point at it to read why, for example Not sent to the agent: rate limit (2 messages per person per hour).
From the terminal:
catalex accounts limits throttled ACCOUNT_ID --limit 10
The reason names the limit and its window. Check throttled messages before treating a silent channel as disconnected.
Who can answer and approve in a thread
This is set from the terminal only. In Slack and Google Chat threads, choose who may answer the agent's questions and who may approve actions or stop it:
--approval | Questions | Approvals and stop |
|---|---|---|
anyone | Anyone in the thread | Anyone in the thread |
anyone_answers | Anyone in the thread | Listed people |
approvers_only | Listed people | Listed people |
catalex channel-settings show ACCOUNT_ID
catalex channel-settings set ACCOUNT_ID --approval anyone_answers --approver U012AB3CD
Slack uses member IDs (profile → More → Copy member ID); Google Chat uses users/ID values, which @App /people @Person shows privately. --approver replaces the list; keep at least one approver for restricted modes. Direct messages stay between the person and the agent. On CatalEx Cloud, only the app's owner can approve in Google Chat, whatever the saved setting says. Being an approver does not lift the agent's tool restrictions. The agent-level Approvals choice is on the Permissions tab (details).
Progress updates
WhatsApp channels can post short progress notes while the agent works. Replies, questions and permission requests are always posted. This too is terminal only:
catalex channel-settings set ACCOUNT_ID --post message,progress
catalex channel-settings set ACCOUNT_ID --post message
If the channel is not connected to an installation yet, set saves a draft that applies when you run set again after it connects. catalex channel-settings discard ACCOUNT_ID drops the draft.
When a change is refused
Commands read a revision before saving and refuse a stale one instead of overwriting another change. On SETTINGS_CHANGED, read the current values and try again. ADMIN_REQUIRED means the messaging service's administrator controls those rules (the app says Only the messaging service's administrator can set these rate limits.). MANAGEMENT_UNAVAILABLE means the service does not offer the operation or its answer could not be read; it does not prove you lack permission.