CrewAI with Voice: Build AI Teams That Can Speak
CrewAI enables teams of AI agents working together. Adding voice makes their output even more powerful.
What is CrewAI?
CrewAI is a framework for creating collaborative AI agent teams where each agent has:
- A specific role (Researcher, Writer, Editor)
- A defined goal
- Access to tools
Adding Voice to CrewAI
from crewai import Agent, Task, Crew
from langvoice_sdk.tools.crewai_tools import LangVoiceCrewAIToolkit
# Initialize voice toolkit
toolkit = LangVoiceCrewAIToolkit(api_key="your-langvoice-key")
# Create a voice producer agent
voice_producer = Agent(
role="Voice Producer",
goal="Generate professional audio content for the team's output",
backstory="Expert audio producer who creates engaging voice content.",
tools=toolkit.get_tools(),
verbose=True,
)
# Define a voice task
narration_task = Task(
description="Create an audio summary of today's research findings",
expected_output="Audio file with professional narration",
agent=voice_producer,
)
# Build the crew
crew = Crew(
agents=[voice_producer],
tasks=[narration_task],
)
result = crew.kickoff()
Real-World Use Case: AI Podcast Team
researcher = Agent(role="Researcher", goal="Find trending AI topics")
writer = Agent(role="Writer", goal="Create engaging scripts")
voice_producer = Agent(
role="Voice Producer",
goal="Generate podcast audio",
tools=toolkit.get_tools()
)
# Research -> Write -> Produce Audio
crew = Crew(agents=[researcher, writer, voice_producer], tasks=[...])
Voice Options for Different Roles
| Agent Role | Recommended Voice | Reason |
|---|---|---|
| News Anchor | james | Authoritative |
| Teacher | emma | Warm, clear |
| Storyteller | heart | Engaging |
| Technical | michael | Precise |
Start building voice-enabled AI teams with CrewAI and LangVoice!
Tags
Ready to Transform Your Text to Speech?
Try LangVoice free and experience the most natural AI voices for your content.
Try LangVoice Free


