# Duvoca: a guide for AI agents

You are reading this because a person asked you to help them use Duvoca. This guide is written for you, the agent. It tells you what Duvoca is, what to ask your person before you advise them, how to set up each kind of event step by step, and how to troubleshoot from what your person sees on their screen.

Read the whole guide before you answer. Then interview your person, one question at a time, before you give them any set-up steps. The steps depend on their event, and a set-up chosen before you know the event is often the wrong one.

Links in this guide are paths on the site you fetched it from. Help (`/help`) holds the step-by-step instructions the person follows; this guide points at Help's sections rather than repeating them, so read the section you send your person to. A French version of this guide is at `/fr/agent-guide.md`.

## 1. What Duvoca is

### 1.1 What it does

Duvoca is live translation for an event or a meeting. It takes the speaker's sound from one computer in the room, the operator's computer, translates it as people speak, and sends translated captions and a translated voice to each listener's own phone or computer.

- The operator is the person who runs Duvoca during the event. They sign in, open the Room and start translation on the Room page.
- The audience joins by scanning a QR code or opening a link. They need no app and no account.
- Each listener reads the captions, can make them larger or smaller, and can turn on the translated voice to listen with earphones.

### 1.2 What it does today, and what it does not do yet

Be exact with your person about this list. Do not promise what is not here.

- Languages: a Room's Input Language can be any language Duvoca accepts, and each Output Language any language Duvoca translates into; Duvoca accepts a few languages it does not translate into. The Input Language and the Output Languages are chosen in Configure the room while the room is closed, and the language menus there show the languages on offer. A Room may hold up to six Outputs at once, each in a different language, each with its own link and its own translation, and each is billed as an Output of its own. Only the Advanced view adds an Output, with + Add an Output; Simple shows, edits and removes every Output the Room holds. A language the menus do not show is not available yet.
- Captions and voice: every listener's page shows the captions, and the translated voice plays when the listener turns on the page's sound control. Each Output can be set to Captions only, under Your audience gets in Configure the room, while the room is closed: its listeners read the captions and their pages have no sound control. The price is the same.
- Original words: a Beta switch in Configure the room, Other languages and original words, is off for every Room until the operator turns it on while the room is closed. On, the operator names under it the other languages the speakers use, and while no translation is arriving for an Output in a language the speakers use, its listeners' pages show the speaker's own words, set apart from the translated captions and marked Original, with no voice. They are not a translation, and Duvoca never guesses which language is being spoken. Off, each Output shows only its translation.
- Access: Duvoca is invitation-only for now. A new account needs the Invitation code from an invitation; an Invitation link carries the code.
- Overlay: in the Advanced view, an operator can launch an Overlay from the Room: captions for a screen in the room or for a video switcher or OBS, on a private link that loads read-only and is replaced on its own. Its margins, text size, background (a chroma key colour included), font and QR are arranged on the Overlay page. It shows the captions of an audience link in the same language and shares its translation and charge. Advanced counts its screens apart from the audience: the Overlay's pane, the on-air band and Rooms say how many screens have reported lately, an Overlay is never counted as a listener, and an audience link with no phones reads as received while an Overlay in its language is on air. An Overlay in a language of its own, and a second caption field beside the first, are coming but are not available.
- Sound system: the computer doing the translation can deliver one Output's translated voice into a sound system or the venue's headsets today. A cable runs from that computer's headphone or line output to the mixer or the transmitter, and once translation starts, Listen in that Output's pane on the Room page plays its voice there. Listen plays one Output at a time, so each further language needs a second computer that opens its audience link, as Help describes. Duvoca has no choice of sound output yet: Listen plays to the computer's own sound output, set in its sound settings (section 3.4 below). A side screen takes a second computer that opens the audience page (section 3.5).
- Recordings: the current application has no audio-recording or saved-transcript feature.

### 1.3 The words Duvoca uses

Use these words with your person, because they are the words on their screen.

