AI觉醒星球
Awakening is here
Knowledge File / AI技能杠杆
2026-05-05 0 浏览 会员

趋势解读:Reduce friction and latency for long-running jobs with,聚焦 Agent 工作流自动化

Google Gemini API 推出事件驱动的 Webhooks,用于长时间运行的 Agent 任务,消除轮询,提高效率。

SOURCE / AI技能杠杆 MIN / 9 ACCESS / 会员 POST / 2026-05-05 06:00:06

原贴

查看原文
作者:Lucia LoherProduct ManagerGemini API 来源站点:blog.google 原贴时间:
趋势解读:Reduce friction and latency for long-running jobs with,聚焦 Agent 工作流自动化

原文

We're making it easier and more efficient to build complex, long-running agentic applications with the Gemini API Webhooks. Your browser does not support the audio element. Today, we're making it easier and more efficient to build complex, long-running agentic applications with the Gemini API. We are introducing event-driven Webhooks, a push-based notification system that eliminates the need for inefficient polling. As Gemini shifts toward agentic workflows and high-volume processing — like Deep Research, long video generation, or processing thousands of prompts via the Batch API — operations can take minutes or even hours. Until now, developers had to rely on continuous polling (e.g., repeatedly calling GET operations) to check if a job was completed. Now, the Gemini API can simply push a real-time HTTP POST payload to your server the instant a task finishes. We’ve built this with reliability and security in mind. Our implementation strictly adheres to the Standard Webhooks specification. Every request is signed using webhook-signature , webhook-id , and webhook-timestamp headers, ensuring idempotency and preventing replay attacks. We also guarantee "at-least-once" delivery with automatic retries for up to 24 hours. You can configure webhooks globally at the project level (secured via HMAC), or override them dynamically on a per-request basis to route specific jobs (secured via JWKS). Here's a quick example of how you can dynamically configure a webhook for a batch task using the Python SDK: This feature is available now for all developers using the Gemini API: Read the guide: Check out the Webhooks documentation to explore the full event catalog and learn how to secure your endpoints. Hands-on practice: We've prepared a comprehensive Cookbook to help you build an end-to-end integration with webhooks.

中文翻译

我们正在让使用 Gemini API Webhooks 构建复杂、长时间运行的代理应用程序变得更容易、更高效。今天,我们正在让使用 Gemini API 构建复杂、长时间运行的代理应用程序变得更容易、更高效。我们引入了事件驱动的 Webhooks,这是一种基于推送的通知系统,消除了低效轮询的需要。

核心信息

Google Gemini API 推出事件驱动的 Webhooks,用于长时间运行的 Agent 任务,消除轮询,提高效率。

  • Gemini API 新增事件驱动 Webhooks,替代轮询。
  • 支持长时间任务,如 Deep Research 和批量处理。
  • 基于标准 Webhooks 规范,含重试与安全验证。
  • 可全局或按请求动态配置 Webhooks。
  • 立即迁移可提升 Agent 应用效率与可靠性。
试看内容

成为会员查看完整内容

你已经看到了这篇内容的前置整理,剩余深度部分仅对会员开放。

详细解读 信息差价值 参考来源
成为会员查看完整内容
上一篇 趋势解读:The latest AI news we announced in April,解读最新研究结论 下一篇 版本更新:crewAIInc/crewAI 1.14.5a2,解读最新 AI 进展