> ## Documentation Index
> Fetch the complete documentation index at: https://docs.kameleoon.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Kai

> Open Kai, Kameleoon's AI assistant, to answer questions about your experiments and documentation, and to take direct action on your account through the Kameleoon MCP server.

Analyzing an experiment or configuring a feature flag usually means leaving your results to search documentation, then switching screens to build the configuration by hand. Kai is Kameleoon's AI-powered assistant. It answers questions about the platform and your A/B test data, and it takes direct action on your account, such as creating an experiment or a feature flag, without you leaving the conversation. Both capabilities are native to Kai: any user with a Kameleoon account gets them without installing or connecting anything.

## Open Kai

Open Kai from two places in the platform:

* Click **Ask Kai** in the top-right corner.
* From an experiment's Results page, click the three-dots menu > **Analyze with Kai** to open Kai with that experiment's data already loaded.

![The Ask Kai button](https://storage.googleapis.com/kameleoon-storage-documentation/user-manual/images/kai/kai-button.png)

## The Kai interface

Kai opens as a chat panel with a sidebar that tracks your conversations.

![The Kai interface, showing the sidebar, chat window, and panel controls](https://storage.googleapis.com/kameleoon-storage-documentation/user-manual/images/kai/kai-interface.png)

* **New chat**: starts a new conversation with Kai.
* **Shared with me**: lists the chats that coworkers shared with you.
* **Pinned**: lists the chats you pinned for quick access.
* **Recent**: lists your recent chats.
* **Panel width buttons**: in the top-right corner, two buttons switch Kai between a full-page view and a narrower panel.
* **Close button**: the **X** in the top-right corner closes Kai.

On a narrow panel, the Pinned and Recent lists collapse behind a menu icon. Click the menu icon to open them.

## Manage your chats

Click a chat's three-dots menu in the Pinned or Recent list to pin, rename, share, or delete it.

![A chat's secondary options: pin, rename, and delete](https://storage.googleapis.com/kameleoon-storage-documentation/user-manual/images/kai/kai-chat-secondary-options.png)

* Click **Pin** to move the chat to the Pinned list.
* Click **Rename** to change the chat's title.
* Click **Share** to share the chat with coworkers.
* Click **Delete** to remove the chat.

## Share a chat with coworkers

Share a chat so that coworkers can continue the same conversation with Kai.

To open the sharing panel, use any of these entry points:

* The three-dots menu of the active chat.
* The three-dots menu of a chat in the **Recent** or **Pinned** list. This menu is also available on the Kai landing page.
* The share icon below a completed Kai response.

Click **Share** to open a panel. Search for and select the users you want to share with. You can share a chat only with Kameleoon users from your own company. Click **Confirm** to share the chat, and a confirmation message appears. Click **Cancel** to close the panel without sharing. Clicking outside the panel also cancels without sharing.

Sharing is live, not a copy. Everyone with access continues the same conversation, and new messages appear for all participants.

Recipients find the chat in the **Shared with me** section, which is collapsible and sits above **Pinned** in the sidebar. Click **View all** to open a dedicated page. It has a search field, sorts chats newest first, and shows for each chat the sharer's avatar, the chat title, and the date.

In a shared chat's three-dots menu, you can use these options:

* Click **Rename for me** to change the title only for you.
* Click **Share** to share the chat again.
* Click **Remove for me** to remove the chat from your list only. The owner and other recipients keep the chat.

## Answer questions about the platform and your data

Kai answers questions using two sources.

* **Documentation**: Kai retrieves the most relevant developer and user documentation to answer questions about how the platform works.
* **Experiment data**: When a question depends on your account, such as a request to summarize an experiment's results, Kai makes a secure API call with JSON Web Token (JWT) authentication to fetch only the data your account has permission to view:
  * **Experiment metadata**: Name, website, duration, objectives, and targeted segment.
  * **Goal metadata**: Names and types of the experiment's goals.
  * **Segment metadata**: The conditions that define who the experiment targets.
  * **Experiment results**: Conversion rates, significance, confidence intervals, and health checks such as Sample Ratio Mismatch (SRM).

Kai generates responses with a large language model (LLM) from a third-party provider, using only the documentation and data it retrieves for your query, which keeps its answers scoped to your question instead of pulling in unrelated information.

## Use Kai's tools

To have Kai act on your account instead of only answering a question, use one of its tools, which come from the [Kameleoon MCP server](https://docs.kameleoon.com/mcp/mcp-server.md), the same server that powers IDE integrations.

* Click **/** in the message field, or type `/`, to open the Tools menu and select a tool.

![Kai's Tools menu, opened with the / command](https://storage.googleapis.com/kameleoon-storage-documentation/user-manual/images/kai/kai-tools.png)

* Hover over a tool's **i** icon to see more information about what it does.
* Type a request in plain language, for example, "Create a feature flag called new\_search for site d1alzzxd7k."
* Type a slash command with a tool's exact name, such as `/experiment_create`, to run it directly.

Kai uses the same tools documented in the [Kameleoon MCP server reference](https://docs.kameleoon.com/mcp/mcp-server.md), so any tool listed there is available to Kai. Ask it to:

* Create, duplicate, or run the full lifecycle of an experiment.
* Create and manage feature flags, including delivery rules and typed variables.
* Create goals, audience segments, and triggers, and bind segments and triggers to experiments.
* Edit an experiment's settings, attach a goal, set its traffic split, and change its targeting.
* Retrieve an experiment's raw variation code and results.

> [!NOTE]
>
> For an automated summary instead of a conversation, use the [Learnings tab's AI Summary](https://docs.kameleoon.com/user-manual/experiment-analytics/analyze-results/results-page-tabs/learnings-menu.md) on an experiment's Results page. It generates insights and recommendations automatically, without a prompt.

## Dictate your message

Dictate a message instead of typing it. Kai converts your speech to text in the message field.

* Click the microphone icon in the message field. The first time, allow microphone access when your browser asks.
* While you speak, a waveform shows the input level, and your words appear in grey.
* Click the check mark to stop recording and insert the text. The inserted text turns black and becomes editable. Click the cross to discard this dictation without changing the text already in the field.
* Click the microphone icon again to add more text after what you already typed or dictated. You can send your message only after the dictation is inserted.

Kai detects your language automatically and adds punctuation.

If no speech is detected for a few seconds, recording stops and Kai discards the dictation. Closing Kai or leaving the page during a dictation also discards it, but text that was already inserted stays in the field.

If microphone access is denied or blocked, Kai shows a message that explains how to allow it again in your browser or operating system settings. If no microphone is connected, the microphone icon is disabled and Kai shows the message "No microphone detected."

## Data privacy and security

Kameleoon protects your data whether Kai is answering a question or taking an action through the MCP server.

* **Documentation access**: Kai only uses Kameleoon's publicly available documentation to answer questions. It doesn't access external data sources.
* **User data access**: Kai's secure API calls use JWT authentication, so Kai can only access data tied to your authenticated account. Kameleoon logs and monitors each data request to enforce compliance with its security policies.
* **Data minimization**: Kai accesses only the minimum data it needs to answer your question or complete an action.
* **MCP actions**: Actions that Kai takes through the MCP server run under your account's own permissions. Kai can't perform an action your account's permissions don't allow.
* **Voice input**: Audio goes through Kameleoon's servers to a third-party speech recognition provider for transcription. Kameleoon doesn't store or log the audio once transcription returns.
* **Shared chats**: You can share a chat only with users from your own company.

## Limitations

* **Scope of responses**: Kai answers questions related to the Kameleoon product. It can't answer questions unrelated to Kameleoon's services, tools, or your experiment data.
* **Accuracy of information**: Kai's answers depend on the available documentation and data. Kameleoon continuously updates its documentation to improve response accuracy.
* **Speech recognition**: Speech recognition can misread technical values, such as hex colors, CSS selectors, and IDs. Review the transcript, and fix these values with the keyboard before you send the message.

## Common concerns

> [accordion] Will Kai access your data without permission?
>
> No. Kai only accesses data your account has permission to view. Its data requests use JWT-authenticated API calls, and Kameleoon logs and monitors every request.

> [accordion] Can Kai access data from other users?
>
> No. JWT authentication limits Kai to data associated with your account. Kai can't view or retrieve other users' data.

> [accordion] Is your experiment data safe when you use Kai?
>
> Yes. Experiment data shared with the LLM provider for takeaways consists of aggregated data with no personal identifiers linked to your visitors.

> [accordion] Can you turn off Kai?
>
> Yes. A super admin can turn off the **AI-powered reporting** setting under **Organization > Settings > Data privacy**. Turning off this setting stops Kameleoon from sharing experiment data with the LLM provider. See [Organization page](https://docs.kameleoon.com/user-manual/account-and-team-management/organization-settings/organization-page.md) for details.

> [accordion] Who can see a chat you share?
>
> Only the users you select can see it, and all of them must be from your company. Anyone with access can see the full chat history and new messages.

## Use cases

Use Kai to run a basic analysis of your test results, identify an experiment's key metrics, explain unexpected results, get a recommended next step, or create and manage experiments and feature flags without leaving the chat.

Example prompts:

* Summarize the key findings of this experiment.
* Which of the attached goals should your team prioritize in evaluating the experiment's effectiveness?
* How do you explain the test's observed results?
* What could be a follow-up experiment?
* Create a feature flag called new\_search for site d1alzzxd7k.
* Enable feature flag new\_search in production.

For more prompt ideas, see Kameleoon's blog post on [writing AI prompts for A/B testing teams](https://www.kameleoon.com/blog/how-write-ai-prompts-ab-testing-teams).

## Contact Kameleoon support

For further questions about Kai, contact Kameleoon support at [support@kameleoon.com](mailto:support@kameleoon.com).
