A Group Chat Agent Needs a Model of Its Audience
An AI that can speak privately and publicly needs more than context awareness: it needs explicit rules for who may hear what
A group chat agent must track not only what it knows, but who is allowed to hear each piece of knowledge. Separate private and shared context, make audience changes visible, and test for information leaks before deployment.
A group chat is a small institution. People bring different histories, expectations and permissions into the same room, and a sentence that is welcome in a private message can become a breach when repeated to everyone.
That is the tension behind the Hacker News discussion of a group chat where an AI talks behind your back, prompted by construct22.com. The phrase sounds like a question about manners. It is really a question about system boundaries: what does the agent know, who can see its messages, and who has authorized it to move information between audiences?
Context is not permission
Most assistants are built around a simple mental model: one person asks, one model responds. Group chat breaks that model. The agent may encounter a shared transcript, private exchanges with individual members, stored preferences and tool results, all while appearing as one participant.
A familiar mechanism from computer security helps make the problem precise: information-flow control. Imagine assigning each piece of information a label, such as private to Maya or visible to the whole group. A message inherits the labels of the information used to produce it. If private material influences a public reply, the reply is not automatically safe just because the model never quotes that material.
This is a useful intuition, not a guarantee that a language model can be given perfect labels. The model transforms information probabilistically and can reveal it indirectly through a recommendation, omission or unusually specific answer. Production design therefore needs controls around the model, not just instructions inside its prompt.
The audience boundary is part of the architecture
In information-flow theory, a system satisfies a property called noninterference when changes to secret inputs cannot change what an unauthorized observer sees. In plain language: if the group is not allowed to know a private fact, the group-facing output should not depend on that fact.
For a chat agent, this suggests separating the work into stages. The system identifies the audience, assembles only the context permitted for that audience, generates a response, then checks whether the response can be sent there. The model may help with each stage, but a policy layer should decide which context and tools are available.
The drawing leaves out a hard case: people disagree about what “shared” means. A participant might expect the agent to use their private preferences to help the group, while another might consider that use a disclosure even if no exact detail is repeated. Access control can answer who may retrieve a record. It cannot settle every social expectation about how that record may shape a response.
| Dimension | Single-user assistant | Group chat agent |
|---|---|---|
| Default audience | One user | Several participants |
| Context boundary | User and app | Private, shared and tool-derived |
| Permission question | May the assistant use this? | May it use this here, for this audience? |
| Failure consequence | Misleading or exposed user data | Breach of trust across relationships |
| Useful test | Answer quality | Audience-specific information leakage |
Make the boundary observable
People cannot meaningfully consent to a boundary they cannot see. A product should distinguish private replies from room-wide replies in the interface, identify whose context was used where appropriate, and offer a clear way to correct or revoke an assumption. A small label can prevent a large misunderstanding, but it cannot replace policy enforcement.
Memory needs similar care. A useful system can keep personal memory separate from room memory, attach an owner and audience to each item, and avoid treating an item shared once as permanently public. When a conversation changes audience, the system should reassess what it can carry forward instead of assuming that context travels with the agent.
These choices have economic consequences. Every extra context source can improve relevance, but it also increases the number of ways a response can surprise someone. In advertising, the difference between personalization and surveillance often turns on whether people understand how their signals are used. In enterprise automation, the same boundary determines whether an agent can safely turn a private note into a team action.
Test the social contract, not just the answer
A production evaluation should create paired cases: hold the shared transcript constant, change a private fact, and compare what the group sees. If the public response changes in a way that reveals or relies on the private fact, the system has a boundary problem even if the answer sounds reasonable. Tests should also cover tool calls, summaries, notifications and generated follow-up messages, since information can escape through any of them.
The tests cannot fully model human expectations. A technically permitted response may still feel like betrayal, while a response that avoids all private context may make the agent useless. That makes governance a product responsibility: define defaults, explain them in ordinary language, and provide participants a way to challenge them.
The deeper lesson is that an AI participant is not simply a person with faster recall. It is a mediator that can transform one audience’s information into another audience’s action. Its trustworthiness depends less on whether it sounds discreet than on whether its architecture makes discretion enforceable.
Discussion (1)
You argue for labeling information, but what's your practical approach when the tool's output itself, like a recommendation, leaks context through its specificity? How do you test for probabilistic inference leakage before deployment, beyond static analysis?