Configure an AI assistant
Create an AI assistant with its prompts, roles, tools and model, or extend a shipped assistant without changing its locked prompts.
Create an AI assistant when users need a chat specialist that no shipped assistant covers. This page is for administrators who write assistant prompts and choose their tools.
Before you begin
- You need the
administratorrole. - An active chat model must be connected. See Connect an LLM provider.
- Know which roles should use the assistant and which tools it needs. The shipped tools are described in AI tools.
Steps
-
In the Administration workspace, go to AI assistants & agents → Assistants & Agents → AI Assistants and select New.

The AI Assistants item in the AI assistants & agents menu. 
The AI assistant form for the Generic assistant, with its main fields and configuration tabs. -
Enter a Name, a unique Key and a Description that tells administrators what the assistant is for.
-
Add at least one role to Roles. Only users with one of these roles can use the assistant. An assistant with no roles is available to nobody.
-
On the System Prompt tab, write the prompt in Markdown: the assistant’s role, what it can do, its rules and its output format. To add record data, reference context variables as
${variableName}. Fill them in on the Pre-processing Script tab. -
On the Selection Prompt tab, write what the assistant is for, when to select it and when not to. The selection model reads it to choose between assistants.
-
On the Selection context tab, select Select automatically so Servicely can choose the assistant for a conversation. To limit it to some forms, lists or pages, add them in Selection context. If it replaces another assistant, add that one to Supersedes.
-
On the same tab, set Channels. Leave it empty for the Servicely interface only, or add the external channels the assistant should answer in. Keep assistants that change configuration on the Servicely interface.
-
On the Tools & Agents tab, add the Tools the assistant may call and the Agents it may hand multi-step work to. Add only what it needs. A Capability set adds a whole group of tools and agents.
-
Choose the Model selection type. Choose Explicit only if the assistant needs one particular model, and then set LLM Model.
-
Optionally, write a Condition script on the Condition tab. When it returns false, the assistant is not listed, selected or run.
-
Select Active, then select Save & stay. Select Lint AI configuration to check the record, and fix what it reports.
The fields are explained in AI assistants.
Variations
Extend a shipped assistant
The prompts of a shipped assistant are locked. To add your own rules, open the assistant and select Allow Additive Config. Write your text in Additional System Prompt, or in Additional Selection Prompt to change when it is chosen, and save. Servicely appends your text to the shipped prompt at run time.
Result
Users with one of the assistant’s roles can pick it in the Sofi Pro tab. When Select automatically is on, the selection model also considers it for new conversations. Every call the assistant makes is recorded in LLM usage logs.