AWS ML ★ 88 5 min

How Cornerstone OnDemand cut database diagnosis by 78% with Amazon Bedrock

Amazon BedrockCustomer Solutions

🔗 https://aws.amazon.com/blogs/machine-learning/how-cornerstone-ondemand-cut-database-diagnosis-by-78-with-amazon-bedrock/

📌 資料庫故障診斷砍78%:Cornerstone 的多代理實戰

TL;DR:Cornerstone OnDemand 用 Amazon Bedrock 加 Strands Agents 打造多代理系統 Orion AI,把資料庫診斷時間從 45 分鐘壓到 10 分鐘。

半夜資料庫告警響起,工程師要手動連線 SQL Server、查系統視圖找 blocking chain、翻 log 比對慢查詢,再跨團隊交接——這套流程平均要花 45 分鐘。服務全球 140 個國家、1.4 億用戶的 Cornerstone OnDemand,用一個三人團隊、六個月時間,把這段流程重新設計成一句自然語言對話。

🤔 四十五分鐘的人工偵錯,到底卡在哪

在導入 Orion AI 之前,Cornerstone 的 Enterprise DataOps 團隊處於被動救火狀態:工程師要手動建立資料庫連線、跨系統查詢、交叉比對證據以形成根因假設;SRE 與資料團隊之間存在 15 分鐘的回報延遲;重複告警過多,稀釋了真正需要處理的訊號。團隊的時間大量花在「人工協調」而非真正解決問題。

🧩 Hub-and-spoke:一個總指揮,十三個專職 agent

Orion AI 採用 hub-and-spoke 拓撲,由一個 meta-orchestrator 負責把任務分派給 13 個領域專屬的 specialist agent,涵蓋基礎設施監控、資料庫診斷、資料庫生命週期操作、客戶分析與知識支援等。架構以 Strands Agents(AWS 的開源 agent 編排框架)為底層:Agent 類別是 specialist 與 orchestrator 共用的建構單位,工具是標上 @tool 裝飾器的一般 Python 函式,工具規格直接從型別提示與 docstring 推導,不需另外維護 schema;BedrockModel 包裝各 agent 使用的 Amazon Bedrock 模型,MCPClient 則負責連接外部工具伺服器。執行時,hub 透過內建的 call_agent 工具按名稱呼叫 specialist,每個 specialist 跑自己的工具呼叫迴圈,再把整合後的文字回傳給 hub 組裝最終回覆。

路由機制採「關鍵字優先、語意搜尋為後備」:約 80% 的查詢透過記憶體內的關鍵字快速路徑在 1 毫秒內完成判斷,無法靠關鍵字判斷意圖時才會退到 Amazon Titan Text Embeddings V2 驅動的語意搜尋;當兩者都不適用時,Amazon Bedrock Knowledge Bases 提供的 RAG 能力會檢索既有的維運文件,確保回答有據可循。記憶管理則分三層並行讀取:短期記憶存放在加密的 Amazon DynamoDB,搭配 Amazon Nova 2 Lite 非同步產生的滾動式對話摘要;長期記憶透過 Amazon Bedrock AgentCore 依使用者 ID 做跨 session 記憶,任務完成時觸發事件做摘要與整併;第三層是任務內多個 sub-agent 共用的暫存便箋。整個記憶讀取有 500 毫秒硬性逾時與 4,000 token 預算的限制,並以 LRU 快取加速。系統以容器化服務部署在 Amazon ECS 上,連線皆走 TLS,MCP token 與 REST API 授權逐次請求提供,不寫死在程式碼裡。

📊 45 分鐘變 10 分鐘,告警量砍 65%

指標導入前導入後
資料庫診斷時間約 45 分鐘約 10 分鐘(降低 78%)
人工交接步驟10 多個步驟一次自然語言互動
SRE 到資料團隊回報延遲15 分鐘消除
重複告警每 10 則剩 3–4 則送達工程師(中位數降 65%)
開發投入—三人團隊、六個月交付

