CredoID

AI Assistant

Basics

AI Assistant is a chat built into CredoID that lets operators manage the system in plain language, e.g. “Show me who entered the server room today”, “Create a user John Smith with card 12345 and give him the Office access level” or “Lock all doors in Building A”.

The assistant is connected to a Large Language Model (LLM) of your choice and uses tools to read and change data in CredoID - users, doors, devices, events, reports and more.

The assistant can only do what the logged-in operator is allowed to do. If the operator’s role does not have a permission, the assistant will not be able to perform that action either.

AI Assistant is only shown when at least one enabled AI provider is configured in “Settings → AI Agent”.

AI Agent settings

AI providers and tool permissions are configured in “Settings → AI Agent”.
This section has two tabs: Providers and Tool Confirmation.

Providers

Only one provider is used at a time - the default enabled provider. If the default provider is disabled, the first enabled provider is used instead.

Supported providers

Adding a provider

Click Add to open the provider configuration window.

To load models, all required fields above Model must be filled in first.

Tools

Select which actions the assistant may perform when using this provider. All tools are selected by default. Use Search to find a tool, Select all to select every tool or Deselect all to clear the selection. Tools are grouped by category:

We recommend selecting only the tools that are really needed. A provider with no tools selected can only answer questions and cannot read or change any data.

Selected tools are still limited by the operator’s role permissions - the assistant cannot do anything the operator is not allowed to do.

Click Save. A security notice will be shown before the provider is added. Please read it carefully.

Tool Confirmation

By default, the assistant asks the operator for approval before running any tool. This tab controls which tools require confirmation.

Tool confirmation is a global setting - it applies to all operators and all providers.

Allow All lets the assistant delete users, unlock doors, create rules and perform other operations without operator review. Keep confirmation enabled for sensitive operations.

Using the AI Assistant

Open the assistant by clicking in the top bar or the floating button in the bottom right corner of the screen.

Type your request in “Type a message…” field and press Enter. The answer is shown as it is being generated.

Example requests:

After answering, the assistant may suggest follow-up options as buttons under the message, e.g. “Show the past 7 days”. Click an option to send it as your next message, or type your own request.

Confirming actions

If a tool requires confirmation, the Confirmation Required card is shown with the action and its details.

Sending a new message while actions are still waiting for confirmation rejects those actions.

Always check the action details before confirming - e.g. which doors will be unlocked or which user will be deleted.

Sessions

The conversation is kept when the chat is closed, the page is reloaded or the browser is reopened, so you can continue where you left off.

Click New Session to clear the conversation and start over.

Permissions

Action Required permission
Use the AI Assistant Any operator
View AI Agent settings Settings - Read
Add, edit, remove providers, change tool confirmation Settings - Write
Allow a tool without confirmation from the chat Settings - Write

Every tool also checks the operator’s own permissions when it runs, e.g. unlocking doors requires door control permission and creating users requires Users - Write permission. If the operator does not have the permission, the assistant replies that the action is not allowed. See Roles.

Troubleshooting