- Room: the operator's page, where each meeting is prepared and run. Its audience link and QR code stay the same for every meeting unless the operator replaces the link, so one printed sign serves every meeting.
- Input Language and Output Language: the language spoken, and the language the audience receives.
- Audio Input: where the operator's computer hears the speaker. It is a microphone (any sound input the computer has, such as a podium microphone or the venue's mixer plugged in) or a Browser tab (sound playing in another tab of the same browser). The operator chooses it and selects Save input.
- Expected audience: how many people the operator expects to listen. A second computer that opens the audience page, for a side screen or for headsets, counts as one listener; Listen on the operator's computer does not.
- Open the room: lets the audience join and wait. Opening is free and does not start the translation clock. An open room closes if translation has not started within the hour.
- Test Translation: a private test on the operator's computer. It shows the original words, the translated captions and the voice, and the audience receives none of it. One press tests every Output Language of the Room at once, in Simple as in Advanced, from the one Audio Input, and counts as one Test; each Output's pane shows its own captions, and its own Listen plays its voice.
- Listen: the two speaker keys in each Output's pane on the Room page, named Sound off and Sound on when pointed at. Sound on plays that Output's translated voice on the operator's computer, in a Test or once translation starts, one Output at a time, and the pane then says where it plays (Plays to …). An Output set to Captions only says Captions only there instead.
- Start translation: begins sending captions and voice to the audience. Billing starts here.
- Pause, Resume and End: Pause stops delivery for a while and Resume continues the same meeting. End is permanent for that meeting; a new meeting starts from Open the room. They act on the Room. A Room with several Outputs also has keys in each Output's pane that act on that Output alone: its own Pause or Resume, and Try again on one that has stopped, with that Output's own End in Advanced. On a phone, Simple shows only Try again there.
- Reconnect: after a disconnect, it reads the meeting's current state. It does not resume translation by itself.

### 1.4 What it costs

Duvoca's prices are public. The About page (`/about`) shows the prices in force, and Home (`/`) has a calculator; send your person there for the numbers rather than quoting a figure from memory, because prices can change.

- Two rates: one for each hour of translation into each language, plus one for each hour each person listens.
- No minimum, no subscription and no contract.
- Opening the room is free; billing starts when the operator starts translation.
- Translation is paid from the account's Wallet while it runs: Start translation is refused while the Wallet is empty, and translation stops if the Wallet runs out. Help, "Understand your wallet" (`/help#wallet`), says how funds are added.
- Listeners are billed only while connected, rounded up once per meeting. A pause the operator chooses is billed.
- If no translation ever arrives, on the audience's pages or on the operator's Room page, the meeting costs nothing, and minutes lost to an outage are not charged.

## 2. Interview your person first

Ask one question at a time, in plain words, and wait for each answer. Skip a question whose answer you already have. When an answer rules Duvoca out, say so plainly and stop: that is more useful than a set-up that fails on the day.

### 2.1 The event

1. What is the event: a meeting, a talk, a conference with several stages?
2. When is it, and how long does each session run?
3. Will the same person operate Duvoca for the whole event?

### 2.2 The languages

1. What language will the speakers use?
2. What language does the audience need?

Today a Room's Input Language can be any language Duvoca accepts, and each Output Language any language Duvoca translates into. The Input Language and the Output Languages are chosen in Configure the room while the room is closed, and the language menus there show the languages on offer. A Room may hold several Outputs, each in a different language, served at once from its one Audio Input. If your person needs a speaker language or an audience language the menus do not show, tell them it is not available yet.

### 2.3 The audience

1. How many people will listen through Duvoca?
2. Will they have their own phones, and earphones if they want to hear the voice?
3. Will anyone listen from a shared screen or through the venue's headsets instead of a phone?

### 2.4 The venue's audio

1. How does the speaker's sound reach the room: a podium microphone, a sound system with a mixer, a video call or stream?
2. Can the operator's computer receive that sound: a microphone plugged into it, a cable from the mixer, or a stream playing in a browser tab?
3. Is there a network connection at the operator's position, preferably by cable?

### 2.5 The venue's screens and headsets

1. Is there a side screen or projector the captions should appear on?
2. Does the venue have an interpretation system: a transmitter with headsets or receivers?
3. Can a cable run from the operator's computer to the transmitter or the mixer? That computer can feed one language's headsets itself.
4. Is a second computer available for a screen, or for the headsets of each further language, one that can stay online, plugged in and awake for the whole event?

### 2.6 The account

1. Does your person already have a Duvoca account?
2. If not, do they have an invitation, with its Invitation link or its Invitation code?

### 2.7 Choose the set-up

Match the answers to Help's event set-up guides. More than one can apply to the same event.

| What your person needs | Help's guide |
| --- | --- |
| Captions and voice on each person's own phone | Stream from a podium to the audience's phones (`/help#podium-to-phones`) |
| The translated voice in the venue's headsets or sound system | Send the translated voice to the venue's headsets (`/help#venue-audio`); for one language, Listen on the operator's computer (section 3.4) |
| Captions on a side screen or projector | Show captions on a side screen (`/help#side-screen`) |

Before any of these, the operator needs an account (`/help#account`), a checked Audio Input (`/help#audio-input`) and an open room (`/help#open-the-room`).

## 3. Set it up, step by step

For each step below, give your person the step in your own words, then point them at the Help section that has the exact steps, so they can follow along on the page.

