Skip to content
gitpavleenbali edited this page Feb 17, 2026 · 2 revisions

Voice

Real-time voice interactions with AI agents.

See Voice-Module for full documentation.

Quick Start

from pyai.voice import VoiceSession

# Create voice session
session = VoiceSession()

# Start conversation
await session.start()

# Speak and get response
response = await session.speak("Hello, how are you?")
print(response.text)

# End session
await session.stop()

Features

  • Real-time speech-to-text
  • Text-to-speech synthesis
  • Voice activity detection
  • Multiple voice providers
  • Streaming responses

Related Pages

🧠 PYAI Wiki

Home


πŸš€ Getting Started


πŸ’‘ Core Concepts


🎯 One-Liner APIs


πŸ€– Agent Framework


πŸ”— Multi-Agent


πŸ› οΈ Tools & Skills


🏒 Enterprise


πŸŽ™οΈ Voice


πŸ–ΌοΈ Multimodal


πŸ“Š Vector DB


🌐 OpenAPI


πŸ”Œ Plugins


🀝 A2A Protocol


πŸ”’ Security


πŸ“š Reference


Intelligence, Embedded.

Clone this wiki locally