Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
Back to tool/Back to issues
#8506·agno

Add FunASR (SenseVoice) local speech-to-text transcription tool

Author: LauraGPTCreated Jun 22, 2026Updated Sep 28, 2026

Feature

Add a FunASRTools toolkit for local audio-file transcription through the optional FunASR Python package. The default SenseVoiceSmall checkpoint supports Chinese, Cantonese, English, Japanese, and Korean, with a separate FSMN-VAD model for segmentation. Other checkpoints have their own language coverage.

Proposal

Provide transcribe(file_name) and an optional read_files() helper, lazy model loading, and default path confinement to the configured audio directory. Local inference can use CPU or a compatible CUDA installation. Install matching platform-appropriate PyTorch and Torchaudio builds before funasr; model weights must be downloaded or cached.

The transcription tool itself needs no ASR API key. The cookbook in #8501 uses an OpenAI-powered agent, requires OPENAI_API_KEY, and may send transcribed text as tool results. That example is not a fully offline agent workflow.

Implementation: #8501. This request covers in-process local-file transcription, not a remote OpenAI-compatible speech service.

Status: 2026-09-29

Implementation PR #8501 remains open at published head 45d71ab99f724b768dc53691bee845f31996de15; no new feature code was pushed. The pending upstream merge and documentation corrections remain preserved locally.

The four native validation errors were independently reproduced on unchanged main and reported in #10655. A separate repair, #10656 at signed commit 94bf5eeffcaeb3f79cefa4c6ccbf55d2ef45c392, passes native validation with Python 3.12 / SQLAlchemy 2.1.1 and Python 3.10 / SQLAlchemy 2.0.54, plus 132 related tests in each environment (46 optional-driver skips). Those results do not establish that the unpublished FunASR candidate passes validation.

The earlier native setup, package-integrity check, formatting, and eight mocked FunASR test results remain documented in #8501. After the compatibility prerequisite is integrated, the FunASR candidate must pass its own native gates before publication. No real inference, model download, paid API call, or full test-suite run was performed. This issue remains open; the feature is not merged or released.

Source: agno-agi/agno

View original on GitHubView discussion on GitHub