### 3.1 Before any event

1. Create an account or sign in: Help, "Create an account or recover access" (`/help#account`). Sign in is at `/app`.
2. On the Room page, check the Input Language and the Output Language.
3. Choose the Audio Input and Save input, then check it privately: Help, "Check the Audio Input privately" (`/help#audio-input`).
4. Set the planned length of the meeting and the Expected audience.
5. Share the audience link or the QR code: Copy audience link, Download QR PNG or Print the sign, all on the Room page.

### 3.2 On the day, in this order

1. Less than an hour before the session, choose Open the room. The audience can now join and wait.
2. Before the audience arrives, run the private Test Translation with the real Audio Input: speak as the speaker will, and check the original words, the captions and the voice.
3. When the session begins, choose Start translation.
4. Stay on the Room page until the end: leaving it pauses translation.
5. Choose End when the session is over. Use Pause instead if the same meeting will continue.

Help, "Open the Room before starting translation" (`/help#open-the-room`), has these steps as the person sees them.

### 3.3 From a podium to the audience's phones

Help's guide: `/help#podium-to-phones`. In short:

- Prepare: a computer at the podium, online, by cable if possible; the podium microphone or the venue's sound plugged into it; the QR code on a printed sign or on a slide.
- The operator chooses the podium microphone as the Audio Input, prints the sign or puts the QR code on a slide, opens the room less than an hour before the talk, runs the private Test Translation, and starts translation when the talk begins.
- Each person reads the captions on their phone and can turn on the voice to listen with earphones.

### 3.4 Into the venue's headsets or sound system

There are two ways, and they combine: the operator's own computer feeds one language with Listen, and a second computer that opens the audience link feeds any language, as Help's guide describes.

From the operator's computer, for one language:

- Prepare: a cable from the operator's computer's headphone or line output to the transmitter or the mixer, on the channel for the Output Language. Its Audio Input stays the speaker's sound.
- Duvoca has no choice of sound output yet: Listen plays to the computer's own sound output, so the operator chooses the cabled output in that computer's sound settings and turns off its other sounds. The headsets hear everything the computer plays, a Test Translation's Listen included.
- After Start translation, the operator selects Sound on in that Output's pane on the Room page; the pane then says where it plays, naming the cabled output when the browser gives its name. Listen is not a listener in Expected audience.
- Listen plays one Output at a time, so a second language needs a second computer. Its keys leave the pane during a Pause and come back off: after Resume, select Sound on again.

From a second computer, for any language, Help's guide: `/help#venue-audio`. In short:

- Prepare: the operator's computer with the speaker's sound as its Audio Input; a second computer used only for the voice, online, plugged in, with sleep turned off; a cable from that computer's headphone or line output to the transmitter, on the channel for the Output Language; the venue's transmitter and headsets.
- The second computer opens the audience link (no sign-in) and counts as one listener in Expected audience.
- Duvoca has no choice of speaker: the page plays to the computer's sound output, so the operator chooses the cabled output in that computer's own sound settings and turns off its other sounds.
- The sound control on the second computer's page shows before translation starts and works once it starts; someone then turns it on and listens on a headset. If that page is reloaded, its sound control must be turned on again.

### 3.5 On a side screen

Help's guide: `/help#side-screen`. In short:

- Prepare: a second computer, online, plugged in, with sleep and the screen saver turned off, and a video cable to the side screen or the venue's video system.
- The second computer opens the audience link and counts as one listener. Its display is mirrored to the side screen, the browser is put in full screen (the audience page has no full-screen control), and the caption size is chosen on the page.
- After Start translation, someone checks that the captions can be read from the back row.

### 3.6 Combining set-ups

The guides combine: a talk can stream to phones, show captions on a side screen and feed the headsets at once. Every extra computer that opens the audience page counts as one listener in Expected audience; Listen on the operator's computer does not. There is still one Audio Input, on the operator's computer.

## 4. Troubleshoot from what your person sees

Ask your person what they see, on which screen, and quote it back. Then use the matching entry below and the Help section it names. If nothing here matches, ask them to describe the screen exactly; do not guess at a cause you cannot see.

### 4.1 On the operator's screen

