How do I create my own Kai agents?
Updated Reading time: 16 min
On this page
- Starting a conversation with an agent
- Hiding agents in the car
- Terms
- Adopting an agent from a template
- Topics, start type, and search
- What each template brings
- Templates with workflow or module
- Templates that automatically check and summarize
- Creating your own agent
- The editor tabs
- Overview: Runs, costs, and notes
- Mobile: Kibi Buddy and car
- Testing an agent in trial run
- Skills
- What data an agent is allowed to read
- Selecting areas via skills
- Narrowing down more precisely
- Permissions
- Mandatory steps
- What always applies
- Status: Draft, Active, Off
- Modifying or deleting your own agent
- Permissions overview and history
- Agents in workflows
- Starting agents from a mail rule
- Supplementing system agents with your own notes
An agent is a specialist that Kai brings into a conversation. You continue to talk to Kai. Each agent consists of a profile and skills: The profile states who they are, what they do, and what they adhere to. The skills state what they can do and with what.
Info
Creating, modifying, and deleting your own agents can be done by anyone with the Manage Agents permission, usually system admins. Employees see the agents released to them in the Agents tab and start conversations with them.
Starting a conversation with an agent#
Open Kai in the navigation and switch to the Agents tab.
Click on the agent's card. A new conversation opens, with the selected agent at the top.
Write your message to Kai.
In an ongoing conversation, you can bring in an agent using its abbreviation, for example @invoicecheck. Agents also start in workflows and from mail rules, see below.
Under Automations in the same tab are the workflows that assign an agent.
Hiding agents in the car#
Agents for which the switch Offer in CarPlay is enabled in the editor under the Mobile tab appear in Kibi in the car for everyone who is allowed to use the agent. For new agents, it is enabled by default. You can hide individual ones for yourself:
Open Kai in the navigation and click the gear icon next to New Conversation in the Conversations tab.
Switch to the Mobile tab.
Under In Car (CarPlay), disable the agents you don’t need in the car. The change is saved immediately and applies only to you.
Info
A maximum of 6 agents appear in the car, sorted by name. If you disable one, the next one moves up. If your company does not offer any agents in the car, this will be indicated here. If your company's REST API is disabled, Kai will not respond in the car; this is also indicated in the tab.
Terms#
Term |
Meaning |
|---|---|
Agent |
A specialist that Kai brings in. |
Profile |
Role, Task, and Rules: who the agent is, what they do, and what they adhere to. |
Skill |
A capability of the agent: an instruction, a tool, or both. |
Instruction |
How the agent does something, in plain language. |
Tool |
What the agent uses to do something: access to the platform or a connected third-party system. |
Permissions |
For each step that changes something, the rule for whether the agent asks first. |
Trial run |
A test run where the agent only shows each step with consequences and does not execute it. |
Abbreviation |
The name in the chat, for example |
Adopting an agent from a template#
There are ready-made templates for many tasks, such as a minutes agent, a knowledge agent, or the marketing editorial team. Weslink maintains them for all companies. You receive your own copy, which you can freely adapt. Later changes to the template do not affect your copy.
Open Administration and then under AI & Workflows, select Agents.
Switch to the Templates tab. Use the search, the Any Start Type selection, and the topics to narrow down the list.
Click on a card to open the preview. It shows the profile in blocks: Role, What it does, Data, Rules, and Response Patterns, plus the skills the agent brings.
Click Use. The copy opens as a draft in the editor.
Check the draft, replace the placeholders, and enable it.
Topics, start type, and search#
The topics are Operations & Occupational Safety, Buildings & Technology, Team & Personnel, Customers & Sales, Marketing, Office & Texts, and Knowledge & Planning.
At the top is the Recommended row. If your company works with the sample data from a workshop, it is called For Your Workshop.
Any Start Type filters by how an agent starts: On Demand, By Schedule, On an Event, or By Mail. Agents that work on their own display their time or occasion on the card, for example daily at 18:00 or when a vehicle is booked.
If the search finds nothing, describe to Kai via Design with Kai what the agent should be able to do. Kai will then design it with you.
What each template brings#
Placeholders in square brackets: [Company] replaces the platform with the name of your company. Other placeholders like [Shift Group] you replace yourself before enabling the agent. If Kai is missing information when writing, he also uses a placeholder, for example [Link], and you complete it in the draft.
Always included: Under this point in the preview are the fixed sentences that each template brings, for example the purpose and the rule that Kai openly states when information is missing instead of guessing.
Drafts instead of sending: Templates are written so that Kai creates drafts. Anything that goes out, costs money, or cannot be undone is approved by a person.
Marketing templates do not invent anything: no numbers, awards, customer names, or quotes that are not in the data. Superlatives and seals like "market leader" are written by Kai only with evidence, emojis only on request. Nothing is published until a person approves it.
Wichtig
If the preview states "This template processes employee data, the works council must be involved," coordinate the use with the works council beforehand. Such templates summarize content, not people: They do not evaluate performance, create rankings, or analyze moods.
Templates with workflow or module#
If an agent works on its own, the preview under How it works on its own states when it starts and which workflow is associated. The workflow is not copied: First enable the agent, then the editor offers Create Workflow. The agent is already assigned in the new workflow; you select the targets of the steps and save. The workflow starts paused.
If an agent starts by mail, you set up the mail rule yourself, as described below under "Starting agents from a mail rule".
If an agent works with a module, for example the defect reporter, the module is not part of the template. After adopting, the editor tells you under One more step whether you select the module in the Skills tab or first build it under Administration → Platform → Modules.
Templates that automatically check and summarize#
Some templates include a workflow that starts the agent at a time or event:
Template |
Starts |
What happens |
|---|---|---|
Check vehicle booking |
when a vehicle is booked |
The agent checks if UVV, HU, and maintenance are valid during the booking period, including maintenance by mileage. Only if something is not valid does the fleet receive a task. If nothing is recorded for a check, it writes "nothing recorded". It does not cancel or change any booking. |
Weekly review |
Fridays at 14:00 |
The agent summarizes what you have completed this week and what remains open, from your own tasks and time entries. You receive the review only as a chat message via the workflow Weekly review for me only. |
Construction diary |
weekdays at 17:00 |
The agent drafts the daily report of the construction site from tasks, notes, and chat of the group, plus the hours of the team (number of people and total hours) and the photos of the day. The site management receives it as a task to review. |
The template Pre-check leave request is a workflow without its own agent. You can find it under Administration → AI & Workflows → Workflows with Create Workflow under Start with a Template. If someone requests leave or a flex day, Kai counts the absences in the person's groups during the requested period and compares them with the minimum staffing. Those who can approve the request receive a note. Kai prepares the decision but does not evaluate or decide.
Wichtig
Construction diary and pre-check leave request process employee data. For Pre-check leave request, a works agreement is required before use (§ 87 (1) No. 6 BetrVG, and No. 5 if there is a fixed minimum staffing). The hours in the construction diary are only enabled by system admins, see How do I create a construction diary with Kai?.
Creating your own agent#
Open Administration and then under AI & Workflows, select Agents. In the Agents tab of the Kai section, the link Manage Agents also takes you there.
Click Design with Kai and describe to Kai in one sentence what your agent should do. Kai suggests role, task, rules, and skills and enters them in the editor. In an empty conversation, there are examples to choose from. If you want to start from scratch yourself, select Create Empty.
In the Profile tab, check Name, Description (a sentence about what the agent does), Role, Task, and Rules. Describe the agent like a new colleague. The Abbreviation is derived from the name. Keep it short, as it is typed in the chat.
In the Skills tab, select the agent's capabilities: Skill from Library or Create New Skill.
In the Permissions tab, set for each step that changes something whether the agent asks first.
In the Who Starts tab, set who can use the agent: Everyone with Kai, Specific Roles, or Specific Groups.
Click Save. The agent is now a Draft: Only you can test it, and no workflow or mail rule starts it.
Test the agent in the Test tab. If everything fits, click Enable and confirm. After that, everyone selected under Who Starts can use it.
Wichtig
An agent can only do what the respective person is already allowed to do. It cannot change platform rules.
Warnung
Agents are not intended to select applicants, evaluate the performance or behavior of people, or decide on services to citizens. Note: Even if Kai creates a draft for such a request, this purpose remains excluded.
The editor tabs#
Saved agents open on the Overview, new ones on the Profile. A checkmark on the tab indicates that it is complete.
Tab |
What you see or set there |
|---|---|
Overview |
The entire agent on one page, plus Runs and Costs and, if applicable, Notes. If something is missing, a link takes you directly to the relevant section. |
Profile |
Icon, Name, Abbreviation, Description, Role, Task, and Rules. Expandable Response Patterns & Examples: the format in which the agent presents its response, and up to five examples of a typical request and the response you want. Plus the Tone (Factual, Friendly, or Brief) with a Note on Tone. |
Skills |
The agent's capabilities and what they work on, for example which form or template. Plus the knowledge sources in which the agent searches. |
Permissions |
For each step that changes something: Always Ask, Ask If …, or Without Asking. |
Who Starts |
Who can use the agent, how it is added in the chat, and which workflows start it. |
Mobile |
The switch Offer in CarPlay, the Tools for the Kibi Buddy and agent mode in the car, and the Start Sentence. |
Test |
A new conversation with the agent as a trial run and the last assignments to this specific agent. |
Tipp
Rules in the profile are hints to the agent, not a block. What it can do without asking is set under Permissions.
Overview: Runs, costs, and notes#
Runs and Costs: the runs of the last 30 days with their costs in euros and Kai Credits. The costs are deducted from the company balance.
Approval Rate: Once the agent's suggestions are decided, this shows how many were approved unchanged.
Notes: If the agent can evaluate data about employees, for example times or people, it states here: "Can evaluate data about employees – coordinate with the works council." If it works with a form or module that contains health data, a note reminds you to involve your data protection.
Info
Whether a form or module contains health data is determined by the people who manage it: with the switch Contains health data (e.g., accident, care).
Mobile: Kibi Buddy and car#
In the Mobile tab, you set how the agent works on the go.
Offer in CarPlay: The agent appears in Kibi in the car for everyone who is allowed to use it. If it has a response pattern, Kai in the car only reads a short response and saves the result as a note.
Kibi Buddy and agent mode in the car: Select what the agent is allowed to do there. Without selection, it can do everything Kai can do for the person. Each tool still checks the person's permissions.
Start Sentence: What the agent does with a button press on the Kibi Buddy, for example "Start the shift handover." If left empty, "Get started" applies.
Testing an agent in trial run#
In trial run, the agent only shows each step with consequences and does not execute it. This way, you see what it would do before it changes anything.
Open the agent and switch to the Test tab. If you have just made changes, click Save first.
For an active agent, there is the switch Trial Run Only – Nothing is Executed. It is enabled by default. A draft always runs as a trial run, so the switch is missing there.
Click Try Out. A new conversation with Kai and this agent opens.
Write a typical request. Each step with consequences appears as a Trial Run card with the text Would now: … and the addition Nothing was executed.
Wichtig
The card is decisive. Kai may phrase the text above as if the step has already been completed, but in trial run, nothing is executed.
Info
Trying out consumes company balance.
Skills#
A skill is a single capability. Behind it is an instruction (how the agent does something), a tool (what it uses to do it), or both. Without a skill with a tool, the agent cannot look up or create anything.
Create your own instructions for your conversations with Kai under How do I create my own skills for Kai?.
Library: Each skill ends up in your company's library and is thus available to other agents. Changes apply to all agents with this skill. Under Skill from Library, each entry shows its type, what it requires, and how many agents use it, for example "Tool · requires: Template".
Kai suggests tools: Write the name and instruction of the skill, then Kai searches for matching tools. You check the selection and adjust it. With Show All Tools, you select yourself.
What the skill works on: If a tool requires, for example, a form, a template, groups, or a folder, you select it directly on the skill. If you let the agent choose, the same skill in multiple agents works with a different form or template.
Folder: Under Where does the agent save?, select Ask Every Time (the agent saves in the group you name or that the trigger brings), Always Here, or One of These Groups.
Third-party systems: A connected third-party system only brings reading for agents. If the agent is to write there, for example to create an offer, it needs a skill with this tool.
Vehicle deadlines: The tool Check vehicle deadlines (UVV, HU, maintenance) is under Calendar, Rooms, and Bookings.
Warnung
Under Advanced, there is the switch All tools from Kai that the person has. When enabled, the agent uses every tool that the person has, even without a skill. The permissions list is then incomplete. Agents that work this way carry the label All Tools or the note Not yet converted to skills in the list.
What data an agent is allowed to read#
What your own agent is allowed to look up is set in the agent itself. The following always applies: An agent never sees more than the person it is currently working for. It works with their permissions, and the settings in the agent further restrict this.
Selecting areas via skills#
An agent with skills only reads in the areas for which a skill brings a reading tool. The tools are sorted by areas, for example:
Area |
Reading tools (selection) |
|---|---|
Tasks |
Read tasks |
Calendar, Rooms, and Bookings |
Read calendar, check room occupancy, check vehicle deadlines (UVV, HU, maintenance) |
Own Modules |
Read entries of own modules |
Wiki, Files, and Photos |
Look up in wiki, read files, find photos of a day |
Chat, Mail, and News |
Read chats, read mails, read news |
Notes |
Read notes |
Groups |
Find and read groups |
People |
Look up people and absences |
Time Tracking |
Read working hours, read working hours of a construction site per day |
Forms |
Find forms, read responses |
Connected Systems |
Read in a connected third-party system |
If the agent does not have a skill with a tool from an area, it does not read anything there. For example, an agent for room bookings does not see any mails or personnel files.
Narrowing down more precisely#
Own Modules: For entries of own modules, select the module on the skill, for example the defect reporter. Without a selected module, the agent does not get this tool.
Groups: If you select groups on the skill, the agent only works in these. Without selection, it works in all groups that the person can access.
Wiki and Files: If a skill reads in the wiki or files, the Knowledge section appears in the Skills tab. Under Wiki Areas and Folders, select up to 20 entries each; subpages and subfolders are included. If you leave a field empty, the agent searches in the Entire Wiki or All Files.
Info
Even with selected wiki areas or folders, each person still only sees what they are allowed to see. The selection makes the agent more restrictive, never broader. You can also only select pages and folders that you yourself see.
Warnung
If you enable the switch All tools from Kai that the person has under Advanced, these limits do not apply: The agent then reads everywhere the person is allowed to read.
Permissions#
Kai suggests, a human approves, the platform executes. In the Permissions tab, all steps that change something are grouped by skill. For each step, select a rule:
Rule |
What happens |
|---|---|
Always Ask |
The agent asks before each of these steps on a card. |
Ask If … |
The agent asks as soon as one of the selected conditions applies. The platform checks them, not the AI. |
Without Asking |
The agent executes the step directly. |
For Ask If …, the following conditions are available to choose from, depending on what the step produces:
It runs without humans (workflow or trigger)
The step affects other people
The agent wants to do many of them in one assignment, more than the number you enter
The target is in or outside certain groups
A field has a certain value
Under the rules, it states who last changed them. View Changes takes you to the log in the permissions overview.
Mandatory steps#
A mandatory step affects other people, costs money, or cannot be undone. It has a lock and is set by default so that the agent asks. You can only loosen it consciously:
For the mandatory step, select a looser rule, for example Without Asking. The dialog Loosen mandatory step? opens.
Select one of the options. The mildest is pre-selected: Only in chat without asking, up to 50 in one assignment – ask in workflow (recommended). Next to it are Without asking up to 50 in one assignment, ask above that and Always without asking. Change the number in the More than field.
Click Loosen and then Save. The change is logged, and the step carries the addition loosened in the permissions overview.
What always applies#
Two safeguards are not overridden by any setting:
External content: If the agent has previously read a mail, a webpage, or a foreign file, it asks before every step with consequences—always, regardless of the setting.
Confirmation in third-party system: If the administration of a third-party system requires confirmation, it always applies.
Wichtig
The agent's rule takes precedence. If a person has selected In future without asking on a card, this only applies to Kai in the chat. If the agent asks for a step, it continues to ask this person as well.
Status: Draft, Active, Off#
Status |
Meaning |
|---|---|
Draft |
Newly created. Only the person who created it can test it. No workflow or mail rule starts it. |
Active |
After Enable. Everyone selected under Who Starts can use it. |
Off |
After Disable. Kai does not offer the agent to anyone. |
You see the status in the header of the editor and in the list. You can also disable and re-enable an active agent directly in the list; a draft can only be enabled in the editor.
Modifying or deleting your own agent#
Click on the agent in the Administration on the Agents page. In the Edit Agent window, you have these options:
Save: Applies your changes.
Try Out: Starts a new conversation with Kai and this agent.
Enable: Enables a draft.
Disable: In the … menu at the top of the window for an active agent.
Delete: In the … menu at the top of the window. After a confirmation, the agent is deleted for everyone. Conversations in which it participated continue without it.
Permissions overview and history#
The Agents page has four tabs:
Agents: the list of all agents with status.
Templates: ready-made agents to adopt.
Permissions Overview: what each agent is allowed to do without asking, by skill and step with its rule. With the filter, you only see Loosened or only agents with All Tools. Labels like Works Council indicate where coordination may be necessary. The overview is read-only; you can change the rules in the editor.
History: the last assignments to agents with origin, duration, and costs in euros and Kai Credits, for example Mail Rule. If an agent involves other agents, these are indented below.
In the permissions overview, under Changes, every change to a permission rule is listed with the person and timestamp. If you come via View Changes from the editor, you only see this agent; Show All Agents removes this filter. With Export (CSV), you download the overview.
Info
Agent runs and the tool log are deleted after 90 days.
Agents in workflows#
A workflow starts an agent at a time or event, such as a new room booking or a completed form. In the Who Starts tab, you create a new workflow with Create Workflow as soon as the agent is saved. Options include At a Time, On a Room Booking, When Leave is Requested, When a Form is Completed, and On a New Module Entry.
In the workflow step, you only give the agent the Assignment for this Run. The profile and skills are brought by the agent itself.
What the agent is allowed to do without asking is determined by its permissions.
If the agent asks, the people selected in the step receive an approval card. If no one is selected, the person under whom the workflow runs gives approval.
All suggestions of a run come on one card. You check off each entry individually.
Drafts do not start any workflow. Enable the agent first.
When Leave is Requested starts with new requests for leave or flex days that are pending approval. Sick notes and other absences like parental leave do not start a run.
What the agent creates in the workflow carries the label Created by Kai. Emails end with the sentence "This message was created by Kai, the AI assistant from Kibi Connect." This also applies to runs from a mail rule.
More on this in How do I set up a workflow?.
Starting agents from a mail rule#
A filter rule in the mailbox can start an active agent for each matching new mail, for example for invoices from a supplier. How to create the rule is described in How do I read and write emails? under "Give new emails to an agent".
Own conversation: Each run lands in its own Kai conversation with the title Mail: and the subject. You find it under Kai in the Conversations tab.
Each step on a card: What the agent wants to change or send is fully displayed on an approval card. It only happens if you select Yes, Execute. Discard rejects the step. This always applies, even if Without Asking is set in the agent's permissions.
Origin: In the History, these runs are labeled Mail Rule.
Wichtig
The agent reads every matching mail: sender, subject, text, and the names of the attachments. The senders are not aware of this; inform them, for example, in your signature. Do not use for applications, sick notes, or health data. Spam and mails whose sender the mail server could not confirm do not start a run. The agent does not search the web or retrieve web pages.
Supplementing system agents with your own notes#
The platform includes its own agents, such as Knowledge Capture and Qualify Request. In the list, they carry the note System. You cannot change their instructions, but you can supplement them with notes for your company.
Click on the system agent in the list. The Additional Notes window opens.
Write what the agent should consider in your company, for example terms, processes, or the form of the result. Up to 2000 characters are possible.
Click Save. In the list, the agent then shows System · With Notes.
Wichtig
Kai appends the notes to the agent's guideline. If they contradict the guideline, the guideline applies. The notes do not change tools, permissions, or platform rules.
Additional notes are only visible to people who are allowed to manage agents.