[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"pack-detail-ai-customer-support-stack-zh":3,"seo:pack:ai-customer-support-stack:zh":102},{"code":4,"message":5,"data":6},200,"操作成功",{"pack":7},{"slug":8,"icon":9,"tone":10,"status":11,"status_label":12,"title":13,"description":14,"items":15,"install_cmd":101},"ai-customer-support-stack","💬","#EA580C","stable","稳定","AI 客服支持栈","十件给 SaaS 团队搭 AI tier-1 客服的工具：全渠道收件箱、工单系统、共享邮箱、客户体验运营层、聊天机器人分流、对话式 AI 框架、RAG 知识库、AI 起草工单回复、人工接管升级。把 Intercom\u002FZendesk 的座席税账单换成可审计的开源链路。",[16,28,35,43,52,59,66,76,85,93],{"id":17,"uuid":18,"slug":19,"title":20,"description":21,"author_name":22,"view_count":23,"vote_count":24,"lang_type":25,"type":26,"type_label":27},892,"60e0b759-349e-11f1-9bc6-00163e2b0d79","chatwoot-open-source-customer-support-live-chat-60e0b759","Chatwoot — Open Source Customer Support & Live Chat","Chatwoot is an open-source Intercom\u002FZendesk alternative with live chat, email, social media support, and omnichannel inbox for customer communication.","AI Open Source",289,0,"en","skill","Skill",{"id":29,"uuid":30,"slug":31,"title":32,"description":33,"author_name":22,"view_count":34,"vote_count":24,"lang_type":25,"type":26,"type_label":27},1815,"7cb40ea5-3c4e-11f1-9bc6-00163e2b0d79","zammad-open-source-helpdesk-ticketing-system-7cb40ea5","Zammad — Open-Source Helpdesk and Ticketing System","Zammad is a self-hosted web-based helpdesk and customer support system that unifies email, chat, phone, and social media channels into a single ticketing interface for support teams.",191,{"id":36,"uuid":37,"slug":38,"title":39,"description":40,"author_name":41,"view_count":42,"vote_count":24,"lang_type":25,"type":26,"type_label":27},2312,"7d5e5a8f-431d-11f1-9bc6-00163e2b0d79","freescout-free-self-hosted-help-desk-shared-mailbox-7d5e5a8f","FreeScout — Free Self-Hosted Help Desk and Shared Mailbox","A self-hosted help desk and shared mailbox system built with Laravel, offering a clean interface for managing customer support conversations without SaaS fees.","Script Depot",171,{"id":44,"uuid":45,"slug":46,"title":47,"description":48,"author_name":22,"view_count":49,"vote_count":24,"lang_type":25,"type":50,"type_label":51},4722,"c197bcb9-5595-11f1-9bc6-00163e2b0d79","erxes-open-source-experience-operating-system-c197bcb9","Erxes — Open Source Experience Operating System","An open-source business platform that unifies marketing, sales, operations, and support into a single self-hosted system, replacing tools like HubSpot and Zendesk.",163,"config","Config",{"id":53,"uuid":54,"slug":55,"title":56,"description":57,"author_name":22,"view_count":58,"vote_count":24,"lang_type":25,"type":26,"type_label":27},2307,"15874c3a-431d-11f1-9bc6-00163e2b0d79","botpress-open-source-chatbot-ai-agent-platform-15874c3a","Botpress — Open Source Chatbot and AI Agent Platform","An open-source platform for building, deploying, and managing chatbots and AI agents with a visual flow editor and LLM integration.",230,{"id":60,"uuid":61,"slug":62,"title":63,"description":64,"author_name":41,"view_count":65,"vote_count":24,"lang_type":25,"type":26,"type_label":27},2927,"5614239c-4c49-11f1-9bc6-00163e2b0d79","rasa-open-source-conversational-ai-framework-5614239c","Rasa — Open Source Conversational AI Framework","Rasa is a Python framework for building contextual AI assistants with natural language understanding, dialogue management, and custom action support for text and voice channels.",143,{"id":67,"uuid":68,"slug":69,"title":70,"description":71,"author_name":72,"view_count":73,"vote_count":24,"lang_type":25,"type":74,"type_label":75},3637,"bf886e93-454a-5713-8b61-1456eb2fefee","haiku-rag-agentic-rag-cli-mcp-server","haiku.rag — Agentic RAG CLI + MCP Server","haiku.rag is an agentic RAG toolkit with CLI, Python API, and MCP server; verified 524★ and supports `add-src`, `ask --cite`, and `serve --mcp`.","Agent Toolkit",147,"mcp","MCP",{"id":77,"uuid":78,"slug":79,"title":80,"description":81,"author_name":41,"view_count":82,"vote_count":24,"lang_type":25,"type":83,"type_label":84},220,"b4f588a5-2aec-4142-9db3-d760bc153704","anythingllm-all-one-ai-knowledge-base-b4f588a5","AnythingLLM — All-in-One AI Knowledge Base","All-in-one AI app: chat with documents, RAG, agents, multi-user, and 30+ LLM\u002Fembedding providers. Desktop + Docker. Privacy-first, no setup needed. 57K+ stars.",229,"script","Script",{"id":86,"uuid":87,"slug":88,"title":89,"description":90,"author_name":91,"view_count":92,"vote_count":24,"lang_type":25,"type":26,"type_label":27},4299,"f97fbb29-8d4c-4c89-b7fb-84c98320972f","claude-code-agent-customer-support-f97fbb29","Claude Code Agent: Customer Support","Customer support and documentation specialist. Use PROACTIVELY for support ticket responses, FAQ creation, troubleshooting guides, help documentation, and customer satisfaction...","TokRepo精选",73,{"id":94,"uuid":95,"slug":96,"title":97,"description":98,"author_name":99,"view_count":100,"vote_count":24,"lang_type":25,"type":26,"type_label":27},3036,"df7ef231-374f-439f-882e-b15c62291744","humanlayer-approval-loops-for-coding-agents","HumanLayer — Approval Loops for Coding Agents","HumanLayer adds human approval and delegation loops around coding agents. Use it when autonomous edits need review, escalation, or team signoff.","HumanLayer",40,"tokrepo install pack\u002Fai-customer-support-stack",{"pageType":103,"pageKey":8,"locale":104,"title":105,"metaDescription":106,"h1":107,"tldr":108,"bodyMarkdown":109,"faq":110,"schema":126,"internalLinks":132,"citations":145,"wordCount":158,"generatedAt":159},"pack","zh","AI 客服支持栈 — 10 个开源资产搭 SaaS Tier-1 客服","Chatwoot \u002F Zammad \u002F FreeScout \u002F Erxes \u002F Botpress \u002F Rasa \u002F haiku.rag \u002F AnythingLLM \u002F Claude Code 客服 agent \u002F HumanLayer — 一套开源栈，SaaS 团队不交 Intercom\u002FZendesk 座席税就能跑 AI 辅助 tier-1 客服。","AI 客服支持栈 — SaaS 团队的 Tier-1 装备","十个资产，按真实链路排：选一个收件箱（Chatwoot \u002F Zammad \u002F FreeScout），加一层 CX OS，用 chatbot + 对话式 AI 做分流，用 RAG 知识库把答案锚定到自家文档，让 AI agent 起草工单回复，硬骨头交给 HumanLayer 拉真人审。","## 这个 pack 包含什么\n\n这是 SaaS 团队决定「tier-1 客服必须扩起来但不能翻倍招人」那一周会搭的栈，不是供应商博客上那种功能勾选清单。每一件都是**开源**、**可自托管**、在「工单到解决」流水线里有真实位置的。账单这件事很重要：10 座席的 Intercom 月费基本等于一台 Hetzner 跑完整套栈的成本。\n\n顺序有意义，每层都默认下一层已经在。停在第 4 步你有一个能跑的人工客服台；停在第 9 步你有 AI 辅助客服；第 10 步（HumanLayer）保证 AI 哪天兴致一来要退款 $40K 年单时你能拦住。\n\n## 推荐安装顺序\n\n1. **Chatwoot** — 从全渠道收件箱开始。邮件、网页聊天 widget、WhatsApp、Instagram DM、Twitter 全落到一个队列。这是 Intercom\u002FZendesk 替代品，也是人类客服真正生活的界面。Docker 自托管，配支持邮箱 MX 记录，挂 widget JS — 中午之前就能跑起来。\n2. **Zammad** — 主渠道是「邮件 + 电话 + SLA 报表」而不是聊天时的工单替代选项。Chatwoot 和 Zammad 选**一个**做记录系统，并行跑两个就是日后要还的数据碎片化债。Zammad 适合财务和运维要传统工单报表的 B2B 场景。\n3. **FreeScout** — 第三个收件箱选项，给最小的团队用。1-3 人共享邮箱、Chatwoot 显得重时，FreeScout 跑 Laravel 一台 $5 VPS 就够。每周对话数过 200 再升级到 Chatwoot。\n4. **Erxes** — CX 运营层。收件箱有了之后，你需要一个跨渠道的客户画像、success 团队看的 segment 视图、营销活动接口。Erxes 紧挨 Chatwoot\u002FZammad 部署，用一个自托管骨架替掉 HubSpot + Zendesk 的双套配置。\n5. **Botpress** — 做 tier-1 分流的可视化 chatbot。「密码重置的链接是啥」这种 60% 的工单根本不该到真人那里。Botpress 挂在 Chatwoot 聊天 widget 前面，按你画一次的流程接走 FAQ 流量，剩下的才升到人类队列。\n6. **Rasa** — 对话式 AI 框架，等 Botpress 的可视化流撞到天花板那一天。Rasa 给你真正的意图分类、多轮对话管理、Python 自定义动作。等你有 3-6 个月的工单数据真能训意图时再上，别更早。\n7. **haiku.rag** — RAG CLI + MCP server。这一层把你 help center 的 markdown 变成可引用的答案。`haiku-rag add-src .\u002Fdocs && haiku-rag ask --cite \"如何轮换 API key\"` 会返回文档段落和源链接。接到 Botpress、Rasa、下面的 AI agent 里，每个答案都锚定到**你的**文档而不是 LLM 的训练集。\n8. **AnythingLLM** — 知识库前端。haiku.rag 是可编程的原语，AnythingLLM 是客服经理用来上传 PDF、同步 Notion 导出、给政策打 tag、观察 bot 被问啥的 GUI。喂第 5-7 步的语料库的唯一真相源。\n9. **Claude Code Agent: Customer Support** — 装进 Claude Code，LLM 就能基于打开的工单 + 你的 RAG 语料库起草工单回复、FAQ 条目、排障指南。输出写到 Chatwoot\u002FZammad 是**草稿**，回复质量看板没攒够数据之前永远不要自动发。\n10. **HumanLayer** — 升级路由。agent 要退款、注销账号、对外发消息的那一刻，HumanLayer 把这个调用包成审批循环：真人收到 Slack 通知看到拟动作，要么放行要么直接回复。生产 AI 客服上这一层不可妥协。\n\n## 它们怎么协同\n\n```\n客户\n  │\n  ▼\nChatwoot（或 Zammad \u002F FreeScout）  ◄── Erxes（CX 画像 + segment）\n  │\n  ├─ Botpress（FAQ 分流）\n  │     └─ Rasa（流撞天花板时上意图 + 对话）\n  │\n  ▼\nClaude Code Agent: Customer Support\n  （起草工单回复）\n  │\n  ├─ 由 ─►  haiku.rag  ◄── AnythingLLM（语料库后台）\n  │   锚定\n  │\n  ▼\nHumanLayer（退款 \u002F 注销 \u002F 对外消息审批）\n  │\n  ▼\n真人客服 或 自动结案\n```\n\n关键的连接是 **haiku.rag + HumanLayer**：RAG 让 agent 不胡说**事实**，HumanLayer 让 agent 不乱做**允许之外的动作**。没有 RAG，bot 会瞎编价格档位。没有 HumanLayer，bot 哪天就把客户的 $40K 年单全退了，就因为客户打了几句脏话。\n\n## 你会遇到的取舍\n\n- **Chatwoot vs Zammad vs FreeScout** — Chatwoot 是聊天优先、widget 和收件箱 UX 最现代，B2C 或 PLG 选它。Zammad 是工单优先、SLA 报表是财务团队期待的格式，B2B 和企业级选它。FreeScout 最便宜最好运维，团队 ≤5 人选它。\n- **Botpress vs Rasa** — Botpress 上线快，CS 经理自己就能编流。Rasa 要 Python 和 ML 工程师在屋里。先默认 Botpress，等真有对话日志可以训了再切（或加上）Rasa。\n- **AnythingLLM vs 原生向量库** — AnythingLLM 用性能上限换可用的管理界面。1 万文档以内是对的。超过这个量级，把存储层换成 pgvector 加一个薄壳 UI。\n- **AI 草稿自动发 vs 人在环路** — 所有团队都想自动发。没有质量看板就开自动发的团队，一个月内全部回滚。前 2000 个工单老老实实让草稿是草稿；看回复编辑率（目标 \u003C15%）告诉你什么时候可以放松。\n\n## 常见踩坑\n\n- **两个收件箱并行跑** — 「我们慢慢迁移」基本都会变成「我们永远有两套系统」。在 Chatwoot\u002FZammad\u002FFreeScout 里选一个，承诺下来。第一天迁完比拉一年分裂数据便宜得多。\n- **让 RAG 看到只能内部看的文档** — 你的语料库**会**通过引用泄漏出去。每个文档打受众 tag（public\u002Finternal\u002Fconfidential），让 haiku.rag 在检索时过滤。每季度审一次过滤器。\n- **「低风险」动作跳过 HumanLayer** — bot 群发一封不合时宜的事故公告给 30K 用户那一天，你会希望「退款审批」和「对外消息」都走同一条审核路径。从 day 1 两个都包起来。\n- **没有回复质量看板** — 没有编辑距离和按渠道的 CSAT 指标，你就没有放权 AI 的信号。看板要在 AI 草稿开关打开之前建，不是之后。\n- **把 chatbot 当成产品** — Botpress\u002FRasa 存在的意义是**快速路由到正确答案**，不是娱乐客户。用户打了两条消息，bot 既没回答也没升级，就是失败。",[111,114,117,120,123],{"q":112,"a":113},"真给 SaaS 团队搭起来要多久？","5 人 SaaS 的现实时间线：第 1 周 — Chatwoot 上一个子域名、支持邮箱迁过去、widget 部署（2 天集中干活，剩下都是等 DNS）。第 2 周 — haiku.rag 把现有 help center 索引完、AnythingLLM 开放给客服经理做语料管理。第 3 周 — Botpress 接管 top-10 分流意图（密码重置、账单门户链接、状态页）。第 4 周 — Claude Code 客服 agent 在 Chatwoot 里起草回复，所有触及账单或对外邮件的动作都过 HumanLayer。合计：一个全职工程师一个月。Erxes 和 Rasa 等基础稳了 2-3 月后再上。",{"q":115,"a":116},"和真实 Intercom\u002FZendesk 账单比成本是多少？","纯基础设施：一台 Hetzner CCX23（4 vCPU、16 GB RAM，约 30 美元\u002F月）跑 Chatwoot + Erxes + Botpress + haiku.rag + AnythingLLM 完全够。加上 LLM 账单（爬坡期 10-50 美元\u002F月）和 Anthropic credits 给客服 agent 用。对比 Intercom 起步约 39 美元\u002F座席\u002F月加 AI 解决条数费，或 Zendesk Suite Professional 起步约 115 美元\u002F座席\u002F月 — 10 个座席就月省四位数，AI 解决条数附加费还没算。",{"q":118,"a":119},"AI agent 真能不要人就把工单结掉吗？","技术上能，前 3 个月**不建议**。把 Claude Code 客服 agent 配成「起草不发」。盯回复编辑率 — AI 草稿被真人改动的比例。500 个工单稳定在 15% 以下，再把特定意图类目（密码重置、状态页问题）放权到自动发，退款 \u002F 注销 \u002F 对外消息这些继续走 HumanLayer。完全自动结案只留给 Botpress 已经在跑的只读分流路径。",{"q":121,"a":122},"为啥同一个 pack 里 Chatwoot **和** Zammad 都进了？","因为选哪个看你的渠道结构，搭这套栈的 SaaS 团队两个都该评估再定。聊天和社媒 DM 占 60%+ 流量就选 Chatwoot — widget 和收件箱 UX 是同类最好。邮件 + 电话主导、运维团队要按优先级出 SLA 报表选 Zammad。FreeScout 是 ≤5 座席团队跳过 Postgres 部署的逃生口。**只选一个**做记录系统，另外两个是备选不是推荐。",{"q":124,"a":125},"Day 1 的 RAG 语料从哪儿来？","按顺序三个来源：(1) 已有 help center — 导出 markdown 直接喂 haiku.rag；(2) 历史 top-50 已解决工单匿名化后粘到 AnythingLLM 一个 'resolved-cases' workspace；(3) 内部运行手册，但**只在**打完 'public' \u002F 'internal' tag 并确认 haiku.rag 真的会过滤之后。跳过产品营销文案 — 那是地球上最差的 RAG 源，全是含糊的利益话术，没有任何 bot 能引用的事实内容。",{"@context":127,"@type":128,"name":13,"description":129,"numberOfItems":130,"inLanguage":131},"https:\u002F\u002Fschema.org","ItemList","十个开源资产，给 SaaS 团队搭 AI 辅助 tier-1 客服：收件箱、工单、CX OS、chatbot、对话式 AI、RAG 知识库、AI 起草 agent、人工接管升级。",10,"zh-CN",[133,137,141],{"url":134,"anchor":135,"reason":136},"\u002Fzh\u002Fai-tools-for\u002Fautomation","AI Agent 自动化工具集","客服流水线复用了和更大自动化目录相同的工作流 + RAG 原语",{"url":138,"anchor":139,"reason":140},"\u002Fzh\u002Ftopics","浏览其他主题 pack","相邻 pack 覆盖 RAG 流水线、agent 可观测性、给客服团队的知识库系统",{"url":142,"anchor":143,"reason":144},"\u002Fzh\u002Ffeatured","TokRepo 精选资产","这十个资产是更大的 agent-ready 精选目录的一部分",[146,150,154],{"claim":147,"source_name":148,"source_url":149},"Chatwoot 是开源的 Intercom\u002FZendesk 替代品，提供全渠道收件箱","Chatwoot 官网","https:\u002F\u002Fwww.chatwoot.com\u002F",{"claim":151,"source_name":152,"source_url":153},"Rasa 是开源的对话式 AI 框架，含 NLU 和对话管理","Rasa 官网","https:\u002F\u002Frasa.com\u002F",{"claim":155,"source_name":156,"source_url":157},"HumanLayer 给自主 agent 动作加人工审批循环","HumanLayer 官网","https:\u002F\u002Fwww.humanlayer.dev\u002F",1850,"2026-05-22T13:00:00Z"]