Open-source Grok Bot alternative with a virtual machine that bots can use
TypeScript ai-agentsclaude-codecodexcomputer-usedockerelectrongrokgrok-botgrok-bot-alternativeself-hostedtypescript
Docs: Take turns and dictation work off the Mac through Fish Audio
aivsomkar2f88c0980f0a
diff --git a/README.md b/README.mdindex 50140729a8..1c6526756d 100644--- a/README.md+++ b/README.md@@ -230,8 +230,8 @@ audio for spoken replies and calls. Language is detected automatically from thequality varies outside xAI’s [officially supported languages](https://docs.x.ai/developers/model-capabilities/audio/text-to-speech).This adds speech synthesis to the existing call flow; microphone transcription remains unchanged.-**Also in the box:** streaming replies with tool-run activity chips · native macOS dictation from the-composer mic (on-device Apple speech recognition — desktop app) · SupaMaus cursor mascots with role-aware+**Also in the box:** streaming replies with tool-run activity chips · dictation from the+composer mic (on-device Apple speech recognition on macOS, Fish Audio speech-to-text on Windows and Linux, in the desktop app) · SupaMaus cursor mascots with role-awareexpressions · screenshots of the bot's work folded into the transcript.## Powered By@@ -372,6 +372,7 @@ pnpm package:linux # Ubuntu x64: .deb + AppImage + verified CUA runtime| Explicit preview-only local screen capture | Supported | Beta | Beta || Bot control of this computer | Supported | Beta, explicit opt-in | Disabled: Wayland safety gate || Native on-device dictation | Supported | Planned | Planned |+| Dictation and Take turns calls through Fish Audio (needs a Fish Audio key) | Not used, on-device instead | Supported | Supported |The Linux preview is user-initiated and never enables local bot control or Auto routing. On Xorg, the reviewed CuaDriver 0.19.3 runtime starts only after explicit opt-in and without its full-screen cursor overlay. On Wayland the@@ -449,8 +450,7 @@ Early but real — the loop works end to end: message → agent → streamed repcomputer use. macOS, Windows, and Ubuntu 24.04 x64 have released builds; Ubuntu remains a beta with thecapability limits above. Rough edges to expect: hosted/mobile connectivity is still being built, and webhooktriggers currently use the local receiver rather than an always-on hosted relay.-Hosted voice needs an ElevenLabs, Fish Audio, or xAI key; built-in Mac and local Chatterbox voices need no cloud key. Calls are macOS-only for now (they ride the same on-device dictation as-the composer mic) — see [`docs/voice-mode.md`](docs/voice-mode.md) for the design and the known gaps.+Hosted voice needs an ElevenLabs, Fish Audio, or xAI key; built-in Mac and local Chatterbox voices need no cloud key. Take-turns calls and the composer mic listen on-device on macOS and through Fish Audio speech-to-text on Windows and Linux (the same Fish Audio key as voices). See [`docs/voice-mode.md`](docs/voice-mode.md) for the design and the known gaps.Contributions welcome — the driver SPI in [`server/contracts.ts`](server/contracts.ts) is deliberatelysmall; adding a provider is one file in [`server/drivers/`](server/drivers/) plus a one-line registration.diff --git a/apps/docs/content/docs/features/index.mdx b/apps/docs/content/docs/features/index.mdxindex 3c43a9c564..5672349af8 100644--- a/apps/docs/content/docs/features/index.mdx+++ b/apps/docs/content/docs/features/index.mdx@@ -37,7 +37,7 @@ OpenMausBot turns agent CLIs into a messaging-style workspace. The harness norma## Voice and access- Spoken replies and per-bot voices through ElevenLabs, Fish Audio, built-in Mac voices, or Chatterbox-- Native macOS dictation and half-duplex call mode+- Dictation and half-duplex call mode: native on macOS, through Fish Audio speech-to-text on Windows and Linux- Paired iOS companion with chat, approvals, search, transcript controls, and opt-in computer viewing## Desktop experiencediff --git a/apps/docs/content/docs/features/voice-and-memory.mdx b/apps/docs/content/docs/features/voice-and-memory.mdxindex 173b579a59..2801b6cf26 100644--- a/apps/docs/content/docs/features/voice-and-memory.mdx+++ b/apps/docs/content/docs/features/voice-and-memory.mdx@@ -45,7 +45,7 @@ The audio itself is an mp3 file in the attachments directory on your computer, w## Call mode-On macOS, call mode combines native on-device speech recognition with the configured voice. It is deliberately half-duplex: the microphone pauses while the bot speaks to prevent the app from transcribing its own audio.+Call mode combines speech recognition with the configured voice. On macOS the recognition is native and on-device. On Windows and Linux it is Fish Audio speech-to-text, which needs a Fish Audio key. Call mode is deliberately half-duplex: the microphone pauses while the bot speaks to prevent the app from transcribing its own audio.Tool progress and approval requests can be narrated during a call so long-running work does not sound disconnected.@@ -53,7 +53,7 @@ Tool progress and approval requests can be narrated during a call so long-runninOn the desktop, the call button starts the kind of call you picked last; the arrow next to it picks **Take turns** or **Live** and starts that call.-- **Take turns** is the call described above: on-device listening, the bot's own voice, one side talks at a time. It needs the macOS app on This computer.+- **Take turns** is the call described above: the bot's own voice, one side talks at a time. It works in the desktop app on This computer. On a Mac it listens on-device. On Windows and Linux it listens through Fish Audio, so it needs a Fish Audio key in **Settings → API keys**; until one is saved, **Take turns** is off and says so. Each turn's recorded clip, with the silence trimmed, goes to Fish Audio to be turned into text, and the bot still answers in its own voice. Fish Audio has no live talking model, so **Live** stays on OpenAI or Azure.- **Live** runs the conversation through [OpenAI GPT-Live](https://developers.openai.com/api/docs/guides/live). You can talk over it and interrupt at any time. It works on the desktop, iPhone and Android.A Live call keeps the chat open: a call bar above the composer shows the call time and a caption of what the voice says, with a settings gear, **Mute** and **Hang up**. On the desktop, Cmd+Shift+M mutes or unmutes and Cmd+Shift+H hangs up (Ctrl+Shift+M and Ctrl+Shift+H on Windows and Linux).@@ -68,7 +68,7 @@ A message typed during a call is answered by the bot, and the voice reads that aA Live call hangs up after 5 minutes in which nobody speaks and the bot is not working (the gear changes the minutes). It drops if its audio does not connect within 20 seconds, and on a phone it ends when you switch away from the app or lock the phone. It also ends at once when the phone that started it is unpaired, or the sign-in that started it is signed out or revoked. Voice notes do not play while you are on a Live call.-Live calls are free for everyone, from the desktop app, a web browser or your phone; no plan is needed. They use your own OpenAI API key, from a project with GPT-Live access: the OpenAI key in **Settings → API keys**, or a separate key for Live calls set from the call's settings, which wins when both are saved. Without a key, the **Live** button says "Live calls use your own OpenAI key. Add it in Settings → API keys." and offers **Open API keys**; a phone shows the same message, since keys are added on your computer. The key stays where you saved it, on This computer or on My Cloud; phones never receive it. OpenAI bills Live audio at about $0.05 per minute; the bot's own work is billed as usual. Live calls work in any desktop build with a microphone (no on-device dictation needed), and are for one bot at a time. Room calls always take turns.+Live calls are free for everyone, from the desktop app, a web browser or your phone; no plan is needed. They use your own OpenAI API key, from a project with GPT-Live access: the OpenAI key in **Settings → API keys**, or a separate key for Live calls set from the call's settings, which wins when both are saved. Without a key, the **Live** button says "Live calls use your own OpenAI key. Add it in Settings → API keys." and offers **Open API keys**; a phone shows the same message, since keys are added on your computer. The key stays where you saved it, on This computer or on My Cloud; phones never receive it. OpenAI bills Live audio at about $0.05 per minute; the bot's own work is billed as usual. Live calls work in any desktop build with a microphone (no speech-to-text needed), and are for one bot at a time. Room calls always take turns.**Live calls through Azure OpenAI.** If your organisation runs OpenAI models on Azure, a Live call can use a GPT-Live deployment on your own Azure OpenAI or Microsoft Foundry resource instead of OpenAI. Deploy `gpt-live-1` on the resource, then in the call's settings (or the prompt the **Live** button shows when a call is not set up) choose **Azure OpenAI** as the **Service**, paste the resource endpoint (for example `https://my-resource.openai.azure.com`) and the deployment name (empty means `gpt-live-1`), and add a key of that resource. Azure bills the call to that resource. The OpenAI API key is never used for Azure. A saved Live key goes only to the service it was saved for and, on Azure, to that endpoint's host: changing the **Service** or the endpoint's host asks for the key again, even if you change it back. Calls go only to an `https` address on `*.openai.azure.com`, `*.services.ai.azure.com`, `*.cognitiveservices.azure.com`, `*.openai.azure.us`, `*.openai.azure.cn` or `*.azure-api.net` (API Management); any other address is refused, and so is a redirect. On a server you can set the same thing with `OMB_LIVE_PROVIDER=azure`, `OMB_AZURE_OPENAI_LIVE_ENDPOINT`, `OMB_AZURE_OPENAI_LIVE_DEPLOYMENT` and `OMB_OPENAI_LIVE_KEY` (the resource key); set together there, the key belongs to that endpoint. With Azure, everything below that goes to OpenAI goes to your Azure resource instead.@@ -78,7 +78,7 @@ Live calls are free for everyone, from the desktop app, a web browser or your ph## Dictation-The composer microphone uses Apple's local speech recognition in the macOS desktop build. Linux and Windows dictation are not currently shipped.+On macOS, the composer microphone uses Apple's local speech recognition. On Windows and Linux it uses Fish Audio speech-to-text with the Fish Audio key you saved for voices. Click the microphone to start and click it again to stop. The clip is sent to Fish Audio when you stop, with the silence trimmed, and the text lands in the composer. The microphone is hidden until a Fish Audio key is saved. A server's page in a browser has no dictation.## Memorydiff --git a/apps/docs/content/docs/self-hosting/index.mdx b/apps/docs/content/docs/self-hosting/index.mdxindex 6f5a569994..43c06d8562 100644--- a/apps/docs/content/docs/self-hosting/index.mdx+++ b/apps/docs/content/docs/self-hosting/index.mdx@@ -25,7 +25,7 @@ Self-hosting OpenMausBot does not self-host every optional provider:- Agent providers authenticate and bill through their own CLI or API.- Composio owns connected-app OAuth grants unless you replace that integration.- Boat owns managed cloud computers.-- ElevenLabs or Fish Audio synthesizes speech when its hosted voice engine is enabled.+- ElevenLabs or Fish Audio synthesizes speech when its hosted voice engine is enabled. On Windows and Linux, Fish Audio also turns what you say into text for Take turns calls and dictation.These services are optional. Local chat through a locally installed agent CLI does not require them.diff --git a/docs/cloud-pro.md b/docs/cloud-pro.mdindex 5a387cad29..6c37a5249b 100644--- a/docs/cloud-pro.md+++ b/docs/cloud-pro.md@@ -453,8 +453,9 @@ the Cloud's address.browser's call shows in other windows' call bars as "Ada is on a Live callfrom a web browser". The phone apps show a client they don't know as"another device".-- **Take turns stays on the Mac.** Take-turns calls listen with the Mac app's- on-device speech recognition, which a Cloud's page can't use. On a Cloud,+- **Take turns stays on This computer.** Take-turns calls listen in the+ desktop app (on-device on a Mac, through Fish Audio on Windows and Linux),+ which a Cloud's page can't use. On a Cloud,the call with one bot is a Live call, and a room has no call(`effectiveCallMode` in `src/lib/call-mode.ts`, `GroupCallButton`).diff --git a/docs/desktop-companion.md b/docs/desktop-companion.mdindex 0ac6be6be4..4813251f5d 100644--- a/docs/desktop-companion.md+++ b/docs/desktop-companion.md@@ -51,7 +51,7 @@ The client Calendar supports scheduled routines end to end: create, edit, move,The remote Computer panel includes the host panel's per-agent **Scheduled tasks** card. It lists that agent's next routines and active run, opens the full schedule view, and creates a new schedule already assigned to the agent.-A Mac remote client supports dictation and live calls against any host: Apple Speech runs locally on the Mac, and only the transcript crosses the paired connection. When a Mac client selects a built-in system voice, reply speech is synthesized and played locally on that Mac; ElevenLabs and Fish Audio reply audio is synthesized by the host and relayed byte for byte. A Windows remote client still needs a future Windows speech-to-text implementation for microphone input.+A Mac remote client supports dictation and live calls against any host: Apple Speech runs locally on the Mac, and only the transcript crosses the paired connection. When a Mac client selects a built-in system voice, reply speech is synthesized and played locally on that Mac; ElevenLabs and Fish Audio reply audio is synthesized by the host and relayed byte for byte. A Windows or Linux desktop listens through Fish Audio speech-to-text with its own saved Fish Audio key; a remote client's page has no dictation.Voice-note attachments stream through the same relay: the mp3 serving route is on the companion allowlist, the audio crosses byte for byte, and `Range` requests are forwarded so a player can seek inside a clip without re-downloading it.diff --git a/docs/linux-desktop.md b/docs/linux-desktop.mdindex efccb48ef3..e199a57e52 100644--- a/docs/linux-desktop.md+++ b/docs/linux-desktop.md@@ -21,7 +21,7 @@ of Linux desktop on your own server instead of this machine, see [byo-vps.md](byThe local preview does **not** give the bot control of this computer by itself. On Xorg, local control requires boththe global **Enable local control** choice and assigning a bot to **This computer**; every action still enters theapproval flow. On Wayland, local control is disabled and legacy opt-ins are cleared automatically. Automatic Wayland-helper installation, Linux dictation, and ARM64 remain unavailable and fail closed; follow their+helper installation, native on-device dictation, and ARM64 remain unavailable and fail closed; follow theirprogress in [issue #29](https://github.com/milind-soni/OpenMausBot/issues/29) and the safety hold in[issue #345](https://github.com/milind-soni/OpenMausBot/issues/345). BundledCUA supply-chain work is tracked in [issue #113](https://github.com/milind-soni/OpenMausBot/issues/113). Xorg is tracked indiff --git a/docs/voice-mode.md b/docs/voice-mode.mdindex fbb3160d28..c14f3e8723 100644--- a/docs/voice-mode.md+++ b/docs/voice-mode.md@@ -94,10 +94,14 @@ hand real work to specialists with `coordinate_bots` — no new machinery requir## Known gaps-- **Take-turns calls are macOS-only**, because dictation is. The voice half- works everywhere. Live calls (GPT-Live, `server/live-call.ts`) need no- dictation, so they work in the desktop app on any computer and on the- phones, with the person's own OpenAI key. A Cloud's page, in a web browser+- **Take-turns calls listen differently off the Mac.** On macOS the dictation+ helper listens on-device. On Windows and Linux the page records the mic+ (`src/lib/fish-speech.ts`) and `POST /api/tts/transcribe` sends each turn's+ clip, silence trimmed, to Fish Audio speech-to-text with the saved Fish key.+ Without that key Take turns is off. The voice half works everywhere. Live+ calls (GPT-Live, `server/live-call.ts`) need no dictation, so they work in+ the desktop app on any computer and on the phones, with the person's own+ OpenAI key. Fish Audio has no talking model, so Live stays OpenAI or Azure. A Cloud's page, in a web browseror the desktop app, runs the same code, but no Live call has been made endto end on a real Cloud yet.- **Rooms don't speak yet**, though per-bot voices already exist (`bot.voice`).