# AI co-host

Source: https://docs.lightair.app/desktop/control-and-automate/ai-cohost

> Add an AI co-host to your show: an avatar that talks with chat, hears you and can use the computer when asked, within limits Lightair enforces.

In short:
- Choose **Add Object › AI co-host** and pick an avatar. It gets its own voice track in the mixer.
- If the co-host's card says **PiAir isn't installed**, click **Install PiAir…** to install it from Lightair's catalog.
- Give it a brain and a voice: paste a key or sign in to a subscription in **Settings › Connections**, then choose them in **Co-host settings…**.
- **AI drives** lets it use the apps you allow. `⌃⌥⌘K` stops everything from any app.

In the app: Add Object › AI co-host; Settings › AI co-host; Settings › Connections

The AI co-host is an avatar in your scene run by PiAir, Lightair's AI co-host program. It reads
chat from every platform and answers some of it, hears the microphones you choose, speaks on a
mixer track of its own, and moves its avatar's mouth as it talks. When you ask, it can also use
apps on your Mac and zoom the stream's screen capture.

## Add a co-host

1. Select the scene it should appear in.
2. Choose **Add Object › AI co-host**.
3. Pick an avatar: a VRM, Live2D, Inochi2D or PNGtuber model from your avatar library.

The co-host appears in the scene, and a track called **AI co-host** is added to the mixer for its
voice. Adding it is one step you can undo.

You can have several co-hosts in a workspace, but only one is active at a time. Another one shows
**Make active** in its card instead of an on switch.

### Install PiAir

PiAir is installed from Lightair's catalog, like a package. If it isn't installed, the co-host's
card in the Inspector says **PiAir isn't installed** with an **Install PiAir…** button. Click it:
the install screen shows what PiAir will be allowed to do before anything downloads.

## Give it a brain and a voice

The co-host needs an AI model to think with and, to speak, a voice service.

1. Open **Settings › Connections**.
2. Under **AI co-host subscriptions**, click **Sign in** next to a subscription you already have
   (**Claude Pro or Max**, **ChatGPT**, **GitHub Copilot**, **SuperGrok or X Premium**). Or, under
   **AI co-host**, copy an API key from the service's site and click **Paste key**.
3. Select the co-host and click **Co-host settings…** in its card.
4. In **Brain**, choose the **Provider** and the **Model**. Providers that are ready show a ✓.
5. In **Voice**, choose a **Provider** (**Cartesia**, **ElevenLabs**, **Gemini**, **System voice**
   or **None**) and a voice.

Lightair keeps keys and sign-ins in the Keychain and never shows them. The **System voice** is the
Mac's own: free and offline. With **None**, the co-host writes its replies in **Talk** instead of
speaking. The services you use bill your account.

### Its other settings

**Co-host settings…** has a page for each area:

| Page | What's there |
|---|---|
| **Talk** | What it hears and says, and a field to talk to it by typing. |
| **Brain** | The provider and model. |
| **Voice** | The voice, and what moves the avatar's mouth: **Voice data**, **Sound** or **Face tracking**. |
| **Hearing** | The mixer tracks it listens to, what turns speech into words, and **Stop when someone talks**. |
| **Persona** | Its **Name**, its **Personality** in your words, and **Family friendly**. |
| **Behaviour** | **Chattiness** (**Quiet**, **Normal**, **Lively**, **Chatty**) and **Answer chat**. |

In **Hearing**, each track it hears is marked **Me**, **Guest** or **Content**:

- **Me** is your own microphone. Only your words can make it act: use the computer or change
  Lightair.
- **Guest** is someone else talking with it. It answers them, but they can't make it act.
- **Content** is something playing, such as a video or a game. It follows along and may react, but
  never takes it as someone talking to it.

Chat can never make it change Lightair or use the computer.

## Let it use the computer

With **AI drives** on, the co-host can move the pointer, click and type in the apps you allow, and
zoom the stream's screen capture, when you ask it to.

1. Open **Settings › AI co-host**.
2. Under **Computer**, click **Add app** and choose each app it may use.
3. Turn on **AI drives**.

macOS asks for **Input Monitoring** and **Accessibility** the first time. Lightair needs both:
Accessibility to move the pointer, and Input Monitoring so you can always take over. Without Input
Monitoring, it won't let the AI drive.

### What keeps it safe

- It acts only in the apps you allowed, and never in Lightair itself.
- It never types into password fields.
- It asks before anything that quits, deletes, sends or buys. The question appears in its card and
  in **Talk**: choose **Allow** or **Don't**.
- Touching the mouse or keyboard pauses it at once. Its card says **Paused: you're using the mouse
  or keyboard**.
- Pictures of the screen go to its AI provider only while **AI drives** is on, and show only the
  allowed apps' windows. Everything else is black.
- **AI drives** turns itself off when Lightair restarts.

## The kill switch

The kill switch turns **AI drives** off, cuts the co-host's speech and stops whatever it's doing,
from any app. Its keys are `⌃⌥⌘K` until you change them: **Settings › AI
co-host** shows them under **Kill switch**, and **Change** opens **Settings › Shortcuts**, where
the action is **Stop PiAir (kill switch)**.

Lightair Live's Remote on your phone can stop it too.

## AI streamer mode

**AI streamer mode**, in **Settings › AI co-host**, lets PiAir run the stream as an AI VTuber: it
decides what to do next and acts on chat's requests, within a policy Lightair enforces whatever
it's told.

| Mode | For |
|---|---|
| **Off** | The co-host only talks and acts when you ask. |
| **Producer** | Someone is around: risky actions are asked first. |
| **Autonomous** | Nobody is watching: risky actions are refused. |

Switching it on turns **AI drives** on. PiAir asks for permission to act on its own when the mode
starts; **Acting on its own** shows whether it was given, and you take it back in the
**Packages** panel. The policy sets:

- **Chat may open sites**, and the **Allowed sites** it opens, for itself or for chat.
- **Scenes chat may pick**.
- For each allowed app, **Chat may switch to** and **Chat plays**.

The **Action log** lists everything it did or was refused, newest first.

:::caution
Run AI streamer mode on a user account or computer of its own, with no saved passwords or personal
files, signed in only to the accounts it streams with. Anything it can see on screen, chat can try
to talk it into.
:::

## Related

- [Avatars](/desktop/build-your-show/avatars)
- [Global shortcuts](/desktop/control-and-automate/shortcuts)
- [Packages](/desktop/chat-and-widgets/packages)
