经 AI Skill Hub 精选评估,语音代理构建 获评「强烈推荐」。这款Agent工作流在功能完整性、社区活跃度和易用性方面表现出色,AI 评分 8.0 分,适合有一定技术背景的用户使用。
语音代理构建 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
语音代理构建 是一套完整的 AI Agent 自动化工作流方案。通过可视化的节点编排,将复杂的多步骤任务拆解为清晰的自动化流程,实现全程无人值守的智能处理。支持与数百种外部服务和 API 无缝集成,适合构建数据处理管线、业务自动化和 AI 辅助决策系统。
# 方式一:pip 安装(推荐)
pip install tone
# 方式二:虚拟环境安装(推荐生产环境)
python -m venv .venv
source .venv/bin/activate # Windows: .venv\Scripts\activate
pip install tone
# 方式三:从源码安装(获取最新功能)
git clone https://github.com/tonehq/tone
cd tone
pip install -e .
# 验证安装
python -c "import tone; print('安装成功')"
# 命令行使用
tone --help
# 基本用法
tone input_file -o output_file
# Python 代码中调用
import tone
# 示例
result = tone.process("input")
print(result)
# tone 配置文件示例(config.yml) app: name: "tone" debug: false log_level: "INFO" # 运行时指定配置文件 tone --config config.yml # 或通过环境变量配置 export TONE_API_KEY="your-key" export TONE_OUTPUT_DIR="./output"
This project is an open source AI Voice agent Builder that empowers developers and businesses to create sophisticated voice agents without vendor lock-in. Built with reliability, observability, and real-time testing at its core.
python --version)License: MIT Python FastAPI React PostgreSQL
The open source alternative to Retell, Synthflow, and Vapi - Build reliable, observable, and easily testable AI voice agents with a focus on developer experience.
1. Clone the repository
git clone https://github.com/tonehq/tone.git
cd tone
2. Set up your .env file # Create a .env file in the project root with:
# DATABASE_URL=postgresql://<user>:<password>@<host>/<dbname>
# JWT_SECRET_KEY=<your-secret-key>
# ENCRYPTION_KEY=<your-encryption-key>
#
# Infisical (used by bootstrap/dev-bootstrap.sh and to run the app):
# INFISICAL_PROJECT_ID=<your-project-id>
# INFISICAL_ENV=<staging|dev|production>
#
# Cloudsmith (private tone-pipecat package):
# PIP_EXTRA_INDEX_URL=https://<user>:<token>@dl.cloudsmith.io/<entitlement>/tonehq/tone/python/simple/
#
# Optional: provider API keys (OPENAI_API_KEY, DEEPGRAM_API_KEY, etc.)
3. Install the Infisical CLI and log in # macOS
brew install infisical/get-cli/infisical
# Linux
curl -1sLf 'https://artifacts-cli.infisical.com/setup.deb.sh' | sudo -E bash
sudo apt install -y infisical
# Log in once (opens a browser)
infisical login
4. Export the Cloudsmith URL (required for the private tone-pipecat package) # Get the real URL from Cloudsmith → tonehq/tone repo → Set Me Up → Python.
export PIP_EXTRA_INDEX_URL="https://<user>:<token>@dl.cloudsmith.io/<entitlement>/tonehq/tone/python/simple/"
Runs Python install, venv, dependencies, migrations, procrastinate schema, DB seed, Node.js install, and frontend npm install — all in one go.
Before running: openbootstrap/dev-bootstrap.shand read the PREREQUISITES block at the top. It lists everything you must have in place first (Homebrew,PIP_EXTRA_INDEX_URL,infisical login,.envkeys, a reachable Postgres DB, optional provider API keys). The seed step is interactive — have your organization name, owner email, and password ready.
./bootstrap/dev-bootstrap.sh
Adding another organization on an already-initialized DB? See Adding a new organization below.
When it finishes, start the servers:
```bash
```bash
docker build -f core/Dockerfile -t tone .
./bootstrap/db-bootstrap.sh
docker run --rm -p 8000:8000 --env-file .env tone ```
infisical run --projectId "$INFISICAL_PROJECT_ID" --env="$INFISICAL_ENV" -- \ ./bootstrap/db-bootstrap.sh ```
Prerequisites (also listed at the top of bootstrap/db-bootstrap.sh): - Python venv activated with dependencies installed - A reachable, empty Postgres DB — DATABASE_URL in .env (or injected by infisical run) - Optional: provider API keys in env (OPENAI_API_KEY, etc.) if you want them seeded automatically
The seed step is interactive — have organization name, owner email, and password ready.
./bootstrap/org-bootstrap.sh
./bootstrap/org-bootstrap.sh --api-keys-from-env
Our codebase follows a clean architecture pattern:
core/
├── api/v1/ # FastAPI route handlers
│ ├── agents.py
│ ├── auth.py
│ ├── channels.py
│ ├── models.py
│ ├── organizations.py
│ ├── service_providers.py
│ └── voices.py
├── services/ # Business logic layer
│ ├── agent_service.py
│ ├── agent_factory_service.py
│ ├── voice_service.py
│ ├── channel_service.py
│ └── model_service.py
├── models/ # SQLAlchemy ORM models
│ ├── agent.py
│ ├── organization.py
│ ├── service_provider.py
│ ├── voice.py
│ └── user.py
├── middleware/ # Auth & request middleware
│ └── auth.py
├── utils/ # Utility functions
│ └── encryption.py # AES encryption for API keys
├── bot.py # Voice pipeline entry point
└── database/ # DB session & connection
dev/
├── seed.py # Data seeding script
└── dev-data.json # Provider/model/voice definitions
高质量的AI语音代理构建平台
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
✅ MIT 协议 — 最宽松的开源协议之一,可自由商用、修改、分发,仅需保留版权声明。
AI Skill Hub 点评:语音代理构建 的核心功能完整,质量优秀。对于自动化工程师和运维人员来说,这是一个值得纳入个人工具库的选择。建议先在非生产环境试用,再逐步推广。
| 原始名称 | tone |
| 原始描述 | 开源AI工作流:Open source Ai voice agent builder platform。⭐9 · Python |
| Topics | AI语音代理工作流 |
| GitHub | https://github.com/tonehq/tone |
| License | MIT |
| 语言 | Python |
收录时间:2026-05-29 · 更新时间:2026-05-30 · License:MIT · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端