agentleFS
Seeed-ProjectsSeeed-Projects/Seeed-Jetson-DevelopTool/skills/codex/whisper-realtime-stt/AGENTS.md

Seeed-Jetson-DevelopTool / whisper-realtime-stt

AGENTS.md57 starsChanged 4 months agoMITView on GitHub

Deploy OpenAI Whisper on NVIDIA Jetson Orin for real-time speech-to-text. Clones the deployment repo, installs dependencies including ffmpeg, tests the environment, and runs real-time STT from a USB microphone (e.g. reSpeaker). Includes Riva vs Whisper comparison context.

  • Installs packages

The file

We split this AGENTS.md into the rules it gives an agent

4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Run one phase at a time. After each phase:

    line 14
  2. Very specific:

    If output contains [STOP] → stop immediately, consult the failure decision tree.

    line 16
  3. Very specific:

    If output ends with [OK] → tell the user "Phase N complete" and proceed to the next phase.

    line 17
  4. Distinctive:

    Verify ffmpeg is installed:

    line 57

≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

Real-Time Speech-to-Text with Whisper on Jetson Orin

Deploy Whisper on Jetson Orin for real-time speech-to-text processing directly on-device, eliminating network dependency and enhancing privacy. Uses a USB microphone for audio input.


Execution model

Run one phase at a time. After each phase:

  • Relay all output to the user.
  • If output contains [STOP] → stop immediately, consult the failure decision tree.
  • If output ends with [OK] → tell the user "Phase N complete" and proceed to the next phase.

Prerequisites

RequirementDetail
Jetson devicereComputer or other Jetson Orin-based device
MicrophonereSpeaker Mic Array v2.0 or other USB microphone
JetPackWith CUDA support
NetworkInternet access for cloning repo and installing packages

Phase 1 — Install dependencies (~5 min)

git clone https://github.com/LJ-Hao/Deploy-Whisper-on-NVIDIA-Jetson-Orin-for-Real-time-Speech-to-Text.git
cd Deploy-Whisper-on-NVIDIA-Jetson-Orin-for-Real-time-Speech-to-Text
pip install -r requirements.txt
sudo apt update && sudo apt install ffmpeg

Configure the microphone sample rate:

arecord -D hw:2,0 --dump-hw-params

[OK] when all packages install and ffmpeg is available. [STOP] if pip or apt install fails.


Phase 2 — Test environment (~1 min)

python test.py

Verify ffmpeg is installed:

ffmpeg -version

[OK] when test.py prints successful library import messages and ffmpeg -version shows version info. [STOP] if imports fail or ffmpeg is not found.


Phase 3 — Run real-time speech-to-text

python main.py

Speak into the microphone and observe real-time transcription output.

[OK] when transcription appears in the terminal as you speak. [STOP] if audio device errors or model loading fails.


Failure decision tree

SymptomAction
pip install -r requirements.txt failsCheck Python version ≥ 3.8. Try pip install --upgrade pip first.
ffmpeg not found after installRun sudo apt install ffmpeg again. Verify with which ffmpeg.
arecord — no soundcard foundCheck USB microphone connection. Run arecord -l to list devices. Adjust device ID (hw:X,0).
test.py import errorsRe-run pip install -r requirements.txt. Check for missing system libraries.
main.py — CUDA out of memoryClose other GPU processes. Use a smaller Whisper model variant.
main.py — no audio inputVerify microphone with arecord -D hw:2,0 -f S16_LE -r 16000 -d 5 test.wav.
Poor transcription accuracyEnsure microphone sample rate is 16000 Hz. Reduce background noise.

Reference files

  • references/source.body.md — Full Seeed Wiki tutorial with hardware setup photos, environment test screenshots, Riva vs Whisper comparison video, and project outlook (reference only)

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.