Skip to main content

Native chats

Native chats let you talk to a folder-based agent directly in CatalEx, without Slack, WhatsApp or a messaging service. Every agent has a Native chats channel.

Start a conversation​

In the app​

  1. Open Agents and choose Chat on the agent's tile, or click an empty part of the tile.
  2. Choose New chat (the pen-and-square icon) at the top of the chat list. With no chat selected, the pane also offers New chat.
  3. Type in the message box (Message AI…) and send. Use Attach files (+) to add files and the microphone to record a voice message.

A new chat takes the agent's latest AI provider, model and effort. An existing chat keeps the ones it started with. To try another model, change it in the agent's settings and start a new chat (see AI providers, models and effort).

Messages you send in a quick burst reach the agent together in one turn. A message sent while a turn is running goes into that turn. An agent can also end a turn with nothing to say; then no reply appears and the chat shows no error.

To start a chat from the terminal, see Verify from the terminal.

Verify from the terminal​

Find the agent's native chat channel:

catalex channels list

Create a chat with its ID, then use the returned chat ID:

catalex chats create --channel NATIVE_CHAT_CHANNEL_ID --name "Setup check" --json
printf 'Reply with exactly: CATALEX READY\n' | catalex chats send CHAT_ID --wait
catalex chats history CHAT_ID

Expected result: the agent's reply contains CATALEX READY. Then ask a question about the agent's own folder to check its tools and instructions.

If the AI refuses the turn, chats send fails with AGENT_TURN_REFUSED. The output includes the AI's text, the model and effort that were sent (with where each came from) and the command for choosing other settings. Nothing is retried.

The chat header and status​

In the app​

The header shows the chat's name, then its controls:

  • Stop interrupts the running turn. It shows only while a turn runs.
  • Resume reconnects the chat's original AI session. It shows only while the message box is closed.
  • Usage (the info icon) opens a small dialog with the chat's Cost, Tokens (input and output), Cached (the share of input tokens served from cache) and Turns. With several models it adds each model's cost. A value CatalEx cannot read shows a dash. Cost is the provider's reported price or a price-table estimate, not a bill, and turns recorded before CatalEx kept costs have none.
  • Full conversation (the terminal icon) opens a read-only side panel over the right of the chat with everything the agent did: your input, its thinking, each tool call with its input and result, its text, and a line per turn such as Worked for 12s or Stopped after 12s. Close it with Close or Escape.

Usage and Full conversation are offered only for chats this computer holds. Analytics shows the same cost and cache numbers across all chats.

A chat's state shows beside its name: Ready, Starting, Working, Waiting for your answer, Waiting for your approval or Needs attention.

Each agent has one status dot at the top right of its picture, on its tile and on its settings page. Chats in the chat list show no dot. Pointing at the dot names the state, with · N unread added for Active and Running:

DotStateMeaning
Quiet grayIdleNo chat of the agent is open. This is normal and says nothing more
Hollow greenActiveA chat is open and nothing is running
Hollow green, softly blinkingRunningA turn is running, or a chat waits for your answer or approval
Solid greenUnreadA reply you have not seen is waiting. A blinking edge means a turn is also running
Solid redOfflineThe agent's chats are offline
Solid redLast reply failedA chat's last reply failed

With reduced motion turned on, nothing blinks and Running shows a second, still ring. The tile also words a state that needs you as a line of text: Waiting for an answer, Waiting for approval, Last reply failed or Offline. A messaging reply in progress counts as Running, and an open messaging session as Active. Unread is kept per viewer, in this app only.

When a chat needs you, one line above the message box says why and offers one action, such as Change AI provider, Open AI providers, Review tool access or Start a new session. If CatalEx recovered a session on its own, the chat says CatalEx started a new session for this chat. or CatalEx reconnected this chat's session. System notices from CatalEx appear as an orange bubble named CatalEx on the agent's side.

With the CLI​

catalex chats show CHAT_ID
catalex chats usage CHAT_ID
catalex chats activity CHAT_ID
catalex chats activity CHAT_ID --after 12 --wait 5s --json
catalex chats settings show CHAT_ID

