Docs
On this page
concept3 min readApplication: SOFI Core

AI assistants

What an AI assistant is, how Sofi picks one for a request, and what decides its model, tools, channels and users.

An AI assistant is a chat specialist that answers in one area, such as self-service or incident work. This page explains how assistants are chosen and what controls them. It is for administrators deciding which assistants to offer.

What an assistant is

An assistant is an AI Assistants record under AI assistants & agents → Assistants & Agents. Users talk to assistants in the Sofi Pro tab and through the assistant button in the header. Each assistant has a System Prompt that sets its role, tone and limits. It also lists the Tools and Agents it can call.

The AI Assistants list, with each assistant’s key, classification, model selection type and whether it is active.

Four kinds of record make up the language-model side of Sofi.

Record What it is
AI assistant A chat specialist for users, chosen per conversation.
AI agent A multi-step set of tools and prompts where a language model decides the flow. Assistants delegate work to agents.
AI tool Something an assistant or agent calls to read information or act, such as searching knowledge. See AI tools.
AI prompt A single call to a model, such as a summary. See AI prompts.

The building blocks, such as AI Tools, AI Prompts, AI Decisions and AI Rules, are under AI assistants & agents → Building blocks.

How an assistant is chosen

A user can pick an assistant. Otherwise Servicely chooses one for each conversation.

  1. It keeps the active assistants that hold one of the user’s roles. An assistant with no Roles is available to nobody.
  2. It drops any assistant whose Condition script returns false. An empty Condition means always available.
  3. It keeps those that serve the channel and are selectable automatically. Select automatically decides this, or a Selection Automatically Condition script when one is set.
  4. AI selection contexts narrow the list by the table, page path, role or channel the user is on.
  5. Where two candidates remain and one lists the other in Supersedes, only the superseding assistant stays.
  6. The selection model reads each candidate’s Selection Prompt and picks the best fit. It can ask the user to clarify first.
  7. If nothing fits, the Generic assistant answers.

The selection model is the one set in ai.assistant.model.selection. An AI decision can choose the assistant before the selection model does.

Which model it uses

Model selection type decides the model. Fast, General, Complex and Coding use the model set for that type in AI models, cost & value → Models & settings → Settings. Explicit uses the model in the assistant’s LLM Model field. This lets you move every assistant of a type to a new model in one place.

What it can do

Field What it controls
Tools, Agents The tools the assistant may call and the agents it may hand work to.
Capability sets Groups of tools and agents, with their guidance. They are the same definitions AI Connect packs use.
Rule Sets, Rules Behavioural rules composed into the prompt. Rule Profile picks baseline rules when the record has none. Rules are enforced only when ai.rule.enforcement.enabled is on, which it is not by default.
Max tool calls The limit on tool calls in one reply. Blank uses the global limit.
Licence The licence capability needed. Empty means the assistant comes with every licence.

Administrators can also ask an assistant to plan only. It then plans with tools that cannot change anything, and applies the plan only when the user approves it. The option shows for the roles in ai.assistant.planonly.required.roles, which defaults to administrator.

Channels

Channels lists where the assistant answers. Empty means the Servicely interface only. Microsoft Teams, Slack and WhatsApp each need to be listed, or covered by All. Keep assistants that change configuration on the Servicely interface, because external channels identify users less strongly.

Shipped assistants

Servicely ships assistants with the AI applications, listed in Default AI assistants. Their prompts are locked. To adapt one, select Allow Additive Config and write an Additional System Prompt or Additional Selection Prompt. Servicely appends your text at run time and keeps the shipped prompt unchanged.

An assistant marked Production Restricted cannot be selected or run on a production instance. Most administration and coding assistants are marked this way, so they work only on development and test instances.

Last updated 3 December 2026commit 6777698daac5Chris Jones
Back to top