跳到主内容
@wquguru
精选88Google Cloud AI 博客(RSS)技巧与观点

Google Cloud提出生物制药高算力Agent三层架构模式

Architecting autonomy: A design pattern for high-compute, governed agents in biotech

原文
发到 X
推荐理由

提供了一套完整的生物制药场景下高算力Agent落地架构,涵盖冷启动优化、多Agent协作与数据隔离的具体工程实践,对从事垂直领域Agent开发的同学极具参考价值。

In production systems today, most AI agents operate as lightweight dispatchers. They parse a prompt, make an API call, retrieve a record, and hand back control. Their execution is fast, stateless and cheap. Biotechnology does not work this way.

在当今的生产系统中,大多数 AI 智能体作为轻量级调度器运行。它们解析提示词,发起 API 调用,检索记录,然后交回控制权。其执行速度快、无状态且成本低廉。但生物技术并非如此运作。

Folding a protein target, screening a 50,000 compound ligand library, or evaluating structure-activity relationships (SAR) are not quick API lookups. They are sustained, stateful, GPU-bound simulations that run for minutes or even hours across specialized silicon. When you ask a general-purpose large language model (LLM) endpoint to coordinate a complex drug discovery workflow, the standard paradigm breaks: Timeouts occur, context windows overflow with atomic coordinates, and proprietary chemical Intellectual Property (IP) risks exposure to external networks.

折叠蛋白质靶点、筛选包含 50,000 个化合物的配体库,或评估构效关系(SAR),都不是快速的 API 查询。它们是持续运行、有状态且受 GPU 限制的模拟任务,在专用硅芯片上运行数分钟甚至数小时。当你要求通用大型语言模型(LLM)端点协调复杂的药物发现工作流时,标准范式就会失效:出现超时,上下文窗口因原子坐标而溢出,专有化学知识产权(IP)面临暴露于外部网络的风险。

Building enterprise grade research and development (R&D) agents requires moving past the monolithic assistant model. In this blog post, we will discuss how to use a three-layer architecture: separating cognitive orchestration (the brain) from computational execution (the muscle), and anchoring both inside an enterprise governance plane to build scalable agents for drug discovery use cases in biotech.

构建企业级研发(R&D)智能体需要超越单体助手模式。在本博客文章中,我们将讨论如何使用三层架构:将认知编排(大脑)与计算执行(肌肉)分离,并将两者锚定在企业治理平面内,从而为生物技术的药物发现用例构建可扩展的智能体。

A three-layer pattern

三层模式

The reference architecture below shows how to architect, optimize, and govern high-compute autonomous agents in biotechnology, specifically Drug Discovery.

下面的参考架构展示了如何设计、优化和治理生物技术中特别是药物发现领域的高计算量自主智能体。

Figure 1 — The three-layer pattern: a cognitive orchestrator (brain), a scalable GPU execution layer (muscle), and an enterprise governance plane.

图 1 — 三层模式:认知编排器(大脑)、可扩展的 GPU 执行层(肌肉)以及企业治理平面。

The execution layer: scaling the muscle - high-compute execution

执行层:扩展肌肉——高计算量执行

The execution layer is responsible for the heavy scientific computations. The first architectural decision is determining where workloads should run:

执行层负责繁重的科学计算。第一个架构决策是确定工作负载应在何处运行:

  • Strategic, proprietary pipelines require dedicated GPU infrastructure within your security perimeter
  • Routine or standardized workloads can safely be delegated to managed cloud endpoints
  • 战略性、专有的管道需要在您的安全边界内使用专用的 GPU 基础设施
  • 常规或标准化的工作负载可以安全地委托给托管云端点

In this architecture, protein folding is driven by ESMFold and generative design by GenMol. Both run as NVIDIA Inference Microservices or NIMs deployed on Google Kubernetes Engine (GKE) using G4 VMs backed by NVIDIA RTX PRO 6000 Blackwell GPUs.

