Chat
Chat gives staff threads to work in, with each other and with AI agents. A staff member can start a thread with an agent, bring in other people, and the group works the task through together, with the agent doing the lookups and changes.
Turning it on or off
Section titled “Turning it on or off”Chat is on when the module is installed. An owner can turn it off, or keep it on and keep agents out of it, under Settings, Chat. Three permissions decide who does what:
| Permission | Lets a person |
|---|---|
chat.use |
See Chat in the menu, start threads with other staff, and be added to threads |
chat.agents |
Start a thread with an agent, or add an agent to a thread |
chat.manage |
Turn chat, or agents in chat, on or off |
Threads
Section titled “Threads”Anyone in a thread can add people who can chat, and agents if they hold chat.agents. People can leave a thread, the person who started it can remove anyone, and anyone can remove an agent. Only members see a thread.
Type @ in a message to mention someone. The menu shows how many threads have messages you haven’t read, and a thread you have open updates by itself as people and agents write.
Agents in a thread
Section titled “Agents in a thread”An agent answers when someone mentions it. In a thread that was started with an agent, it also answers every message that doesn’t mention only other people. Agents never answer each other, so two agents in one thread can’t talk in a loop.
An agent works as its own staff account with the tools set on its page, the same as everywhere else. When it wants to use a tool that needs approval, its turn pauses and the request shows in the thread with what it wants to change. A member who could make that change themselves, or who sets up agents, approves or declines it there. The agent then carries on with the result, or learns that it was declined. The same requests also show on the Agents page.
Agent replies need ANTHROPIC_API_KEY and a running queue worker, as other agent runs do.
Live updates
Section titled “Live updates”An open thread keeps a server-sent events connection to /chat/{thread}/updates and reloads when something changes. It needs no WebSocket server. Each connection closes after five minutes and the page opens a new one, so proxy timeouts don’t matter, and the page also checks every 30 seconds in case a proxy buffers the stream. If you put Tradehall behind nginx, turn off response buffering for that path (proxy_buffering off) so updates arrive at once.