This is a standalone demo of a role-aware assistant backed by real enforcement in code â not just a model asked nicely to behave. Three things to try, each with its own angle:
Switch to Bob or Carol (regular users) and try an admin-only
action, like deleting a record or viewing the audit log. It gets refused â the check happens in
the code (data.js/the active MCP server), never just in the model's judgment.
Each user only ever sees their own records â conversation history and data are never mixed between users. Try asking Bob for a record that belongs to Carol: he's refused without the reply even confirming the record exists or who owns it.
This same chat, the REST API (POST /api/chat), and Slack (if configured) all talk
to the exact same agent and enforcement â nothing is duplicated per channel.
Use the suggestion chips above the message box â they change based on which user is selected. Or just ask the agent directly: "What can you do?" or "How do I test this?" â it can explain itself and suggest things to try.