Skip to content
Projetos

Sobre

Run voice AI locally with open-source models. Bring it to any device with one command.

IA e aprendizado de máquina

Como estes números são medidos

Crescimento medido de estrelas

em 24 h
0
em 7 dias
0
em 15 dias
0
em 1 mês
Coletando histórico

Variações líquidas em períodos sobrepostos, não totais diários. Medições ausentes ficam em branco. Estrelas indicam interesse, não qualidade.

README.md

Original

Boubou toucan logo

Boubou

Talk with AI out loud, on your own machine.
Open voice models. One command. No account.

Website Discord X

runboubou.com · Models · Phones and robots

Boubou — Talk to AI. Keep it on your machine. Open models. One command. A natural conversation.

Quick start

npx boubou@beta

Apple Silicon Mac with macOS 13.3+ and Node.js 18+. Allow microphone access, then speak.

  1. One command. npx boubou@beta opens Boubou in your terminal.

  2. Voices that fit your Mac. Boubou checks the chip, memory and free disk, and lists only the voices this Mac can run.

  3. Pick a language and a voice. On runboubou.com/models, open a model, choose a language and a voice, and copy the command the page writes. Boubou sets up the rest: what hears, what thinks and what speaks. Each page says which Mac it needs.

    npx boubou@beta run qwen3-tts:0.6b-customvoice --voice ono_anna
    
  4. Talk from a phone or a robot. serve shares the voice: a phone scans a QR code, a robot or app takes an address and a port. Guides with pictures

    npx boubou@beta serve qwen3-tts:0.6b-customvoice
    

Run boubou, choose a local model, speak, hear a reply, and interrupt by speaking again. An illustrative terminal workflow.

Illustrative conversation; setup time condensed.
Esc pause · Enter resume · Ctrl+C quit

Linux and building from source

npx boubou@beta also opens the menu on x86-64 Linux, with the Liquid models that fit the computer. Voices that need an NVIDIA GPU are on runboubou.com/models: copy a command there and paste it into the menu's last row.

To build from source, you need Rust 1.91+ and Xcode Command Line Tools on macOS. On Linux, install a C compiler, pkg-config and ALSA development headers.

git clone https://github.com/runboubou/boubou.git
cd boubou
cargo build --locked --release
./target/release/boubou

Liquid models also run on arm64 Linux built from source. Linux needs glibc 2.38+, OpenSSL 3 and libgomp.

More commands
npx boubou@beta list
npx boubou@beta pull LFM3-Omni-2B
npx --offline boubou@beta run LFM3-Omni-2B --offline
npx boubou@beta doctor LFM3-Omni-2B
npx boubou@beta ask LFM3-Omni-2B photo.png "What is in this picture?"
npx boubou@beta clone
npx boubou@beta voices

clone opens a page in your browser on the Mac. Record yourself reading a sentence, or upload a clip, hear it read any sentence you type beside your recording, and name the voice; Qwen3-TTS models then speak it with --voice, and serve lists it for apps. The first time, it downloads Qwen3-TTS Base weights, which clone, and Whisper, which writes down what a clip says. A Mac with about 24 GB of memory or more clones with the 1.7B weights, which misread fewer words; others use the 0.6B ones. Voices in 20 more languages, such as Arabic, Hindi, Thai and Vietnamese, are read by VoxCPM2 (Apache-2.0), which Boubou downloads (3.2 GB) the first time such a voice speaks; a conversation with one hears through Whisper and replies in its language. Voices in the other 70 languages Whisper hears, such as Cantonese, Ukrainian and Persian, are read by OmniVoice, whose model allows noncommercial use only (CC BY-NC 4.0): they speak once you accept its terms on the clone page or with voices --accept-noncommercial, which Boubou records on this computer. The commands voices prints use the same size. The page checks each take before you save it: whether the voice is faint, distorted or noisy, how much of it is speech, and whether it says the words it should. voices --check <wav> checks a file the same way.

voices lists your voices with the commands that use them. They stay in ~/Library/Application Support/boubou/voices on macOS or ~/.local/share/boubou/voices on Linux: each is <name>.wav and <name>.json, its words. A WAV of one voice, 3 to 30 seconds, put there becomes a voice once clone writes down what it says; renaming the file renames the voice. On a Mac, each voice also gets <name>.command there: double-click it to talk with the voice. Choose another folder on the clone page or with voices --folder <path>; --voices-dir uses one for a single command. voices --export <zip> [names] and voices --import <zip> copy voices between computers; the page has the same buttons.

serve prints a browser link and a QR code for a phone on the same Wi-Fi; one client can use the conversation at a time. Keep the printed link private: it contains the access key. --local listens only on this computer. By default, serve requests a trusted certificate from lan.runboubou.com, whose name includes the host's local IP address; its private key stays on the host. --local, --self-signed or --offline avoids that service.

Modular models also expose OpenAI-compatible Realtime, speech and transcription endpoints through serve. POST /v1/audio/transcriptions writes down a WAV, FLAC, Ogg or MP3 recording with the model's own speech recognition; the -whisper entries hear languages other than English. The speech endpoint reads in the voice a request names; GET /v1/audio/voices, with the same key, lists the names, the default first. Any other name reads in the voice serve started with. Texts sent together are read one after another, in the order they came. Prefer the printed HTTPS/WSS address; the HTTP/WS fallback is unencrypted. A program on the same computer connects without the key or a question; serve prints the values an app's OpenAI-compatible voice settings ask for. A web app, from any site, uses the printed HTTPS address with the key as its API key; serve answers the browser's cross-origin checks, and GET /v1/models lists boubou. A robot on another device, or a web page, that comes without the key is asked about in the terminal first, and the answer is remembered.

Each model page on the website also lists its versions and how to swap a component of a modular model. Use npx boubou@beta --help or npx boubou@beta <command> --help for every option.

Updates and the cache

The npm launcher checks for updates before a command, at most once an hour. In a terminal it asks before updating to the newest version on your release channel; in scripts it updates without asking. If the check or installation fails, it warns and uses the last available version. --offline, doctor and BOUBOU_NO_UPDATE_CHECK=1 skip the check.

Models and runtimes stay in ~/Library/Caches/boubou on macOS or ~/.cache/boubou on Linux across updates; set BOUBOU_HOME to choose another folder. Voices you clone stay outside the cache; Boubou moves those that earlier versions kept in its voices folder. A runtime update downloads only the files that changed.

How it works

Rust connects your microphone and speakers to a local model server, with echo cancellation and speech detection.

  • One audio model: Liquid models hear, think and speak through llama.cpp.
  • A modular pipeline: speech recognition → Qwen → your choice of voice. See models and runtimes.

Inference runs on your machine. No account, cloud model API key or telemetry. With run, audio stays on this computer. After downloading the models, use --offline to run without a network; with npx, pass --offline before the package name too. Update checks go through npm to your configured registry and never include audio, transcripts or model files.

Contributors

Built in the open. Thanks to everyone helping Boubou find its voice.

All contributors · Contribute to Boubou · Report a security issue


MIT, except the character on serve's phone page (src/serve/character.webp): © 2026 bella chai, all rights reserved. It may be used only as part of Boubou.

Explore projetos relacionados

Carregando…