Agent SDKOntology SDK
Keep a chat's persona across participants
A shared chat keeps its assigned persona across speakers and starts fresh when that persona changes.
In a shared customer chat, a staff member and a guest can speak in turn without changing how your agent is instructed to behave. The chat's assigned persona or channel rule stays in effect for everyone, while each speaker's own access still governs what the agent can do.
Tell the coding agent you build with: “Set the persona for our shared customer chat and keep each participant's access separate.” When a chat manager changes that persona, the next turn starts a fresh session in the same conversation, so the new instructions do not inherit the old session's persona text.
An explicit chat assignment takes precedence over a channel rule. If neither applies, the workspace default is used.