診斷之外,Orion AI 也會接手後續的補救流程:定位根因、建議修復方案,並直接建立填好資訊、指派給正確 on-call 工程師的 Jira 工單。

💡 兩條設計原則:資料主權與深度整合

Cornerstone 在建構 Orion AI 時堅守兩個原則:一是在 AWS 共同責任模型下用雲端原生控制機制保護資料隱私,二是與既有維運工具深度整合,讓工程師在原本協調工作的同一個 web 應用裡與 agent 互動,而不是另開一套系統。

🎯 實務啟示

Orion AI 展示了一個可複製的模式:用窄範圍、單一職責的 specialist agent 取代一個大而全的 agent,搭配分層記憶與關鍵字優先路由控制延遲與成本。對於正考慮將 LLM 導入維運流程的團隊,這個案例證明小團隊、短週期也能交付可量化的效率提升。

🔗 來源

#MultiAgent #AmazonBedrock #StrandsAgents #DataOps #AIOps #AWS #RAG #LLMAgents #DatabaseOps #CloudComputing

原始資料 AWS ML · 收集於 2026-10-07
來源原標題
How Cornerstone OnDemand cut database diagnosis by 78% with Amazon Bedrock
作者
Derek Ziehl
原始標籤
Amazon Bedrock · Customer Solutions
原始連結
https://aws.amazon.com/blogs/machine-learning/how-cornerstone-ondemand-cut-database-diagnosis-by-78-with-amazon-bedrock/

摘要原文

