Differences Between Roles and Contacts
Internal members use roles to manage platform permissions, while end users who chat with an Agent are identified as contacts; this page explains the definitions, differences, and how to choose between
MaiAgent has two kinds of "people": Members are accounts that log in to the MaiAgent back office, and their permissions are determined by roles; Contacts are end users who chat with an Agent and do not need a MaiAgent account. The two work through separate mechanisms. This page explains the differences and how to choose between them.
Definitions of the Two Kinds of "People"
Contact
A contact represents an "end user who chats with an Agent": visitors to your website, users of your membership system, and LINE friends are all contacts. Contacts do not log in to MaiAgent. They are created automatically by the system during a conversation, or created by your system through the API, and are mapped to your own accounts through a Source ID. The Agent relies on the contact to know "who is asking"; that user's conversation history, custom attributes, query metadata (the scope of knowledge that can be queried), and tool credentials are all attached to the contact.

Role
A role is a permission template for members: it defines which features members who log in to the MaiAgent back office can use and which resources they can access (Agents, knowledge bases, messaging platforms, and so on). Enterprises can predefine roles such as "customer service agent," "administrative staff," and "intern," and apply them directly when members join the organization instead of configuring each person individually. Anyone assigned a role must have a MaiAgent account and be a member of the organization.

Permission Approach Comparison

🎯 Audience
External end users (visitors, members, customers)
Internal members (employees, administrators)
👤 MaiAgent account
❌ Not required
✅ Required (members log in to the platform)
📋 How created
Created automatically during a conversation, via the API, manually in the back office, or by bulk import
Roles are predefined in the back office and applied to members
🎯 What it controls
The user's conversation history, custom attributes, queryable knowledge scope (query metadata), and tool credentials
Members' operation permissions and resource access scope in the back office
⚙️ Management entry point
"Contacts" in the back office or API integration
"Role Permission Management" in the back office
Division of Responsibilities for Knowledge Scope Control
Both can affect "which knowledge can be found," but through different mechanisms:
Contact: Set query metadata on the contact to limit the knowledge bases, documents, and tags the AI can retrieve when chatting with that user.
Role: Controls which resources a member can see and manage on the platform; in internal Q&A, members can also choose the knowledge scope to reference for each message. A role is not a level at which query metadata is configured.
Typical Use Cases
Contact use case: external services that provide differentiated content based on "who is asking"
Corporate website: Visitors receive different product information based on their identity
Member center: Access the corresponding service content based on membership tier
Customer service center: Provide differentiated support based on customer type
Role use case: internal use that grants platform permissions based on responsibilities
Internal operations: Employees handle work according to their department role
Customer service team: Query the knowledge base according to their scope of responsibility
Management: Review and maintain content according to their permissions
Combined Usage Strategy
External services (website customer service, member center, embedding in your own product): Users do not need and should not have a MaiAgent account. Use contacts, and set query metadata or custom attributes by identity to provide differentiated experiences.
Internal use (employees using internal Q&A, teams operating and maintaining Agents): Members log in to the platform. Use roles to grant permissions uniformly.
The two can coexist: an enterprise usually has both "members who manage the back office" and "contacts who chat with the AI," each working through its own mechanism without overlap.

Last updated
Was this helpful?