在此架构中,蛋白质折叠由 ESMFold 驱动,生成式设计由 GenMol 驱动。两者均作为 NVIDIA 推理微服务(NIMs)运行,部署在使用 G4 VM 实例并配备 NVIDIA RTX PRO 6000 Blackwell GPU 支持的 Google Kubernetes Engine (GKE) 上。

A critical hurdle in containerized GPU workloads is the cold-start penalty, the latency delay required to pull multi-gigabyte model weights from an image registry and stage them into GPU memory (VRAM).

容器化 GPU 工作负载的一个关键障碍是冷启动惩罚,即从镜像注册表拉取多吉字节模型权重并将其暂存到 GPU 内存(VRAM)所需的延迟。

To ensure low latency responsiveness, we build the following as a recommendation into the reference architecture:

为了确保低延迟响应能力,我们在参考架构中将以下内容作为建议进行构建:

  • Maintain warm pools: Pin the GKE node pool to a minimum of one active node.
  • Preload weights: Model weights are loaded directly into VRAM at pod initialization, ensuring containers are immediately ready for inference.
  • Resilient scheduling: GKE manages pod lifecycles and restarts failed instances without tearing down the underlying VM infrastructure.
  • 维持温池:将 GKE 节点池固定为至少一个活动节点。
  • 预加载权重:模型权重在 Pod 初始化时直接加载到 VRAM 中,确保容器立即可用于推理。
  • 弹性调度:GKE 管理 Pod 生命周期,并在不破坏底层 VM 基础设施的情况下重启失败的实例。

This approach trades custom, manual CUDA kernel tuning for NVIDIA's pre-compiled, containerized runtimes, dramatically reducing infrastructure engineering overhead while ensuring deterministic throughput.

这种方法用 NVIDIA 预编译的容器化运行时替代了自定义的手动 CUDA 内核调优,大幅降低了基础设施工程开销,同时确保了确定性的吞吐量。

In biotech, chemical structures represent millions of dollars in proprietary IP. A docking request transmits SMILE strings or 3D coordinate matrices that must never leave company custody.

在生物技术领域,化学结构代表着数百万美元的专有知识产权。对接请求会传输 SMILE 字符串或 3D 坐标矩阵,这些数据绝不可离开公司的保管范围。

Containerized NIMs eliminate the friction between rapid prototyping and rigorous data isolation. During early exploration, researchers can query NVIDIA hosted endpoints. When transitioning to proprietary lead candidates, the exact same container is deployed to GKE inside a private VPC. The agent’s orchestration logic remains identical; only the target URI updates from an external proxy to an internal VPC endpoint. No structural data leaves the enterprise perimeter.

容器化的 NIM 消除了快速原型设计与严格数据隔离之间的摩擦。在早期探索阶段,研究人员可以查询 NVIDIA 托管的端点。当过渡到专有先导化合物时,完全相同的容器会被部署到私有 VPC 内的 GKE 上。代理的编排逻辑保持不变;仅目标 URI 从外部代理更新为内部 VPC 端点。没有任何结构数据离开企业边界。

The cognitive layer: Multi-agent reasoning

认知层:多代理推理

With compute execution isolated, the cognitive layer manages agentic workflow sequencing. Built on Agent Runtime, within the Gemini platform, this reference architecture shows a system that deploys a hierarchical multi-agent structure, one lead orchestrator, and two specialized domain sub-agents (Lead Optimization and Safety Screening) . The multi-agent design can be modified to suit the use case at hand.

随着计算执行的隔离,认知层管理代理工作流的序列。该参考架构基于 Gemini 平台上的 Agent Runtime 构建,展示了一个部署分层多代理结构的系统,包括一个主协调器和两个专门的领域子代理(主要优化和安全筛选)。多代理设计可根据具体用例进行修改。

Based on this design, when an end-user submits a high-level task such as “ Analyze Candidate 4b against Target X and produce a SAR report”, the system applies four core orchestration patterns discussed below;