Cornerstone OnDemand, Inc. (Cornerstone) is a global leader in workforce readiness solutions, serving 140 million users across 186 countries. The company built a multi-agent AI system that transforms database operations from reactive firefighting into proactive, self-orchestrating workflows. The system, called Orion AI, uses Amazon Bedrock and Strands Agents , an open source agent orchestration framework from AWS, to coordinate specialized agents. Before Orion AI, Cornerstone’s Enterprise DataOps team would spend up to 45 minutes per database incident manually querying system views and cross-referencing logs before handing off across teams. With Orion AI, database diagnosis dropped from 45 minutes to 10, a 78% reduction. A three-person team delivered the system in six months. In this post, we walk through the operational problem Cornerstone faced, how they designed Orion AI, the outcomes they measured, and the design decisions other teams can reuse. Before Orion AI, Cornerstone’s Enterprise DataOps team operated reactively, with four recurring pain points: Together, these meant engineers spent their time on manual coordination instead of resolving issues. Orion AI is a multi-agent system where a coordinating agent (the meta-orchestrator) delegates work to specialized child agents arranged in a hub-and-spoke topology. Engineers interact with it through a web application, asking questions and approving actions in the same place they already coordinate operational work. The agents cover infrastructure monitoring, database diagnostics, database lifecycle operations, customer analytics, and knowledge-driven support. Two tenets guided the build: data privacy using AWS controls under the shared responsibility model , and deep integration with existing operational tools. Amazon Bedrock provided managed access to foundation models, and Strands Agents provided the orchestration layer. Orion AI delivered measurable improvements in both diagnosis speed and accuracy and freed the team from manual coordination. By automating manual bottlenecks and streamlining cross-team workflows, Cornerstone achieved the following outcomes. Reducing database diagnosis time was Orion AI’s largest single efficiency gain to date. Previously, engineers manually connected to the affected SQL Server instance, queried system views for blocking chains and wait types, cross-referenced logs to isolate long-running queries, and correlated evidence to form a root cause hypothesis. This averaged approximately 45 minutes per incident. With Orion AI, three specialized agents share the investigation, each owning a distinct stage. Beyond diagnosis, Orion AI carries issues through remediation: identifying the root cause, recommending the fix, and creating a populated Jira ticket assigned to the right on-call engineer. A four-step manual handoff collapses into a single interaction. Tasks that previously required over 10 manual steps, from establishing database connections to running cross-system queries to communicating status updates, now run as a single natural language interaction. Orion AI identifies the right tools and data sources, runs queries across systems, validates results, and returns a unified response. From the engineer’s perspective, the work is reduced to prompting Orion AI and validating the findings it reports back. Orion AI removed the 15-minute SRE-to-data-team reporting lag, replacing periodic manual checks with continuous cross-system visibility. Orion AI reduced redundant alerts by a median of 65 percent through deduplication, threshold filtering, and cross-signal correlation. For every 10 alerts previously generated, only 3–4 now reach engineers. Alerts route directly to the responsible teams without an intermediate alerting layer. Three decisions shaped Orion AI, and you can apply them to your own multi-agent projects: Orion AI is deployed as containerized services on Amazon Elastic Container Service (Amazon ECS). Users interact through a web application that routes each request to the appropriate agent, invokes the required tools, and assembles the response. The following diagram shows how these components connect within the AWS Cloud. Figure 1: Orion AI architecture: a meta-orchestrator on Amazon ECS routes requests to specialized agents, which reach data sources through a Portal-Tools MCP server and use Amazon Bedrock for models, long-term memory, and retrieval augmented generation The preceding design principles show up concretely in the architecture. The rest of this section walks through Orion AI’s core components. Orion AI expresses its topology with a handful of Strands Agents primitives. The Agent class is the building block for both specialist agents and the meta-orchestrator. Each agent’s tools are ordinary Python functions marked with the @tool decorator. This derives a tool’s specification from the function’s type hints and docstring, meaning there is no separate schema to maintain. BedrockModel wraps the Amazon Bedrock model each agent runs on, and MCPClient connects agents to external tool servers. At runtime, the hub invokes a specialist by name through the registered call_agent tool. Each specialist runs its own tool-calling loop and returns synthesized text back to the hub, which assembles the final response. Orion AI uses keyword-first routing with a semantic search fallback. Approximately 80 percent of queries resolve through an in-memory keyword fast-path in under a millisecond. When keywords are insufficient to determine intent, the system falls back to semantic search powered by Amazon Titan Text Embeddings V2 to route by meaning. For model availability by AWS Region, see Supported models by AWS Region in Amazon Bedrock . When direct tool invocation isn’t appropriate, a fallback chain activates: Amazon Bedrock Knowledge Bases , the fully managed Retrieval Augmented Generation (RAG) capability, retrieves operational documentation so responses are grounded in approved procedures rather than generated without context. Orion AI uses 13 domain-specific agents. The three SQL Server agents illustrate how domain splitting maps to the stages of a real investigation: The remaining agents follow the same principle of narrow ownership: infrastructure monitoring, operational analytics, database lifecycle management, customer analytics, knowledge retrieval from runbooks, notification routing, compound query decomposition, Availability Group listener resolution, and model connection warm-up. Orion AI reaches data sources through two patterns: This split means each agent uses the lightest mechanism that fits its source, while the MCP server centralizes the tools that several agents share. These connections run over TLS, and credentials such as the MCP token and REST API authorization are supplied per request, not embedded in agent code. Amazon Bedrock AgentCore , a platform to build, connect, and optimize agents at scale with any framework or model, provides the cross-session memory layer. Orion AI coordinates context through a central memory manager that reads from three tiers in parallel, each with its own timeout and token allocation. Orion AI coordinates context across three tiers. Short-term memory keeps same-session context in Amazon DynamoDB , encrypted at rest by default, paired with a rolling conversation summary that Amazon Nova 2 Lite generates asynchronously. Long-term memory provides cross-session recall through AgentCore memory, a capability of Amazon Bedrock AgentCore, namespaced by user ID. On task completion, Orion AI calls create_event to trigger automated extraction, summarization, and consolidation. A third tier, inter-agent memory, is an ephemeral in-memory scratchpad that carries findings across sub-agent steps within a single task. The memory manager retrieves across the tiers within a 500-millisecond hard timeout against a 4,000-token budget, backed by a least-recently-used cache.

由 claude-code/sonnet 自動生成