> For the complete documentation index, see [llms.txt](https://docs.mikopbx.com/mikopbx/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.mikopbx.com/mikopbx/english/modules/miko/module-a-i-supervisor/quick-start.md).

# Quick Start

Quick start for the Local AI Supervisor module and AI Supervisor Worker

### Before you begin

You will need:

* MikoPBX **2025.1.1** or later;
* an installed and configured transcription module: **Local Transcription** 1.102+ or **Cloud Speech-to-Text** 1.75+;
* an Apple silicon Mac with macOS 14 or later;
* network access from the Mac to the MikoPBX web interface.

{% hint style="info" %}
Local AI Supervisor analyzes completed transcripts. If transcription has not been configured yet, first follow the [Local Transcription quick start](https://docs.mikopbx.com/mikopbx/english/modules/miko/module-local-speech-to-text/quick-start.md) or set up the [Cloud Speech-to-Text module](https://docs.mikopbx.com/mikopbx/english/modules/miko/module-cloud-speech-to-text.md).
{% endhint %}

### Installing the module

1. Open the MikoPBX web interface.
2. Go to **Modules** → **Module Marketplace**.

<figure><img src="https://835495363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZ8acWnNlSalIHQjMFu1%2Fuploads%2Fgit-blob-077c6ead7c0da0da965a81334a88a7d27f7b4532%2FMikoPBXModuleMarketplace.png?alt=media" alt=""><figcaption><p>The "Module Marketplace" section</p></figcaption></figure>

3. Find the **Local AI Supervisor** module and install it.
4. Open the list of installed modules and enable the module.
5. Click the settings button to the right of the module version.

SCREENSHOT: The "Installed modules" section - enabling "Local AI Supervisor" and the button that opens its settings

### Step 1. Select the transcript source

The setup wizard starts when you open the module for the first time.

1. Select the transcription module that will provide transcripts. The source must be in the **Ready** state.
2. Choose from which moment calls are analyzed: **From now**, **Last day**, **Last 7 days**, or **Last 30 days**.
3. Click **Next**.

{% hint style="info" %}
The longer the period, the more calls end up in the queue after the start. For a first look at the module, **Last day** is a convenient choice: results appear quickly, and you can review them right away.
{% endhint %}

SCREENSHOT: Setup wizard - step 1 "Transcript source"

### Step 2. Download the application and create a key

1. Click **Download worker** and install AI Supervisor Worker from the downloaded `.dmg` on the Mac.
2. Click **Generate API key** and copy the key right away: it is shown only once.

Keep the wizard open - once the application connects, the wizard shows the worker status.

SCREENSHOT: Setup wizard - step 2 "Local worker": downloading the application and creating a key

### Setting up AI Supervisor Worker

#### 1. Select the language

Open **AI Supervisor Worker**. On the first screen, select the interface language and click **Continue**. Restart the application if it prompts you to do so after the language change.

<figure><img src="https://835495363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZ8acWnNlSalIHQjMFu1%2Fuploads%2Fgit-blob-f965bbd5ae2a6839a8c0134550c7645b825599c0%2FAIWorkerOBLanguage.png?alt=media" alt=""><figcaption><p>Application language selection</p></figcaption></figure>

#### 2. Connect to MikoPBX

On the connection screen, enter:

* the MikoPBX address in `https://...` or `http://...` format;
* a friendly name for this Mac;
* the access key created in the module setup wizard.

Open **Advanced settings** only if you need to change the worker UID, disable TLS verification, or select a custom PEM CA file. Click **Connect and continue** - the application verifies the address and the key.

<figure><img src="https://835495363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZ8acWnNlSalIHQjMFu1%2Fuploads%2Fgit-blob-d58c602079e33a5255e123ace81fb2236ef1d286%2FAIWorkerOBConnection.png?alt=media" alt=""><figcaption><p>Connecting to MikoPBX</p></figcaption></figure>

#### 3. Prepare local AI

On the **Prepare local analysis** screen, the application checks:

1. the local Ollama runtime;
2. the model selected in MikoPBX;
3. worker readiness.

If Ollama is not installed, click **Install Ollama**. Then click **Prepare and start**: the application downloads the model, registers the Mac in MikoPBX and starts the worker.

{% hint style="warning" %}
The first model download may take a long time. Do not close the application, and make sure the Mac has enough free disk space.
{% endhint %}

<figure><img src="https://835495363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZ8acWnNlSalIHQjMFu1%2Fuploads%2Fgit-blob-9efc683203853ff219eb189580d662eded88657c%2FAIWorkerOBModelPreparation.png?alt=media" alt=""><figcaption><p>Preparing the local model</p></figcaption></figure>

#### 4. Finish the application setup

On the final screen, check the **MikoPBX**, **Local model** and **AI Worker** states.

If necessary, enable:

* **Launch at login** - the application opens automatically when you sign in to macOS;
* **Keep worker running** - the worker resumes on its own after the network is restored or the Mac wakes from sleep.

Click **Open AI Supervisor Worker**.

<figure><img src="https://835495363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZ8acWnNlSalIHQjMFu1%2Fuploads%2Fgit-blob-799190b9d8582f113fefff1378761175adad5da6%2FAIWorkerOBFinal.png?alt=media" alt=""><figcaption><p>Final onboarding screen of the application</p></figcaption></figure>

### Step 3. Finish the wizard in MikoPBX

Return to the MikoPBX web interface. When the application connects, the worker status in the wizard changes to **Connected and online**. Click **Finish setup**.

The wizard shows **Analysis is running**: calls start being imported and analyzed. Click **Go to overview**.

SCREENSHOT: Setup wizard - the final "Analysis is running" screen

{% hint style="info" %}
If the Mac is not ready yet, you can click **Skip, I will connect it later** on step 2. Call import starts right away, and analysis starts once the application is connected. In this case, the access key is created in **Settings** → **Workers**.
{% endhint %}

### Verifying the result

1. In AI Supervisor Worker, open **Overview**: the status should show that the worker is ready for new jobs.

<figure><img src="https://835495363-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FsZ8acWnNlSalIHQjMFu1%2Fuploads%2Fgit-blob-af449d01766ee682a7ce8f142c85fb1c713bac8a%2FAIWorkerStatus.png?alt=media" alt=""><figcaption><p>Overview in AI Supervisor Worker</p></figcaption></figure>

2. In MikoPBX, open **Settings** → **System** → **Processing** and make sure jobs move from **Pending** to **In progress** and **Done**.
3. Open the **Calls** tab and select a processed call to see the analysis result.

SCREENSHOT: The "Calls" tab - the first analyzed call

### What to configure next

* **Settings** → **Call flow** - enable internal call processing, choose the AI result language and the data retention period.
* **Settings** → **AI analysis** - enable additional analysis components and, if needed, select the higher-quality model.
* **Settings** → **Scripts** - define conversation requirements for employees.

All sections are described in detail in [Local AI Supervisor](https://docs.mikopbx.com/mikopbx/english/modules/miko/module-a-i-supervisor.md).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.mikopbx.com/mikopbx/english/modules/miko/module-a-i-supervisor/quick-start.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
