# Typing and reading

> People can type to your coworker and read its answers in the same session as voice: four ways, switched from Settings at any time. Nothing to wire.

Voice stays the default, but sometimes it is the wrong tool: a meeting, an open office, an exact string voice gets wrong (an email address, an order number), or a hearing or speech need. So the people using your app can also **type** to your coworker and **read** its answers. It is the same session, the same agent and the same actions, so anything it can do by voice it can do in text. It is not a chat: there is no thread and no history panel, only the current exchange.

## The four ways

Each side picks its own half, so there are four ways to have a conversation, and a person can switch at any time without losing their place:

- **Talk & listen.** Voice both ways. Sessions start here unless you choose another way for your coworker (below).
- **Type & listen.** They type, and hear the answer.
- **Talk & read.** They talk, and read the answer. Nothing is spoken.
- **Type & read.** Text both ways, with no sound at all.

## How sessions start

Each coworker has its own starting way, set in the portal under **How I talk › Typing**, the same sentence the button uses: *“Sessions start as: You [talk], AI [talks back].”* Tap a word to switch that half. The default is Talk & listen. If the people using your app are mostly somewhere voice is the wrong tool (a meeting, an open office), start it as *You type, AI writes back* and let them switch to voice when they want.

- **A type start never asks for the microphone.** The browser shows no permission prompt until the person switches to talk, and the type bar is ready, with the cursor in it, as soon as they tap the button.
- **A read start is silent.** The greeting arrives as text, and nothing is spoken until the person switches the AI’s half to *talks back*.
- The starting way is only where a session begins: people can still switch at any time. A page reload during a session (with [`resume`](/docs/configuration)) comes back in the way they were using, not the starting one.

## How people switch

The way is a sentence at the top of the button’s Settings panel: *“You [talk], AI [talks back].”* Tapping a word switches that half. The first time a browser gets a session with text that starts in a talk way, the sentence peeks out of the button once and tucks itself into Settings, so people learn where it lives. A session that starts in a type way skips it: the type bar keeps the cursor, and its *Talk instead* already shows the way to voice.

- **Type** turns the microphone off and opens a type bar on the button. Typing never turns the microphone on.
- **Talk** turns the microphone back on. In a type way, the Mic button and the type bar’s *Talk instead* button do the same. In a talk way, the Mic button only mutes.
- **Writes back** stops the voice: replies arrive as text, with nothing spoken. **Talks back** brings the voice back.

The words on the button follow the user’s language, like the rest of its copy (see [Languages](/docs/languages)).

## What shows on screen

One exchange at a time: the person’s last line and the reply to it, joined to the button (above the type bar, or beside the button when they talk). Their next turn replaces it. Text only shows for a side that is using text, so in Type & listen they see their own line but not the spoken answer, and in Talk & read they see the written answer but not their own speech. Turning captions on in Settings shows the whole exchange in every way.

The box is four lines tall. A longer written answer opens at its first line, and the person scrolls the box to read the rest; the page behind it does not move. A spoken answer with captions on follows the voice instead.

## What you wire

Nothing. Your actions, surfaces, elements and cues work the same whether a person talks or types, and so do [Hand mode](/docs/hand-mode) and [confirmations](/docs/control). Don’t build your own text box or chat panel for the coworker: the button already has one, on the same session. You need `@coworkkit/react` 0.1.0-rc.10 or later, and your token route should relay the `/session` response unchanged, as it already does (see [Backends](/docs/backends)): the starting way rides on it as `text.startWay`. Starting in a way other than Talk & listen needs a newer `@coworkkit/react` than 0.1.0-rc.13; an older one starts every session in Talk & listen, whatever you choose. There is no prop for it: the setting lives on the coworker, so you change it without a deploy.

## Limits

- A typed message is at most 1,000 characters; the type bar stops there.
- Messages sent less than a second apart, or more than 20 in a minute, are dropped without a reply. That is a guard against scripts, not a limit a person typing will reach.
- A session costs the same whichever way people use it: it is metered by the minute, like any session (see [Usage](/docs/usage)).

## Voice only

Text is on for every coworker. To keep one voice only, turn off **Let people type and read** in its **How I talk › Typing** card. The button then has no type bar and no way sentence, replies are always spoken, and typed messages are refused. It takes effect on the next session. The switch only ever narrows: if text is off for your account, turning it on does not turn text on.

A coding agent connected to your account can set both with the developer MCP’s `update_config`: `allowText` (`true` or `false`) and `startWay` (`talk-listen`, `type-listen`, `talk-read` or `type-read`). Both are kept in the coworker’s settings history, so you can see who changed them and restore an earlier version (see [Coding agents](/docs/coding-agent)).

The SDK remembers, per browser, that it has shown the sentence’s peek (`coworkkit:way-peek`), so it peeks only once. It is listed on [Browser storage](/docs/browser-storage).
