Langsung ke konten
Skillpedia
Agen48k · #6129

voice-agents

Fungsinya

Alat ini memungkinkan Anda berbicara dengan AI menggunakan suara, seperti sedang melakukan percakapan alami. AI memahami apa yang Anda katakan dan membalasnya dengan suara.

Kapan dipakai

  • ✓Saat Anda menginginkan asisten yang diaktifkan dengan suara.
  • ✓Untuk membangun sistem yang dapat memahami dan berbicara.
  • ✓Saat menguji seberapa cepat percakapan dengan AI dapat berlangsung.

Link skill

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/voice-agents/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/voice-agents/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit →

Contoh permintaan ke AI

“Buatkan asisten suara yang memberi tahu saya cuaca.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

AI pertama-tama mengubah suara Anda menjadi teks, lalu memahami permintaan Anda, dan terakhir mengubah jawabannya kembali menjadi suara agar Anda dapat mendengarnya. Semua proses ini berlangsung sangat cepat.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

Voice Agents

Voice agents represent the frontier of AI interaction - humans speaking naturally with AI systems. The challenge isn't just speech recognition and synthesis, it's achieving natural conversation flow with sub-800ms latency while handling interruptions, background noise, and emotional nuance.

This skill covers two architectures: speech-to-speech (OpenAI Realtime API, lowest latency, most natural) and pipeline (STT→LLM→TTS, more control, easier to debug). Key insight: latency is the constraint. Humans expect responses in 500ms. Every millisecond matters.

84% of organizations are increasing voice AI budgets in 2025. This is the year voice agents go mainstream.

Detailed Guide

Read the detailed guide before executing this skill. It retains the complete procedure and reference material. Treat its safety, prerequisites, and validation requirements as mandatory. For focused work, load the relevant sections; for end-to-end work, read the guide completely.

Production Pipeline Example

""" import { Deepgram } from '@deepgram/sdk'; import { ElevenLabsClient } from 'elevenlabs'; import OpenAI from 'openai';

// Initialize clients const deepgram = new Deepgram(process.env.DEEPGRAM_API_KEY); const elevenlabs = new ElevenLabsClient(); const openai = new OpenAI();

async function processVoiceInput(audioStream) { // 1. Speech-to-Text (Deepgram Nova-3) const transcription = await deepgram.transcription.live({ model: 'nova-3', punctuate: true, endpointing: 300, // ms of silence before end });

transcription.on('transcript', async (data) => { if (data.is_final && data.speech_final) { const userText = data.channel.alternatives[0].transcript; console.log('User:', userText);

  // 2. LLM Processing
  const completion = await openai.chat.completions.create({
    model: 'gpt-4o-mini',
    messages: [
      { role: 'system', content: 'You are a concise voice assistant.' },
      { role: 'user', content: userText }
    ],
    max_tokens: 150,  // Keep responses short for voice
  });

  const agentText = completion.choices[0].message.content;
  console.log('Agent:', agentText);

  // 3. Text-to-Speech (ElevenLabs)
  const audioStream = await elevenlabs.textToSpeech.stream({
    voice_id: 'voice_id_here',
    text: agentText,
    model_id: 'eleven_flash_v2_5',  // Lowest latency
  });

  // Stream to user
  playAudioStream(audioStream);
}

});

// Pipe audio to transcription audioStream.pipe(transcription); } """

Optimization Tips:

  • Start TTS while LLM still generating (streaming)
  • Pre-compute first response segment during user speech
  • Use Flash/turbo models for latency

Voice Activity Detection Pattern

Detect when user starts/stops speaking

When to use: All voice agents need VAD for turn-taking

VOICE ACTIVITY DETECTION (VAD):

""" VAD Types:

  1. Energy-based: Simple, fast, noise-sensitive
  2. Model-based: Silero VAD, more accurate
  3. Semantic VAD: Understands meaning, best for conversation """

When to Use

  • User mentions or implies: voice agent
  • User mentions or implies: speech to text
  • User mentions or implies: text to speech
  • User mentions or implies: whisper
  • User mentions or implies: elevenlabs
  • User mentions or implies: deepgram
  • User mentions or implies: realtime api
  • User mentions or implies: voice assistant
  • User mentions or implies: voice ai
  • User mentions or implies: conversational ai
  • User mentions or implies: tts
  • User mentions or implies: stt
  • User mentions or implies: asr

Limitations

  • Use this skill only when the task clearly matches the scope described above.
  • Do not treat the output as a substitute for environment-specific validation, testing, or expert review.
  • Stop and ask for clarification if required inputs, permissions, safety boundaries, or success criteria are missing.
Pertanyaan umum

Apa itu latency?

Latency adalah jeda waktu antara saat Anda berbicara dan saat AI merespons. Untuk percakapan yang alami, jeda ini harus sangat singkat.

Apa saja jenis sistemnya?

Ada sistem yang langsung mengubah ucapan menjadi ucapan (lebih cepat) dan sistem yang bekerja bertahap: ucapan menjadi teks, lalu teks menjadi ucapan (lebih mudah disesuaikan).

Mengapa kecepatan itu penting?

Orang mengharapkan respons yang cepat dalam sebuah percakapan. Jika AI membutuhkan waktu terlalu lama, percakapan tidak akan terasa alami.

Detail

Deskripsi asli dari pembuat

Voice agents represent the frontier of AI interaction - humans speaking naturally with AI systems.

repo: sickn33/agentic-awesome-skills

Popularitas

Bintang GitHub
48k
Peringkat
#6129
Lisensi
MIT
Diperbarui
15/10/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa