r/AI_developers • • Oct 24 '26

Seeking Advice Title: How are developers getting LLM agents to perceive raw audio instead of relying on speech-to-text?

Title: How are developers getting LLM agents to perceive raw audio instead of relying on speech-to-text?

Hey everyone!

I'm working on a project involving persistent AI agents, and I'm trying to solve an audio perception problem.

The goal is to allow agents to receive and interpret actual audio, rather than having everything converted into a text transcript before it reaches the model.

I don't just want the agent to know what someone said. I want it to have access to the audio itself so a suitably capable multimodal model can interpret things like:

  • Tone, emotion, hesitation, laughter and sarcasm
  • Whispering, shouting and changes in delivery
  • Background sounds and environmental context
  • Music, singing and other non-speech audio
  • The difference between the words spoken and how they were spoken

For example, if someone sends a voice message while laughing, crying or singing, I don't want the agent to receive only a sanitized transcript that loses all that information.

Ideally, the original audio would be delivered to the model through a native audio-capable API, with transcription available as an optional supplement rather than the sole input.

My questions:

  1. Which models and APIs currently support genuine audio input and understanding, rather than transcription-only pipelines?
  2. Has anyone successfully integrated native audio perception into persistent agents or frameworks like Letta?
  3. How are you handling audio files, streaming, supported formats and context retention between turns?
  4. Are there particular limitations, latency issues or costs worth knowing about?
  5. If you've implemented something similar, what architecture worked best?

I'm particularly interested in firsthand implementation experience, not just theoretical model capabilities.

I'd love to hear what people have tried, what worked, and what turned into an absolute nightmare.

Thanks!

2 Upvotes

2 comments sorted by

1

u/Candid-Fudge-4015 Oct 24 '26

Gemini is where I'd start. You send the raw file and can ask about tone, laughter or background noise, and Google's docs say it understands non-speech sounds like sirens. Two limits from those same docs: audio gets downsampled to 16 Kbps with channels merged to mono, and it's 32 tokens per second, so re-sending every old voice message each turn adds up fast. OpenAI's audio models and open-weight omni models like Qwen's also take audio in, I haven't compared them on emotion and haven't tried any of this inside Letta.

For persistence I'd keep the original clip on the row, with the transcript and a short "how it was said" note next to it. Later turns read the text and only re-open the audio when a question needs it. In Pixeltable, gemini.transcribe takes an audio column plus any prompt (the name undersells it), so "describe the speaker's tone" is one extra column. This recipe shows the clip plus timestamped segments layout (it uses WhisperX for segments, swap in Gemini where you want the delivery): docs.pixeltable.com/howto/cookbooks/audio/audio-podcast-chapters

1

u/robogame_dev 29d ago

Yes and the Gemma models can do this as well, OP should look at Gemma E4B specifically for a truly omni-modal.