最新资讯
stackoverflow.blog 欢迎来到芯片时代:半导体制造、AI 数据中心与芯片设计的未来 www.youtube.com AI Agent 总犯同样的错:CentralAgent AI 将记忆重构为经验系统 pub.towardsai.net Netflix 科学家建议重采样 LLM 评判:5 次仅将误差棒缩小 13% pub.towardsai.net Jev 作为 LLM 前的静默层:构建提示感知的模型路由器 reddit.com OpenAI 称 Astra 仅满足 10% 安全任务标准 dev.to FreeToken:在自有 GPU 上运行前沿 MoE 模型及其内存需求 dev.to 当 AI Agent 说“完成”时,究竟完成了什么? dev.to 部署 Underdog Bark 3.0 Pro:逐字转写、自定义后端与分块设置 dev.to 为艰难对话构建 AI:五个 Agent、一条安全正则与一位盲评监督者 techcrunch.com Palo Alto Networks 洽谈以 5 亿美元收购 AI Agent 安全初创公司 Clutch theinformation.com 黄仁勋被要求就涉华间谍指控向国会作简报 www.infoq.com Edera 推出 Object Capability Bounded Authority,试图将凭证与 AI Agent 工作负载隔离
多元动态
登录 注册
智能体 cloud.google.com · @Google Cloud Blog

单人创始人如何用 AlloyDB 与 MCP 运营覆盖五大洲的招标平台

原文 我的收藏

Google Cloud 博客介绍 Lucius AI 的案例:这家招标情报初创公司由单人运营,平台覆盖英国、欧盟、印度、澳大利亚等市场逾 21 万条招标信息,每晚从 13 个公共采购来源摄取数据。其将关系型招标目录、文档元数据、审计日志与向量嵌入统一存放在 AlloyDB for PostgreSQL 中,避免维护独立向量库;语义检索改用 ScaNN 索引后,代表性生产查询延迟由 1.14 秒降至 24 毫秒,约 47 倍提升。同时通过 Model Context Protocol(MCP)把 AI agent 接入 AlloyDB,在严格最小权限下自动执行查询分析、数据新鲜度检查与事故取证。平台在 Cloud Run 上运行欧洲与澳大利亚两个生产区域,后者使用客户自管加密密钥(CMEK)。

AI推荐理由 Google Cloud 官方博客的客户案例,给出了具体可核验的数字:语义检索迁移到 ScaNN 索引后,代表性生产查询延迟从 1.14 秒降至 24 毫秒(约 47 倍),平台覆盖 13 个公共采购来源、21 万余条招标信息,并用 MCP 让 AI agent 在最小权限下执行查询分析、数据新鲜度检查和事故取证。新信息在于 AlloyDB 将关系目录、审计日志与向量嵌入合并到同一引擎,以及 MCP 用于数据库运维自动化的落地方式。局限是这属于厂商客户案例,性能数字为单一代表性查询,缺少独立验证与成本、并发等细节,不宜当作普适基准。

72

正文

