| name | agent-interview |
| description | Create an audio interview with a selected agent using OpenAI TTS. Generates a single MP3 file with a Q&A podcast session. |
| license | MIT |
| compatibility | claude-code opencode github-copilot devin pi cursor |
Agent Interview Audio
Create a single MP3 audio file featuring a podcast-style interview with an agent.
Requirements
OPENAI_API_KEY
openai Python package (pip install -r requirements.txt)
Folder layout
agent_interview.py — main generator script
requirements.txt — Python dependencies
examples/research-agent.json — example agent config
Agent config format
Save the agent as a JSON file:
{
"name": "Research Navigator",
"role": "scientific literature assistant",
"description": "An agent that searches, summarizes, and explains academic papers.",
"skills": ["pubmed search", "paper summarization", "evidence synthesis"],
"purpose": "To cut the time between a research question and a useful answer.",
"tone": "curious, precise, and gently skeptical"
}
Process
- Load the agent configuration from a JSON file.
- Generate 4-6 topic exchanges based on the agent's role, skills, and purpose.
- Write dialogue that feels alive: reactions, follow-ups, surprises, enthusiasm.
- Use OpenAI TTS to create the complete interview.
- Save as a single MP3 with speaker differentiation.
Usage
pip install -r requirements.txt
export OPENAI_API_KEY="..."
python agent_interview.py examples/research-agent.json
Optional CLI flags:
python agent_interview.py examples/research-agent.json \
--output-dir audio \
--interviewer-voice alloy \
--agent-voice nova \
--text-model gpt-4o-mini \
--tts-model tts-1
Voices
- Host: alloy (warm, curious, energetic)
- Agent: nova (passionate, expressive, confident)
Other OpenAI TTS voices: echo, fable, onyx, shimmer.
Conversation flow
- Warm intro
- Icebreaker
- Deep dive into a core capability
- Host reaction and follow-up
- Second deep dive or tougher angle
- Spontaneous tangent
- Closing reflection
Rules
- Sound like a real podcast, not a scripted Q&A.
- Let the agent admit challenges or uncertainties.
- Frame answers as stories or examples.
- Include brief interjections and natural reactions.
Output
File: {agent_name}_interview.mp3