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

- Name - Provider name.
- Type - LLM provider type.
- Model - Language model used for conversations.
- Endpoint - Provider API address. Empty means the default address of the provider is used.
- Status - Shows if the provider is Enabled or Disabled.
- Default - Marks the provider used for conversations.
- Edit provider.
- Remove provider.- Set as default - Use this provider for conversations.
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
- OpenAI - ChatGPT models.
- Azure OpenAI - OpenAI models hosted in your Microsoft Azure subscription.
- Anthropic - Claude models.
- Gemini - Google Gemini models.
- DeepSeek - DeepSeek models.
- Ollama - Locally hosted open-source models.
Adding a provider
Click Add to open the provider configuration window.

- Name - Enter provider name, e.g. “OpenAI”.
- Provider Type - Select provider from the list.
- API Key - API key issued by your provider. When editing, leave empty to keep the stored key.
- Model - Click the refresh icon in the field to get the list of models from the provider and select one, or type the model name.
- Endpoint - Optional. Leave empty to use the default provider address.
- Enabled - Allow the assistant to use this provider.
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:
- Users - Search, view, create, update and delete users, resolve card formats.
- Access Levels - Manage access levels, door permissions and user assignments.
- Access Areas - Manage anti-passback, interlock and occupancy areas.
- Doors - Manage doors and readers, unlock, lock or reset door mode.
- Devices - Discover, add, update, delete and synchronize controllers, detect modules, check device health.
- Inputs - List inputs, bypass and unbypass them.
- Outputs - List outputs, turn them on, off or pulse them.
- Cameras - List registered cameras.
- Events - Search and count events.
- Filters - Manage event filters.
- Triggers - Manage rules and their actions.
- Reports - Manage report templates and generate reports.
- Schedules - Manage schedules.
- Locations - Manage locations.
- Notifications - Send notifications via the configured provider.
- Time - Get current time, wait for devices to finish an operation.
- Server - Get server address.
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 - Tool name and identifier.
- Category - Tool group.
- Description - What the tool does.
- Requires Confirmation - When enabled, operator approval is required before the tool runs.
- Allow All - All tools run without confirmation.
- Require All - All tools require confirmation (default).
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:
- “How many access denied events were there yesterday?”
- “Find user John Johnson and show his access levels.”
- “Create a door Main Entrance on the HID controller at 192.168.1.100.”
- “Which devices are offline?”
- “Generate a Who Is In report.”
- “Create a rule to turn on Output 1 when Main Entrance is forced open.”
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.

- Confirm - Allow the action.
- Reject - Cancel the action. The assistant will be told the action was rejected.
- Confirm All / Reject All - Shown when several actions are waiting for confirmation at once.
- Allow this tool without confirmation in the future - Turns confirmation off for this tool for all operators. Only available for operators with Settings - Write permission.
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.
- Each conversation belongs to the operator who started it. Other operators cannot see it.
- Conversations not used for 30 days are deleted automatically.
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
- AI Assistant button is not visible - No enabled AI provider is configured. Add one in “Settings → AI Agent”.
- “Failed to get a response from the AI assistant” - Check that the API key, endpoint and model are correct and that the CredoID server can reach the provider address.
- No models in the list after loading models - The provider returned no models or the API key is invalid. Check the provider account.
- “You do not have permission to perform this action” - The operator’s role does not allow this action. Add the required permission to the operator’s role.
- Assistant says it cannot do something - The required tool is not selected for the provider. Edit the provider in “Settings → AI Agent” and select the tool in the Tools list.