平台 · Agent · 集成
三位来自不同位置的从业者——MIA 的应用研究者 Frederique、Bell Canada 的企业 AI 负责人 Shao、加拿大主权 GPU 云 Buzz HPC 的 Allan——围绕一场心理健康 AI 黑客松展开圆桌:从平台该提供什么、Codex/Claude Code/Cursor 这些"Pokemon 名字"工具其实可以替换底层模型,到从 AP…
学术研究、电信巨头企业 AI、加拿大主权 GPU 云——三人围绕同一个黑客松,给出三种完全不同的 stack 答案。
Claude Code、Codex、Cursor、OpenCode……你以为是产品,其实只是壳。底层模型是可以替换的。
从"5 分钟拿 API key"到"第一张账单"再到"自托管开源模型"——这是每个 AI 团队都要走的弯路。
"很容易做出 demo,但产品要 95% 才能上线。" Frederique 一句话点破无数项目的失败原因。
为什么闭源 API 永远不给你"完全控制"?因为同一把钥匙能让 Claude 说出"how to build a bomb"。
"我们有一个 agent 给 Jira 付了 10,000 次款。" 沙盒不够、可观测性不够、护栏不够——这是企业落地的真正瓶颈。
Frederique · 来自 MIA(魁北克的研究-产业桥梁组织),帮多家伙伴搭 AI 应用早期版本。
Shao · 来自 Bell Canada,关心企业级治理、可观测性、采购已有 SaaS 的 AI 升级。
Allan · 来自 Buzz HPC,加拿大最大的主权 AI 云,提供 GPU、推理服务、开源模型托管。
三人有一个共同战场:一周内拉到 100+ 队伍、1000+ 提交的心理健康 AI 黑客松。
Bell Canada、Kids Help Phone、MIA、Buzz HPC 一起办了一场黑客松——主题是:对话式 agent 在涉及自杀意念等敏感场景时,何时应该交给人类。
"we had over 100 teams participating in a hackathon"
"we ended up building a self-service infrastructure so teams could just trigger jobs and see how they fared and then we displayed those on a leaderboard"
经济下行、政治紧张让心理健康议题热度极高。几家加拿大公司凑在一起办这件事,本身就是一种主权 AI 实践——既不送数据出国,也不依赖海外 API。
作者概括:这场黑客松成了三人后续讨论的共同坐标系。后面所有关于"平台 / 开源 / 治理"的争论,背后都是这个真实项目。
Frederique 描述他们如何"在最后一刻搭"出整个评测基础设施:
"it was a something we built at the last minute but it was super used. We had a thousand submissions throughout the week."
中间 Shao 的团队还往里塞了一个"隐藏数据集"——之前自我感觉良好的队伍瞬间慌了,分数完全洗牌。
能不能在用户暴涨时弹起来,不在最关键的时刻挂掉。
出问题的时候真的能找到人,而不是抛工单进黑洞。
他提到 Google 的 Model Armor——大企业本来就有大量治理合规需求,平台能内建多少就少多少要开发者自己写。
对加拿大企业来说,"数据不能离开本国"是硬性合规线。Buzz 的存在直接对应这条。
注意 Shao 没有把"最强模型"放进清单——企业级关心的是可预期性,而非 SOTA。
"any of these names... they sound like Pokemon sometimes."
Allan 揭了个很多人不知道的内幕:这些"AI 编程产品"——底下用的模型是可以换的。
Claude Code = Anthropic Claude
Codex = OpenAI
Cursor = 黑盒
这些工具只是harness(外壳)。底层 inference endpoint 可以指到任意开源模型。
你可以让 Claude Code 用 Qwen / MiniMax / Mistral / Cohere 跑,规避 token 费用与 5 分钟即逝的 prompt cache。
Frederique 当场反应:"I didn't know cloud code can actually plug into like an open source model. That was really interesting. I'm going to talk to my team about that."
"a lot of them are good now for AI agentic coding... and you can power claude code using any of these models, and it's cheaper."
Allan 提了一个 Twitter 上的小事故:
有人把法国画家 Monet 的一幅冷门睡莲画发在 Twitter 上,谎称是 AI 画的——评论区瞬间炸开:"太糟了、构图不行、根本不像 Monet"。
但那是一张真画。
"people actually like the outputs of AI until they know that something was written by AI."
通过 sampling / 模型内部干预消除 slop 与重复短语——这是开源 stack 才能做的事,闭源 API 给不了你这个 knob。
Frederique 把 GenAI 学习曲线总结成了一句话:
"you don't really care about tokens initially but eventually when you... get your new invoices, this is when you..."
API key 五分钟拿到,你不在乎 token,OpenAI/Claude 直接调。
账单 + rate limit 同时降临。原来 token 真的是钱。
开始研究开源模型 + 自己管 GPU。但这是一门新手艺——所以你需要 Buzz 这样的平台。
《大空头》原型 Michael Burry 一直说"老 GPU 不赚钱"。Allan 直接打脸:
"that guy's wrong."
A100 GPU 现在已经七年了。去年中位价 ~$1.50/hr,现在很难在 $2/hr 以下找到。
"we're seeing extreme hardware inflation across the industry. So anything we're talking about right now with calculations around tokenomics, we have to understand that it could change."
作者概括:在做 unit economics 的时候,GPU 现货价的波动幅度本身就是一个变量,而不是给定常数。
Allan 反复纠正主持人的"大小观"——模型 size 和 GPU size 是两件事,GPU 世代差距更要紧。
显存能装下 + FP4 高效 → Blackwell 完胜;
显存装不下 → A100 仍是答案。
关键洞察:选 GPU 不是"越新越好"——而是先看你的模型能不能装得下。
MacBook Pro 本地跑得动的范围——但限制非常明显,prompt 稍长就崩。
需要 H100 / Blackwell 集群。开始对标 Sonnet / Opus / Gemini,长 context 才稳。
"competitive and often still cheaper with more flexibility than Sonnet or Opus"——但只有真严肃用 AI 才打得起这套牌。
"you really start seeing the models be able to handle the much longer contexts and feel very competitive and... still a lot cheaper... with a lot more flexibility especially around diverse generation than Sonnet or Opus."
主持人问 Allan:"你们能 scale down to zero 吗?"
Allan 的回答很果断:能——既能 warm start 也能 cold start,function-as-a-service 思路完整支持。
GPU 闲着也是闲着——不用就关,按需起。
对小项目 / dev 环境 / 突发流量场景非常友好。
VLLM / SGLang / TensorRT-LM(Nvidia 独占场景)多副本并行。
所以同样的 stack 能撑住 burst 流量,也能省钱待机。
作者概括:这是 GPU 从"长租车位"变成"打车"的关键能力。但前提是你不在乎冷启动延迟。
行业广泛抱怨——闭源模型上线一段时间后会被悄悄降级("nerfed"),但你不知道。
"there is an automatic pro model upgrade and the prompts that you have, the use cases that you had all of a sudden doesn't work."
一觉醒来,昨天还过的测试全挂了。你的 prompt 没动、代码没动——是上游模型动了。
"if we're going to give you a quantized model at Buzz, we're going to tell you and we're not going to do any of the like quiet nerfing."
托管 = 你可以钉住一个版本不动。这是合规与可重现实验的底层依据。
Shao 总结:能 talk to a frozen version of an open-source model(比如 HuggingFace 上的具体 commit)—— 这是企业要的。
Frederique 的精准诊断(基于他三年 GenAI 应用经验):
"it's very easy to get a quick prototype going... and it gets you about 80% of what you need... but what's hard is to go from the 80% to the 95% which you need if you want to deploy this in production."
这就是为什么大量 GenAI 项目止步于 demo——hackathon 演示能 wow 所有人,但生产环境要的是另外那 15%。
"we tend to over rely on LLM as a judge. So... we're not sure if it's working or not. Let's ship this decision to another LLM. But then who evaluates the LLM judge? It's just kicking the can later."
Allan 补充:AI 研究 peer review 里,LLM-as-judge 早就被 "show me real human evaluations" 顶回去了。
专家级人工标注——有些领域 $200/hr 的人在做(远高于 mechanical turk 的"第三世界一美元一题"刻板印象)。少量这类数据 + RLHF 能跑出非常好的个性化模型。
有"可验证答案"的任务——比如 code editor + debugger 的错误信息回路——本质上就是一个 RL gym。
视频模型生成"popcorn world"、月球表面这类合成世界,让 agent 在里面尝试动作——10 亿级合成 example 跑 robustness。
数学界用 Lean 这种证明检查器配 LLM,已经在啃埃尔德什未解问题——可验证奖励落到极致的样子。
Allan 提醒:Buzz 上能跑这些 RL gym 流程,但"turnkey 一键 RL"的产品化还在路上——目前需要工程师配合架构。
企业现实是没人会"all-in 自研"——大多数公司同时在跑三层:
L1 · 全员 LLM 平台
启动一个 enterprise 级 LLM 入口,员工自助搭 prompt + RAG。门槛极低、ROI 立竿见影。
L2 · 已购 SaaS 加 AI
"我们 SaaS 已经买了 N 个,每家都在塞 AI 进去——先把这一波价值用满,不再去 fish for new SaaS。"
L3 · 定制深度构建
基于云 + 开源 + 自研团队的生产业务系统——这才是真的高门槛、高定制、高回报。
"we're almost like already overwhelmed by existing SaaS with AI functionality"——大企业的现状不是"缺 AI",是"塞太满"。
"it still feels like a far west to me."
整个 LLM 应用栈在快速增生:原本只有 LLM + prompt,后来加上 RAG → tools → memory → context → MCP servers → harness——每个月都有新概念入栈。
"I really don't want to be attached to a particular stack."
"in six months we probably would build it differently."
不要 marry 任何一个 framework。
"you are very clear on what the exit ramp is for whatever you have and are using."
每个技术选型都要在脑子里写好"撤退路线"。
"It needs to bring value today... but know that you will need to evolve this thing." —— 今天能上线 ≫ 长期最优。
Allan 介绍了大多数应用工程师不太了解的杀器——constrained / structure generation。
例子:让模型给一个 0-10 的评分。
普通做法:在 prompt 里反复祈求"只输出数字"——模型仍可能写 "ten" 或先思考一通。
Constrained 做法:把 vocabulary 里所有不是 0-9 的 token 全部 ban 掉——模型连吐错都做不到。
底层栈:Pydantic 写 schema → 编译成 X-grammar / outlines / guidance → 在 VLLM / SGLang 里强制执行。
这个能力可以拓展成"永远先调某个工具"、"永远按这个顺序调"——把 agent 行为从"祈祷"变成"硬约束"。
Allan 直接说了真相——同一把钥匙可以打开后门。
让 Claude 永远先调 search、永远输出合法 JSON、永远跟既定顺序——强制服从。
"prefix editing approach actually dramatically raises the risk of even aligned and safe models becoming unaligned and unsafe. Things like this are why closed source model providers don't give you any control."
Buzz 立场:服务条款限制恶意用途,但功能控制权完全给用户——基于"客户会负责"的信任假设。
Allan 解释了一个反直觉现象——OpenAI/Google 的 Deep Research 能跑出几百源、几百万 token 的报告,但 Claude Code / Codex 的报告能力远不如。
"they take advantage of a deterministic, quasi-deterministic loop."
确定性循环 + structure generation 强制执行各步骤 —— 然后允许 LLM 在每一步内部自由发挥。这才是高质量长任务的路径。
Allan 的延伸:你可以为任何垂类领域造自己的 "deep research"——"deep tax preparation"、"deep legal review"……方法都是同一套:确定性 skeleton + LLM in-the-loop。
Shao 的企业视角——任何"严肃"公司都不会接受 agent 没有 governance 和 observability。
"I heard a story of one of our agents sort of paying Jira like 10,000 times something to that effect."
一个 agent 把同一笔 Jira 付款重复执行了 10,000 次。操作风险是实打实的钱。
治理不只是"别删 db"——还包括:
Shao 的论断:给 agent 的 observability 应该和给员工的一样(也许不到同样的精细度,但是同样的态度)。
主持人问:"如何让一个 agent 验证另一个 agent 写的代码?" —— 两种实战做法 + 一个深层观察:
监听 PR → playwright/puppeteer 截图 → 点链接、点按钮 → 再截图 → 写完整测试报告。作为 skill 自动跑。
把代码推到模拟环境先跑一遍,看坏不坏,再决定能不能进 main。
"LLMs are trained on text and code is text... what they're not so good at is UX and design."
LLM 写 CSS 很顺,但不知道渲染出来长什么样。所以必须有一个 write code → render → screenshot → LLM 看图 → 修 的视觉闭环 ——没有它,agent 永远写不出好 UI。
主持人引用了观众 Lav 的问题:当 agent 在生产环境跑偏的时候,哪些遥测数据最有用?
"from my experience it's a lot of the tool use telemetry. What tools were called, what MCP servers were called."
—— 主持人。最能看清 agent 是否陷入 loop 或在乱编。
排查一个故障可能涉及上亿 token。如果你用 LLM 来读这些 trace——成本会失控。
所以好的 observability UI 要能用 heuristic(非 AI)过滤 + flag,把 LLM 留给真正需要语义理解的那 5% 场景。
"before failure detection you probably want failure prevention."
原始 MCP 给 agent 太多权限——可以删 db、可以付 Jira 1 万次、可以乱起 AWS 资源。
在 MCP 外面套一层 wrapper——只暴露可逆操作;不可逆动作要么禁用、要么二次确认。
"if it fails, sure you can get it to try again, but you know that it's not going to make any sort of irreversible damage."
试错变得便宜。
作者概括:这其实就是经典软件工程的"幂等性"原则——只是在 agent 时代被重新提出来,因为 LLM 比人更容易做傻事。
"it's more like delaying the inevitable if you've got an agent that really wants to break out of a particular environment."
没人能保证 sandbox 关得住一个聪明 agent。
看 Nvidia 的 Nemo 系产品——本质就是"带更好沙盒的 OpenCode",但社区仍能找到逃逸 case。
沙盒是一层防御,不是唯一防御。
硬件层面的限制 + 可逆操作 wrapper + observability 三层叠加,才是企业生产的真实姿态。
主持人的反应很有意思:"Well, I don't like to think about that."—— 但 Allan 觉得正因为没人愿意想,所以更应该说出来。
"they sound like Pokemon sometimes."
"it gets you about 80% of what you need... but what's hard is to go from the 80% to the 95%."
"who evaluates the LLM judge? It's just kicking the can later."
"it still feels like a far west to me."
"people actually like the outputs of AI until they know that something was written by AI."
"one of our agents sort of paying Jira like 10,000 times something."
"delaying the inevitable if you've got an agent that really wants to break out."
"before failure detection you probably want failure prevention."
—— Frederique,关于现在搭的所有 agent stack
MLOps.community · 架构现代 AI 系统
Frederique · Shao · Allan