PulseAugur
实时 07:28:07
English(EN) What a Daily LLM Digest Agent Costs to Run for a Year: $166 and 34 Hours A full year of running one scheduled LLM digest agent in production: the token bill per

AI 代理开发:成本、幂等性和验证挑战

一位开发者分享了运行 AI 代理的运营成本和挑战的见解,特别关注 LLM 摘要代理。其中一篇文章详细介绍了运行每日 LLM 摘要代理的年度成本,该成本为 166 美元,并且在出现故障时需要 34 小时的人工干预。另一篇文章讨论了在代理设计中实现幂等性的重要性,以确保进程在中断后可以恢复,防止任务(如发布)部分完成。最后,第三篇文章强调,仅进行模式验证不足以保证代理输出的质量,因为即使数据格式正确,如果其含义未经验证,也可能导致构建失败。 AI

影响 为构建和部署 AI 代理的开发者提供了实用的见解,重点关注成本、可靠性和验证。

排序理由 开发者博客文章讨论 AI 代理开发的实际挑战和成本。

在 Mastodon — fosstodon.org 阅读 →

AI 生成摘要 · Google Gemini · 来自 3 个来源。 我们如何撰写摘要 →

AI 代理开发:成本、幂等性和验证挑战

报道来源 [3]

  1. Mastodon — fosstodon.org TIER_1 English(EN) · [email protected] ·

    Schema 验证不足以应对:当 Agent 输出通过 Zod 检查但仍导致构建失败 Zod 检查 Agent 返回内容的结构。您的构建检查...

    Schema Validation Is Not Enough: When Agent Output Passes Zod and Still Breaks the Build Zod checks the shape of what your agent returned. Your build checks what that shape means. Four failure classes that survive a clean parse, and the three-layer validation pass we run instead.…

  2. Mastodon — fosstodon.org TIER_1 English(EN) · [email protected] ·

    幂等性是全部:让发布代理在中间被杀死时存活 运行到一半的发布会留下一些已发布和一些未发布。这里 i

    Idempotency Is the Whole Game: Making a Publishing Agent Survive a Mid-Run Kill A publish run that dies halfway leaves some channels posted and some not. Here is the per-channel ledger design that makes cross-posting resumable, why exit code 0 is not a receipt, and what to do whe…

  3. Mastodon — fosstodon.org TIER_1 English(EN) · [email protected] ·

    运行一个每日大语言模型摘要代理一年需要多少成本:166美元和34小时。一个计划中的大语言模型摘要代理在生产环境中运行一整年的成本:每月的代币账单

    What a Daily LLM Digest Agent Costs to Run for a Year: $166 and 34 Hours A full year of running one scheduled LLM digest agent in production: the token bill per stage, the infrastructure line items, the 41 runs that needed a human, and which failures were actually expensive. http…