{"id":44112330,"url":"https://github.com/chicogong/trtc-ai-build-quickly","last_synced_at":"2026-02-08T16:34:15.325Z","repository":{"id":289679517,"uuid":"972056883","full_name":"chicogong/trtc-ai-build-quickly","owner":"chicogong","description":"Quickly build real-time AI voice conversation apps with TRTC. Supports multi-agent selection, LLM integration, and TTS/STT services.","archived":false,"fork":false,"pushed_at":"2025-12-25T04:24:38.000Z","size":3544,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-12-25T22:51:29.159Z","etag":null,"topics":["a2a","ai-agent","conversational-ai","llm","mcp","nodejs","real-time-communication","speech-to-text","stt","tencent-cloud","text-to-speech","trtc","tts","voice-assistant","voice-chat","webrtc"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chicogong.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-04-24T13:21:30.000Z","updated_at":"2025-12-25T04:24:41.000Z","dependencies_parsed_at":"2025-04-24T14:41:26.797Z","dependency_job_id":"91e2cf5c-e34c-4cbc-a9d2-b7c4c2824821","html_url":"https://github.com/chicogong/trtc-ai-build-quickly","commit_stats":null,"previous_names":["chicogong/trtc-ai-build-quickly"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/chicogong/trtc-ai-build-quickly","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chicogong%2Ftrtc-ai-build-quickly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chicogong%2Ftrtc-ai-build-quickly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chicogong%2Ftrtc-ai-build-quickly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chicogong%2Ftrtc-ai-build-quickly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chicogong","download_url":"https://codeload.github.com/chicogong/trtc-ai-build-quickly/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chicogong%2Ftrtc-ai-build-quickly/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29236900,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-08T14:18:14.570Z","status":"ssl_error","status_checked_at":"2026-02-08T14:18:14.071Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["a2a","ai-agent","conversational-ai","llm","mcp","nodejs","real-time-communication","speech-to-text","stt","tencent-cloud","text-to-speech","trtc","tts","voice-assistant","voice-chat","webrtc"],"created_at":"2026-02-08T16:34:14.613Z","updated_at":"2026-02-08T16:34:15.318Z","avatar_url":"https://github.com/chicogong.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# 🚀 TRTC AI Build Quickly\n\n\u003cdiv align=\"center\"\u003e\n\n[![TRTC](https://img.shields.io/badge/TRTC_AI-2.0.0-blue.svg)](https://cloud.tencent.com/product/trtc)\n[![AI Agent](https://img.shields.io/badge/AI_Agent-2.0.0-blue.svg)](https://cloud.tencent.com/document/product/647/110584)\n[![Node.js](https://img.shields.io/badge/Node.js-18.0+-green.svg)](https://nodejs.org/)\n[![License](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](CONTRIBUTING.md)\n\n[![GitHub stars](https://img.shields.io/github/stars/chicogong/trtc-ai-build-quickly?style=social)](https://github.com/chicogong/trtc-ai-build-quickly/stargazers)\n[![GitHub forks](https://img.shields.io/github/forks/chicogong/trtc-ai-build-quickly?style=social)](https://github.com/chicogong/trtc-ai-build-quickly/network/members)\n[![GitHub issues](https://img.shields.io/github/issues/chicogong/trtc-ai-build-quickly)](https://github.com/chicogong/trtc-ai-build-quickly/issues)\n[![GitHub last commit](https://img.shields.io/github/last-commit/chicogong/trtc-ai-build-quickly)](https://github.com/chicogong/trtc-ai-build-quickly/commits/master)\n\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003cimg src=\"docs/images/logo.png\" alt=\"logo\" width=\"200\"/\u003e\n\u003c/div\u003e\n\n## ✨ 产品简介\n\nTRTC AI Build Quickly 是一个基于腾讯云 TRTC 的快速 AI 应用构建平台，让您轻松打造智能语音交互应用。通过简单的配置，即可实现多种 AI 对话场景，如智能客服、语音助手、情感陪聊等。\n\n[Deepwiki for TRTC AI Build Quickly](https://deepwiki.com/chicogong/trtc-ai-build-quickly)\n\n## 🌟 核心特性\n\n- 🎯 **快速集成**：基于 TRTC SDK，快速实现音视频通话功能\n- 🤖 **AI能力丰富**：集成多种 AI 能力，满足不同场景需求\n- ⚙️ **灵活配置**：支持自定义 Agent 配置，轻松扩展新功能\n- 🛡️ **稳定可靠**：依托 TRTC 强大的音视频能力，确保通话质量\n- 🎨 **简单易用**：提供简洁的 API 接口，降低开发门槛\n- 🌐 **多Agent支持**：支持多种Agent类型，满足不同场景需求\n\n## 🎮 Agent Card 展示\n\n我们的平台支持多种 Agent 类型，每种 Agent 都有其独特的应用场景：\n\n\u003cdiv align=\"center\"\u003e\n\n| Agent 类型 | 核心功能 | 适用场景 | 实现状态 |\n|------------|---------|---------|---------|\n| 外呼客服 Agent | 自动外呼、智能话术、质量监控 | 营销、客服回访 | ✅ 已实现 |\n| 甜妹陪聊 Agent | 自然交互、情感超拟人对话、个性化陪伴 | 社交、娱乐 | ✅ 已实现 |\n| 声纹锁定 Agent | 声纹锁定、过滤周边人声、保证高质量通话 | 办公室，街道等嘈杂场景 | ✅ 已实现 |\n| MCP Agent | 接入[MCP](https://github.com/modelcontextprotocol)扩展工具调用等功能 | 更便捷的工具调用 | ✅ 已实现 |\n| A2A Agent | 接入[A2A](https://github.com/google/A2A)协议 | 多Agent对话 | 🔄 开发中 |\n| Coze Agent | 接入 [Coze](https://www.coze.com) 平台能力 | 快速构建智能对话应用 | 🔄 开发中 |\n| Dify Agent | 接入 [Dify](https://dify.ai) 平台能力 | 企业级 AI 应用开发 | 🔄 开发中 |\n| 知识引擎 Agent | 接入[腾讯云知识引擎](https://cloud.tencent.com/product/lke) 企业级知识库解决方案 | 智能问答、知识库查询 | 🔄 开发中 |\n\n\u003c/div\u003e\n如果需要某个Agent可以留言，我们会尽快为您提供。\n当然，您也可以根据您的需求，创建自己的Agent。\n也可以将您的AgentCard贡献到这个项目中，让更多的人使用您的Agent。\n\n## 🚀 快速开始\n\n### 1. 安装依赖\n\n```bash\nnpm install\n```\n\n### 2. 配置 Agent\n\n在 `agent_cards` 目录下选择或创建配置文件，必需配置项如下：\n\n| 配置项 | 必需字段 | 获取链接 |\n|--------|---------|---------|\n| apiConfig | secretId, secretKey | [腾讯云 API 密钥](https://console.cloud.tencent.com/cam/capi) |\n| trtcConfig | sdkAppId, secretKey | [TRTC 控制台](https://console.cloud.tencent.com/trtc/app) |\n| LLMConfig | APIKey, APIUrl | 从您的 LLM 服务提供商获取 |\n| TTSConfig | 选择以下其中一种：\u003cbr\u003e• 腾讯云 TTS:\u003cbr\u003e  - AppId: [TTS 控制台](https://console.cloud.tencent.com/tts)\u003cbr\u003e  - SecretId, SecretKey: [腾讯云 API 密钥](https://console.cloud.tencent.com/cam/capi)\u003cbr\u003e• Minimax TTS:\u003cbr\u003e  - GroupId, APIKey, VoiceType: 从 Minimax 控制台获取 |\n\n开通、接入、部署的详细指引: [中文](./docs/README_zh.md) | [English](./docs/README.md)\n\n### 3. 启动应用\n\n```bash\n# 使用默认配置启动\nnpm start\n\n# 或使用指定配置启动\nnode server.js [agent_type]\n```\n\n支持的 agent_type 参数：\n\n| Agent 类型 | 启动命令 | 说明 |\n|------------|---------|------|\n| Default Agent | `node server.js default` | 默认 Agent |\n| Sweet Girl | `node server.js sweet_girl` | 甜妹陪聊 Agent |\n| MCP Tencent Map | `node server.js mcp_tencent_map` | MCP 腾讯地图 Agent |\n\n\n## 📦 项目结构\n\n```\ntrtc-ai-build-quickly/\n├── agent_cards/           # Agent 配置文件\n│   ├── index.js             # Agent 配置入口\n│   ├── assets/              # 静态资源/Agent Card 图片\n│   ├── sweet_girl.js        # 甜妹陪聊 Agent 配置\n│   ├── mcp_tencent_map.js   # MCP 腾讯地图 Agent 配置\n│   └── default.js           # 默认 Agent 配置\n├── ai_gen_servers/        # 接入语音对话的AI生成模块(可选)\n│   ├── llm/                 # LLM 代理服务实现，实现自定义function call等\n│   └── ...                  # MCP/A2A 等服务端实现\n├── css/                     # 样式文件\n├── docs/                  # 文档\n│   └── images/               # 图片资源\n├── js/                    # 前端js文件\n├── templates/             # 模板文件\n│   ├── dialogue.html         # 简单对话界面模版\n│   └── dialogue_text.html    # 简单对话+文本输入界面模版\n├── Dockerfile             # Docker 文件\n├── index.html             # 对话界面\n├── server.js              # 服务器入口\n├── package.json           # 项目依赖\n└── README.md              # 项目说明\n```\n\n## 🤝 贡献指南\n\n我们欢迎任何形式的贡献！请查看我们的 [贡献指南](CONTRIBUTING.md) 了解更多信息。\n\n## 📄 许可证\n\n本项目采用 [MIT 许可证](LICENSE)。\n\n## 📞 联系我们\n\n- 邮箱：chicogong@tencent.com\n- 文档：[产品文档](https://cloud.tencent.com/document/product/647/110584)\n- 问题反馈：[GitHub Issues](https://github.com/yourusername/trtc-ai-build-quickly/issues)\n- 提交工单：[提交工单](https://cloud.tencent.com/online-service?from=doc_647)\n\n## 🙏 \n\n感谢您使用TRTC-AI !!\n\n\u003cdiv align=\"center\"\u003e\n  \u003csub\u003eBuilt with ❤️ by TRTC AI Team\u003c/sub\u003e\n\u003c/div\u003e\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchicogong%2Ftrtc-ai-build-quickly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchicogong%2Ftrtc-ai-build-quickly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchicogong%2Ftrtc-ai-build-quickly/lists"}