基于此设计,当最终用户提交高级任务(如“针对靶点 X 分析候选药物 4b 并生成 SAR 报告”)时,系统将应用下文讨论的四种核心编排模式;

  • In-process native agent handoffs: The lead orchestrator delegates tasks to specialist sub-agents using Agent Runtime’s native SDK rather than network-serialized agent-to-agent HTTP protocols. This eliminates intermediate network hops and keeps internal handoffs instantaneous. Only the outermost boundary communicates outward to user-facing surfaces like the Gemini agent.
  • Passing bulky payloads by reference: LLMs degrade quickly when forced to ingest massive arrays of 3D spatial coordinates. In this architecture, raw structural data (PDB files, docking poses, trajectory logs) is written directly to Cloud Storage. Agents pass lightweight, signed object URIs and high-level structural summaries, keeping context windows compact and inference costs down.
  • Decoupling workflow logic from biochemical reasoning: General-purpose LLMs excel at task planning and synthesis, but are prone to hallucinating biochemical nuances. To control this behavior, this architecture maintains strong separation of concerns, namely, workflow and tasks decomposition are handled by Gemini. Domain chemistry and pharmacological reasoning are handled by specialized Nemotron models hosted on dedicated GPU nodes.
  • Context-driven evaluation over rigid cutoffs: Traditional computational screening enforces arbitrary numerical cutoffs (e.g., discard if binding affinity ,-7.5 kcal/mol) However, therapeutic context fundamentally alters risk tolerance. Preventive cardiovascular therapy taken daily by healthy patients requires extremely strict safety margins, or a novel oncology candidate targeting an intractable cancer may accept higher toxicity if efficacy is demonstrated.
  • 进程内原生代理交接:主协调器使用 Agent Runtime 的原生 SDK 而非网络序列化的代理间 HTTP 协议将任务委派给专家子代理。这消除了中间网络跳数,使内部交接瞬间完成。只有最外层边界才向外通信至面向用户的界面,如 Gemini 代理。
  • 通过引用传递大型负载:当被迫摄入庞大的三维空间坐标数组时,大语言模型(LLM)的性能会迅速下降。在此架构中,原始结构数据(PDB 文件、对接姿态、轨迹日志)直接写入 Cloud Storage。智能体仅传递轻量级、已签名的对象 URI 和高层级结构摘要,从而保持上下文窗口紧凑并降低推理成本。
  • 将工作流逻辑与生化推理解耦:通用大语言模型擅长任务规划与综合,但容易在生化细微差别上产生幻觉。为了控制这种行为,该架构保持了严格的关注点分离,即工作流和任务分解由 Gemini 处理。领域化学和药理学推理则由托管在专用 GPU 节点上的专用 Nemotron 模型处理。
  • 基于上下文的评估而非僵化的阈值:传统的计算筛选强制执行任意数值截止标准(例如,若结合亲和力低于 -7.5 kcal/mol 则丢弃)。然而,治疗背景从根本上改变了风险容忍度。健康患者每日服用的预防性心血管疗法需要极其严格的安全边际,而针对难治性癌症的新型肿瘤学候选药物,若疗效得到证实,则可接受较高的毒性。

By passing disease context directly into the specialized reasoning models, drug candidates are evaluated against dynamic, target-specific profiles rather than static thresholds, preventing the premature culling of viable drug leads.

通过将疾病背景直接传递给专用推理模型,药物候选物是基于动态的、针对特定靶点的谱系进行评估,而非静态阈值,从而避免了过早剔除可行的药物先导化合物。

Performance best practices for high-compute pipelines

高计算量管道的性能最佳实践

Optimizing an agentic system that interfaces with heavy GPU compute requires challenging common engineering instincts:

优化与重型 GPU 计算交互的智能体系统需要挑战常见的工程直觉:

更进一步:量化金融体系

看懂新闻只是起点——沿量化金融路径,把它变成能交付的工程能力

进入量化体系 →

相似阅读

关联信息,但可能不是同一事件