AI voice dictation for Android — speak naturally, get clean text typed into any app.
Clairo turns speech into polished writing with auto punctuation, context-aware formatting, and system-wide insertion. Dictate from a floating mic or Quick Settings tile without leaving the app you’re already in.
3rd place · Southwest Division — 2026 China College Computer Competition · AIGC Innovation Competition
Most voice typing dumps raw transcripts. Clairo is built as an AI writing layer on top of speech-to-text: it cleans filler words, applies punctuation, matches your tone, and inserts the result at the cursor — in messaging, email, notes, or the browser.
| Hands-free typing | Speak instead of tapping — ideal for long replies and drafts |
| Works in any app | Accessibility-powered insertion into the focused text field |
| Context-aware AI | Formats for personal chat, work chat, or email styles |
| Cloud or on-device ASR | Accurate cloud recognition by default; private offline mode optional |
| Meeting capture | Long-form recording, transcripts, and an AI meeting assistant |
- Floating microphone — appears over text fields; drag to move or snooze
- Quick Settings tile — one-tap start/stop from the shade
- Persistent notification — dictation without opening the app
- Direct text insertion — types into the active field (clipboard fallback when needed)
- Auto punctuation & capitalization from natural speech
- Per-app writing styles — Personal, Work, and Email
- Output tone — formal, casual, or very casual rewrite
- Bring your own key (BYOK) — configure LLM providers in Settings
- Cloud ASR — long-form speech recognition (default)
- On-device STT — SenseVoice via Sherpa-ONNX for private, offline use
- Bilingual — Chinese and English, including mixed speech
- Meeting mode — record up to long sessions, then transcribe
- Meeting assistant — summarize, list action items, draft follow-ups
- History & insights — recent dictations and activity at a glance
- Guided onboarding (permissions, accessibility, floating mic)
- English / Chinese UI
- Dark-first Material design with live audio visualization
- Focus any text field and tap the floating mic (or the Quick Settings tile).
- Speak naturally — Clairo captures audio and runs speech-to-text.
- AI formats the transcript for your current app context and tone.
- Clean text is inserted at the cursor. Done.
Optional: open Meeting for longer recordings, then use Assistant on the transcript.
Clairo uses a native-first pipeline so dictation keeps working when the Flutter UI is closed:
Triggers (floating mic / QS tile / notification)
│
▼
DictationForegroundService (Kotlin)
├── Audio capture (PCM)
├── ASR (cloud or on-device SenseVoice)
├── LLM cleanup / tone rewrite
└── Accessibility insert (or clipboard)
│
▼
Flutter app — home, styles, meetings, settings, history
| Layer | Role |
|---|---|
| Kotlin | Recording, ASR, LLM calls, overlays, Quick Settings, accessibility |
| Flutter | Onboarding, dashboard, styles, meetings, insights, BYOK settings |
| SQLite | Shared session history between native and UI |
- Flutter + Riverpod + go_router
- Kotlin foreground service,
AudioRecord, OkHttp - Sherpa-ONNX + SenseVoice (optional on-device ASR)
- Android Accessibility Service for insertion & app context
- OpenAI-compatible LLM APIs (BYOK)
| Doc | Description |
|---|---|
| SETUP.md | Developer environment — clone to running build |
| ARCHITECTURE.md | Folder layout and data flow |
| ACCESSIBILITY.md | Accessibility service & text insertion |
| SHERPA_SETUP.md | On-device model & AAR download |
| THEME.md | Design tokens and typography |
| PROVIDERS.md | Riverpod providers |
Requirements: Flutter SDK ^3.11.4 · Android SDK API 33+ · JDK 17 · real Android device (accessibility is unreliable on emulators)
git clone https://github.com/codewith-rafi/clario.git
cd clario
flutter pub get- Create
android/local.propertieswith your SDK paths — see SETUP.md. - For on-device ASR: add
sherpa-onnx.aarand SenseVoice model files — see SHERPA_SETUP.md. - Run:
flutter runRelease APK:
flutter build apk --releaseOutput: build/app/outputs/flutter-apk/app-release.apk
- Install and complete onboarding.
- Grant microphone, notifications, and display-over-other-apps.
- Enable Clairo under Settings → Accessibility.
- Add the Clairo tile to Quick Settings (optional).
- Add an API key in Settings → API Configuration for AI cleanup / meetings.
- Focus a text field, tap the floating mic, speak, tap again.
clairo/
├── android/app/src/main/kotlin/ # Dictation engine, ASR, LLM, overlays
├── lib/ # Flutter UI
├── docs/screenshots/ # Product screenshots for README
├── SETUP.md
├── ARCHITECTURE.md
└── pubspec.yaml
- Branch from
main:git checkout -b feature/your-change - Test on a physical Android device
- Run
flutter analyze(and tests if applicable) - Keep secrets out of commits (
Keys.kt,dart_defines.json, API keys) - Open a pull request
Licensed under the MIT License.
Built by Team Clairo (Sichuan University).
Awarded 3rd place in the Southwest Division at the 2026 China College Computer Competition — AIGC Innovation Competition.
