Skip to main content

audio_agent

AI Agent AudioAgent - A specialized agent class for audio processing using AI models. Provides Text-to-Speech (TTS) and Speech-to-Text (STT/Transcription) capabilities. Follows the Agent() class patterns:
  • Precedence Ladder: Instance > Config > Array > Dict > String > Bool > Default
  • Lazy imports for LiteLLM (zero overhead until first use)
  • Async-safe with both sync and async methods

Import

from praisonaiagents.agent import audio_agent

Classes

AudioConfig

Configuration for audio processing settings.

AudioAgent

A specialized agent for audio processing using AI models.

Agents Concept

Single Agent Guide

Multi-Agent Guide

Agent Configuration

Auto Agents