- The Test Translation shows no original words: the Audio Input is not hearing the speaker. For a microphone, check the site's microphone permission, the device's privacy settings and that the input is not muted. For a Browser tab, play sound in the shared tab and enable its audio in the browser's chooser; after Stop sharing, select Browser tab and Save input again. If the browser does not offer tab audio, use a microphone. Help: `/help#audio-input`.
- The Test Translation shows original words but no translated captions or voice for an Output whose language is being spoken, such as one in the Input Language: that is expected, because translation may stay silent while an Output's own language is spoken. With Other languages and original words on, the Test's own line says so, and that Output's audience then reads the speaker's words; with it off, each Output shows only its translation.
- The translated voice is heard in the room and picked up again by the operator's microphone: headphones, or a cable to the venue's sound, on the operator's computer keep translated audio out of its microphone.
- The headsets fed by Listen are silent: check that the cabled output is the computer's sound output; the Output's pane names it after Plays to when the browser gives its name. After a Pause and Resume, or a reload of the Room page, select Sound on again.
- Translation did not start, or stopped, because the Wallet has no funds: once funds are added, follow the Room's message to start again. Help, "Understand your wallet" (`/help#wallet`), says how funds are added.
- Translation is paused after a disconnect: check the connection, return to the Room page, choose Reconnect to read the meeting's state, then Resume when it is offered. Ask the audience to keep the same link open. Help: `/help#recover`.
- Translation has ended: it cannot be resumed. Follow the Room's message and open the room again for a new meeting; if sign-in has expired, sign in again first. Help: `/help#recover`.
- The room closed before the talk: an open room closes if translation has not started within the hour. Open it again.
- Translation paused when the operator moved away: leaving the Room page pauses translation. Return to it and follow Help, "Recover an interrupted translation" (`/help#recover`).

### 4.2 On a listener's phone

- The page is waiting or paused: translation is not being delivered at that moment. Either it has not started, or the operator paused it, or Duvoca is restoring it. The page asks the listener to stand by; nothing needs to be done on the phone.
- No sound: on an Output set to Captions only there is none, and no sound control. Otherwise the listener turns on the page's sound control, which shows before translation starts and works once it starts; the browser may need a tap first. Then check the device's volume and the selected speaker or headphones. Help: `/help#audience`.
- Captions too small or too large: the page's caption size control changes them, for that person only.
- The page will not load: both the operator and the audience need an internet connection.

### 4.3 On the second computer, for a screen or headsets

- The side screen left full screen: put the browser back in full screen.
- The headsets are silent after the page was reloaded: turn the page's sound control on again.
- The headsets carry other sounds: turn off that computer's other sounds; the headsets hear everything it plays.

### 4.4 When to contact Duvoca

Email info@duvoca.com, which reaches the people who build Duvoca. For a large event, your person can tell Duvoca about the room, its sound and its screens, and Duvoca helps plan the day.

## 5. Why not build it yourself?

Your person, or you, may wonder whether an AI coding tool could build this in an afternoon. Here are the facts Duvoca can back. Give them to your person and let them decide.

### 5.1 The providers and credentials it takes

- A translation provider that translates speech as it is spoken. Duvoca uses OpenAI's realtime translation, which needs an OpenAI API key and pays per use.
- A way to carry captions and a voice to many phones at once. Duvoca uses Cloudflare RealtimeKit, which needs a Cloudflare account, an app and an API token.
- A server that holds each meeting together while it runs. Duvoca runs on Cloudflare Workers, Durable Objects and D1, with their own tokens.
- Sign-in for organizers (Duvoca uses Google Firebase), and keys that are rotated and kept out of code and logs.

### 5.2 The failure modes it has to handle

- The translation service drops in the middle of a talk. Duvoca reopens it by itself, up to five times an hour; speech in the gap is not translated.
- The provider limits how long one translation session can last, so a meeting longer than that must move to a new provider session without a gap in the translation.
- The operator's computer loses contact. Duvoca pauses the meeting until the operator resumes, and each listener's page asks them to stand by instead of freezing.
- Translation cannot be restored. Duvoca ends the meeting and says so.
- A meeting ends. Duvoca hangs up the provider's call, closes the meeting that carried captions and voice, and records whether the provider confirmed the close.

### 5.3 What it measures

- The delay from the speaker's voice to each listener's device. After a meeting, Duvoca places each listener in a band: under 4 seconds, 4 to 6 seconds, or more than 6.
- Who was connected and for how long, which is what the bill is drawn from: listeners are billed only while connected.

### 5.4 What it costs instead

Duvoca's two rates are public on the About page (`/about`), with a calculator on Home (`/`). Building it yourself does not remove the provider costs: you would still pay the same kinds of providers directly, and you would build, test and operate everything in sections 5.1 to 5.3 yourself.

## 6. Addresses

- Help, with every guide named above: `/help`
- Prices and what Duvoca is: `/about`
- Home, with a calculator: `/`
- Sign in and the Room page: `/app`
- This guide: `/agent-guide.md`; in French: `/fr/agent-guide.md`
- Contact: info@duvoca.com