chats show reports the chat's state, settings and session; an exhausted recovery says so (recovery_exhausted: true with --json). chats usage prints what the Usage dialog shows: turns, input, cached and cache-written input and output tokens, the cost of the turns that report one and each model's share. chats activity reads the same items as Full conversation, oldest first; continue from the printed cursor with --after. Both work only on the computer that ran the chat, so --computer is refused. chats settings show prints the model settings the chat started with.

Recover a stuck chat​

If recovery gave up, send your next message: CatalEx replaces the stuck session first. From the terminal:

catalex chats resume CHAT_ID
catalex chats replace CHAT_ID

resume restarts the original AI session and creates nothing new. replace starts a new AI session for a chat whose session failed; the chat keeps its history and the next message runs in the new session. A healthy chat is refused.

If a turn's outcome is uncertain, read the history before you resend. To retry the same submission, reuse its command ID: catalex chats send CHAT_ID --retry COMMAND_ID --wait. catalex chats watch CHAT_ID --events 10 --json reads events without sending anything.

Delete a chat​

In the app​

In the chat list, point at a chat row and choose Delete chat (the bin icon). CatalEx asks Remove NAME? and says Its chat history is kept.

With the CLI​

catalex chats remove CHAT_ID

Restore removed chats from the archive (see Activity and history). Removing a chat does not erase every retained copy; read the data retention policy before treating it as deletion.

Chats on another computer​

The Agents home lists the agents on your other computers too, after those on On this computer. Open one to read its chats. An agent of another computer opens in the same workspace, with its computer's name and Online or Offline under the agent's name. It lists that computer's chats under Chats and offers New chat, Reload and Delete agent (see Add an agent), but no Add channel or Settings. A chat of another computer reads Message for COMPUTER… in its message box, and it has no Usage, Full conversation or Attach files: those stay on the computer that ran the chat. Allow, deny and answer buttons ask you to confirm with this device (Touch ID where available) before the decision is sent. While the computer is offline, a message you send waits under the words Waiting for COMPUTER, then shows Delivered or Not delivered; approvals, Stop and settings are never queued. Run chats commands on another computer of your account with --computer:

catalex chats list --computer 'Office VM'
catalex chats create --computer 'Office VM' --channel NATIVE_CHAT_CHANNEL_ID --name "Check"

That computer must allow chats from other devices (catalex computers settings remote-chat-links on, run on that computer). While it is offline, its chats are read-only from your account's archive. See Devices.

Messaging conversations in the app​

Slack, WhatsApp and Google Chat conversations start in their messaging app. Choose the agent's channel icon in the left rail to list them and read their history. In a group chat, each message names its sender and mentions show as names. They are read-only in CatalEx, for example Read-only. Reply in Slack.; send the next message from the messaging app. Reload chats refreshes the list, and Load more chats at its end reads older ones. Each row shows the person's name over a one-line preview of the newest message: your own messages unprefixed, the agent's replies starting with its name, Attachment for a file alone and No messages yet for none. Show chats from other computers adds the chats your other computers hold. A Google Chat channel keeps Local and Cloud buttons instead, which switch between the conversations this computer holds and every one the messaging service holds. A message marked Not sent was refused by a limit; see Access, approvals and limits.

To remove a messaging chat from CatalEx, choose Delete chat on its row. CatalEx asks Delete chat with NAME? and removes the conversation history from CatalEx; the chats in the messaging app are not affected. Only the account's owner can do this, and only for chats of this computer.

For WhatsApp Personal, the agent also keeps and can read the messages of a chat that were not addressed to it, and for Slack it keeps what was said where it was mentioned; see Conversation record and Slack. Each reply in a messaging app can link to the conversation in a web page; see View a conversation on the web.

From the terminal, read them with catalex accounts chats list ACCOUNT_ID (see Activity and history).

Files and decisions​

Files, charts and decisions covers attachments, rich replies, questions and permission requests. Activity and history covers importing an existing Codex or Claude Code session and restoring archived chats.