Metadata-Version: 2.4
Name: duotalk
Version: 1.0.7
Summary: Advanced multi-agent voice conversation system with customizable personas and modes
Author-email: Abhyuday Patel <patelabhyuday09@gmail.com>
License: MIT
Project-URL: Homepage, https://github.com/AbhyudayPatel/DuoTalk
Project-URL: Repository, https://github.com/AbhyudayPatel/DuoTalk
Project-URL: Documentation, https://duotalk.readthedocs.io
Project-URL: Issues, https://github.com/AbhyudayPatel/DuoTalk/issues
Keywords: voice,ai,conversation,agents,livekit,gemini
Classifier: Development Status :: 4 - Beta
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Multimedia :: Sound/Audio :: Speech
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: livekit-agents>=1.2.0
Requires-Dist: livekit-plugins-google>=0.8.0
Requires-Dist: python-dotenv>=1.0.0
Requires-Dist: pydantic>=2.0.0
Requires-Dist: typer>=0.9.0
Requires-Dist: rich>=13.0.0
Requires-Dist: asyncio-mqtt>=0.16.0
Requires-Dist: structlog>=23.0.0
Requires-Dist: yt-dlp>=2023.1.6
Requires-Dist: requests>=2.28.0
Requires-Dist: livekit-plugins-cartesia>=0.2.0
Requires-Dist: edge-tts>=7.0.0
Requires-Dist: pygame>=2.0.0
Requires-Dist: google-generativeai>=0.8.0
Provides-Extra: dev
Requires-Dist: pytest>=7.0.0; extra == "dev"
Requires-Dist: pytest-asyncio>=0.21.0; extra == "dev"
Requires-Dist: black>=23.0.0; extra == "dev"
Requires-Dist: ruff>=0.1.0; extra == "dev"
Requires-Dist: mypy>=1.0.0; extra == "dev"
Requires-Dist: pre-commit>=3.0.0; extra == "dev"
Provides-Extra: docs
Requires-Dist: mkdocs>=1.5.0; extra == "docs"
Requires-Dist: mkdocs-material>=9.0.0; extra == "docs"
Requires-Dist: mkdocstrings[python]>=0.23.0; extra == "docs"
Dynamic: license-file

# DuoTalk 🎭

Multi‑agent voice conversations platform.

— Create rich, persona‑driven discussions (debate, roundtable, panel, interview, chat) with 1–10 agents. Audio YouTube summarization. Powered by LiveKit and Google Gemini.

## Install

```powershell
# create virtual env ,then
pip install duotalk
or
uv add duotalk
```

Environment (PowerShell):

```powershell
$env:GOOGLE_API_KEY = "<your_gemini_api_key>"

# Optional extras
$env:LIVEKIT_API_KEY = "<key>"
$env:LIVEKIT_API_SECRET = "<secret>"
```

## 1‑minute quick start

```powershell
# 3‑agent roundtable
duotalk roundtable -t "future of AI" -a 3

# 2‑agent debate
duotalk debate -t "pineapple on pizza"

# YouTube summary (short, with voice off)
duotalk summarize -u "https://youtu.be/VIDEO" -s short --no-voice
```

## CLI at a glance

| Command | Purpose | Agents |
|---|---|---|
| roundtable | Multi‑perspective discussion | 3–10 |
| debate | Opposing viewpoints | 2 |
| panel | Expert panel | 3–10 |
| interview | Interview format | 2 |
| chat | Casual or guided chat | 1–10 |
| summarize | YouTube video summary | 1 |

Tip: add -n <turns>, -p <personas comma‑list>, --voice/--no-voice.

## Minimal examples

```powershell
# Larger roundtable (6 agents)
duotalk roundtable -t "climate tech" -a 6 -n 16

# Expert panel with custom personas
duotalk panel -t "AI safety" -a 5 -p "researcher,engineer,ethicist,founder,policy"

# Interview with roles
duotalk interview -t "ML careers" --interviewer recruiter --interviewee engineer -n 12
```

## Personas

Browse available personas:

```powershell
duotalk personas
```

Examples: optimist, skeptic, pragmatist, theorist, analyst, educator, engineer, researcher, strategist, creative.

## Help

```powershell
duotalk --help
duotalk roundtable --help
duotalk summarize --help
```

## Links

- Docs/Issues: https://github.com/AbhyudayPatel/Duotalk-package
- License: MIT