Editor's note: Lucius AI, a tender-intelligence startup covering markets across five continents, runs its entire data platform on AlloyDB for PostgreSQL with a single operator. By migrating semantic search to a ScaNN index and managing database operations through Model Context Protocol (MCP), query latency dropped by 47x while automating day-to-day administrative tasks via MCP. Executive summary Lucius AI runs a global tender platform spanning more than 210,000 tenders across the UK, EU, India, and Australia, requiring minimal operational overhead for a solo founder. Lucius AI deployed AlloyDB for PostgreSQL to consolidate its relational catalog, audit logs, and vector embeddings into a single managed database engine. Migrating semantic search to a ScaNN index lowered query latency from 1.14 seconds to 24 milliseconds — a 47x speedup on a representative production query. Connecting an AI agent to AlloyDB using the Model Context Protocol (MCP) helps Lucius AI automate query analysis, data freshness checks, and incident forensics under strict least-privilege permissions. Making tender intelligence work as a company of one Lucius AI helps businesses bidding on public contracts evaluate opportunities across global markets. The platform ingests public procurement notices from the UK, the EU, the US and Canada, Australia and New Zealand, India and Singapore, alongside World Bank donor-funded notices across Africa and Asia. Lucius AI analyzes tender documents using Gemini to generate compliance matrices, bid recommendations, and draft responses citing original source pages. For small and mid-sized suppliers, this replaces days of manual document reviews and costly external consulting. Running a platform of this scope requires extensive operational coordination: Nightly ingestion from thirteen public procurement sources A catalog of more than 210,000 tenders, including tens of thousands open for active bidding Two production regions on Cloud Run: Europe, and an Australian deployment on its own AlloyDB cluster with customer-managed encryption keys (CMEK) for defense-adjacent customers Ongoing analytics, performance tuning, data validation, and incident response Managing these responsibilities without dedicated data engineering or database administration teams requires offloading operational maintenance. Lucius AI addressed this challenge on two fronts: using AlloyDB for PostgreSQL as the core system of record, and connecting an AI agent through the Model Context Protocol (MCP) to safely execute database operations. Consolidating systems into AlloyDB Rather than deploying separate relational databases, vector databases, and log stores, Lucius AI houses all core data in AlloyDB for PostgreSQL. The relational tender catalog, document metadata, audit logs, and vector embeddings reside in the same database engine. Storing vector embeddings alongside relational rows avoids managing separate vector stores, establishes a unified backup schedule, and centralizes identity management. Authentication relies strictly on Cloud IAM. Services connect using dedicated Google Cloud service accounts mapped to database roles scoped to specific access requirements, without storing database passwords in application environments. Database reliability is managed natively by AlloyDB through automated backups and point-in-time recovery, avoiding custom disaster recovery procedures. In production, this consolidated architecture supports: More than 210,000 tenders in the catalog, with embeddings stored directly alongside them Rebuilding the semantic index embedded 115,820 records in 10.6 minutes with the Gemini embedding model, for around three dollars in API spend; AlloyDB auto embeddings now keep those vectors current. Retrieval reranking executed directly inside the database using the ai.rank function — with mean latency of 77-milliseconds - returning the most relevant results for search queries without requiring a standalone reranking microservice Accelerating semantic search by 47x Semantic search across the tender catalog initially relied on unindexed vector comparisons, where a representative query took 1.14 seconds. Migrating this workload to a ScaNN index in AlloyDB reduced query latency to 24 milliseconds — a 47x improvement. The index recommendation originated from the AI agent during an automated performance audit, where it benchmarked the query plan before preparing the index migration. Automating database operations with MCP To delegate routine administrative tasks, Lucius AI configured the open-source MCP Toolbox for Databases using the prebuilt alloydb-postgres server. Operational delegation requires strict access controls. The agent connects using a dedicated PostgreSQL role granted SELECT across the schema and UPDATE on a single operational table. Destructive commands (DROP, DELETE, TRUNCATE) are omitted, restricting agent actions to authorized operational boundaries. Under this configuration, the AI agent performs regular database operations across four key areas: On-demand analytics: Compiles retention cohorts, activation funnels, and catalog coverage by country via ad hoc SQL queries, removing the need to build and maintain manual dashboards or complex analytical pipelines. Performance optimization: Performs query-plan inspections and index analysis, such as identifying the ScaNN indexing strategy. Incident forensics: In response to an external security probe, the agent parsed audit logs to reconstruct the request timeline in minutes, verifying that tenant isolation remained intact. Automated data-quality checks: Evaluates ingestion watermarks and freshness across all thirteen procurement sources every morning. For teams adopting this architecture, establishing a progressive permission structure provides clear guardrails: start with read-only access, expand permissions as requirements dictate, and keep destructive operations restricted to human administrators. Looking ahead Lucius AI is planning three technical initiatives to further reduce operational overhead: Automated vector embeddings in AlloyDB AI: After validating ai.initialize_embeddings across the full catalog, a weekly maintenance job uses ai.refresh_embeddings to update vectors. Columnar engine acceleration: Having enabled AlloyDB’s columnar engine with auto-columnarization, the database identified and stored 40 frequently queried columns across four tables in memory within a day, accelerating reporting queries without a separate analytical store. Managed Remote MCP Server: Transitioning from self-hosted Toolbox processes to Google Cloud's fully managed Remote MCP Server for AlloyDB will offload MCP server hosting and maintenance. By anchoring core data in AlloyDB and managing routine operations through MCP, Lucius AI demonstrates how a single engineer can build and operate a resilient, multi-region procurement platform. To explore Lucius AI, visit ailucius.com. To evaluate AlloyDB for PostgreSQL, deploy an AlloyDB cluster to test performance against your own workloads.

来源报道 · 2 篇 · 以下链接均前往原始媒体

← 返回精选动态 原文

更多内容