# Snowflake Cortex

**Snowflake Cortex** 是 [Snowflake](https://www.edgepedia.org/zh/snowflake-inc)（纽交所代码：SNOW）推出的一套人工智能功能，在 Snowflake 平台内部运行大语言模型（LLM），用于理解非结构化数据、回答自由形式的问题并提供智能辅助。<sup>[1](https://docs.snowflake.com/en/guides-overview-ai-features)</sup> 该套件涵盖对话式分析、面向非结构化数据的 SQL 函数、搜索、智能体、护栏，以及一个 AI 编程智能体 Cortex Code——Snowflake 已将其更名为 Snowflake CoCo。<sup>[1](https://docs.snowflake.com/en/guides-overview-ai-features)</sup><sup> • </sup><sup>[2](https://www.snowflake.com/en/product/snowflake-coco/)</sup> 其一项决定性特征是：除客户另行选择外，模型均在 Snowflake 的安全与治理边界内运行，因此数据不会提供给其他客户或模型开发者。<sup>[3](https://docs.snowflake.com/en/user-guide/snowflake-cortex/overview)</sup>

| 关键事实 | 详情 |
|---|---|
| 产品类型 | 一套基于 LLM 构建的托管式 AI 功能，以 SQL 函数、REST API 和平台内智能体的形式交付于 Snowflake 平台<sup>[1](https://docs.snowflake.com/en/guides-overview-ai-features)</sup> |
| 套件组件 | Cortex Agents、Cortex AI Functions、Cortex Analyst、Cortex Fine-tuning、Cortex Search、Snowflake CoWork、Cortex Code 和 Cortex AI Guardrails<sup>[1](https://docs.snowflake.com/en/guides-overview-ai-features)</sup> |
| Cortex Code 发布 | 2025 年 11 月上线；2026 年 2 月 3 日在伦敦作为 Snowflake 原生 AI 编程智能体亮相<sup>[4](https://www.snowflake.com/en/news/press-releases/snowflake-unveils-cortex-code-an-ai-coding-agent-that-drastically-increases-productivity-by-understanding-your-enterprise-data-context/)</sup><sup> • </sup><sup>[5](https://www.snowflake.com/en/news/press-releases/snowflake-expands-snowflake-intelligence-and-cortex-code-to-power-the-control-plane-for-the-agentic-enterprise/?regcode=summit-26-lip)</sup> |
| 采用情况 | 据 Snowflake 称，截至 2026 年 4 月，超过 50% 的 Snowflake 客户正在积极使用 Cortex Code<sup>[5](https://www.snowflake.com/en/news/press-releases/snowflake-expands-snowflake-intelligence-and-cortex-code-to-power-the-control-plane-for-the-agentic-enterprise/?regcode=summit-26-lip)</sup> |
| 正式可用 | Cortex Code 于 2026 年 3 月 9 日在 Snowsight 中正式可用<sup>[6](https://docs.snowflake.com/en/release-notes/2026/other/2026-03-09-cortex-code-snowsight-ga)</sup> |
| 模型合作伙伴 | 通过 Cortex AI Functions 可使用来自 OpenAI、Anthropic、Meta、Mistral AI、DeepSeek 和 xAI 的 LLM；Claude 为 Cortex Code 和 Snowflake Intelligence 提供支持<sup>[7](https://docs.snowflake.com/en/user-guide/snowflake-cortex/aisql?regcode=%29)</sup><sup> • </sup><sup>[8](https://www.itpro.com/business/data-and-insights/snowflake-and-anthropic-are-teaming-up-to-push-ai-projects-from-pilot-to-production)</sup> |
| 数据处理 | Snowflake 声明，绝不使用客户数据来训练向其客户群提供的模型<sup>[3](https://docs.snowflake.com/en/user-guide/snowflake-cortex/overview)</sup> |

## 组件

Cortex 套件由一组共享 Snowflake 治理模型的功能组成。根据 Snowflake 的文档，该套件包括 Cortex Agents、Snowflake Cortex AI Functions、Cortex Analyst、Cortex Fine-tuning、Cortex Search、Snowflake CoWork、Cortex Code 和 Cortex AI Guardrails，相关服务如 Cortex AI Gateway、Cortex Inference、Cortex Agent SDK 以及 Snowflake 托管的 MCP 服务器也在文档中一并列出。<sup>[1](https://docs.snowflake.com/en/guides-overview-ai-features)</sup> Snowflake 将该套件与 Snowflake ML 并列定位，后者是一套用于构建和运营自定义模型的独立工具。<sup>[1](https://docs.snowflake.com/en/guides-overview-ai-features)</sup>

Cortex AI Functions 将 SQL 重新构想为面向多模态数据的查询语言，让分析师能够用熟悉的 SQL 命令处理文本、图像和音频，而无需借助单独的工具。<sup>[9](https://www.snowflake.com/en/developers/guides/getting-started-with-cortex-aisql/)</sup> Cortex Analyst 将自然语言业务问题转换为针对结构化数据的 SQL，而 Cortex Agents 则在结构化数据和非结构化数据之间进行编排，以检索并综合洞察。<sup>[10](https://www.snowflake.com/en/product/features/cortex/)</sup>

## Cortex Code（Snowflake CoCo）

**Cortex Code** 是一个面向 Snowflake 上数据工程、分析和 AI 工作的 AI 编程智能体。Snowflake 于 2026 年 2 月 3 日在伦敦发布该产品，将其描述为一个 Snowflake 原生智能体，帮助组织更快地将数据和 AI 项目从构想推向生产，并将其归入 Cortex AI 产品套件，与 Snowflake [Intelligence](https://www.edgepedia.org/zh/intelligence) 并列。<sup>[4](https://www.snowflake.com/en/news/press-releases/snowflake-unveils-cortex-code-an-ai-coding-agent-that-drastically-increases-productivity-by-understanding-your-enterprise-data-context/)</sup> 该产品已于 2025 年 11 月上线；Snowflake 在 2026 年 4 月报告称，超过 50% 的客户正在积极使用它。<sup>[5](https://www.snowflake.com/en/news/press-releases/snowflake-expands-snowflake-intelligence-and-cortex-code-to-power-the-control-plane-for-the-agentic-enterprise/?regcode=summit-26-lip)</sup> Snowflake 产品执行副总裁克里斯蒂安·克莱纳曼（Christian Kleinerman）称其为 Snowflake 历史上增长最快的产品。<sup>[8](https://www.itpro.com/business/data-and-insights/snowflake-and-anthropic-are-teaming-up-to-push-ai-projects-from-pilot-to-production)</sup>

2026 年 3 月 9 日，Cortex Code 在 Snowflake 的网页界面 Snowsight 中正式可用，将智能助手引入平台，用于 SQL 和 Python 开发、端到端机器学习、数据探索和账户管理。由于它内置于 Snowsight 和 Workspaces 中，它提供 SQL 和 Python 代码的生成、修改、优化和解释，让用户可以在差异视图中审阅建议的编辑后再应用，并通过 `@` 提及将表、模式或视图作为内联上下文传入。它利用 Horizon Catalog 上下文和 Snowflake 文档，帮助用户通过通俗语言问题查找表和列，并在可用时呈现标签、掩码策略和血缘等元数据，且在 Snowflake 现有的基于角色的访问控制下运行。<sup>[6](https://docs.snowflake.com/en/release-notes/2026/other/2026-03-09-cortex-code-snowsight-ga)</sup>

一个配套的 CLI 将该智能体扩展到本地开发环境。2026 年 2 月 23 日，Snowflake 宣布 Cortex Code CLI 正从 Snowflake 原生工作流向外扩展，以支持跨系统的任意数据源，首先正式支持 dbt 和 [Apache Airflow](https://www.edgepedia.org/zh/apache-airflow)。公告称，借助 Opus 4.6 等先进模型，该 CLI 可以处理从全功能 React 应用开发到复杂数据工程的各种任务。<sup>[11](https://www.snowflake.com/en/news/press-releases/snowflake-cortex-code-expands-towards-supporting-any-data-anywhere/)</sup> 2026 年 3 月 26 日的更新带来了四项变化：在 Snowsight 中正式可用、CLI 原生支持 Windows、Agent Teams（通过具有特定任务和角色的独立子智能体将大型任务分解为协调的并行工作），以及智能体技能，包括一项用于追踪 Snowflake 支出流向的成本智能技能。<sup>[12](https://www.snowflake.com/en/blog/cortex-code-snowsight/?trk=article-ssr-frontend-pulse_little-text-block)</sup> 2026 年 4 月的更新将该智能体扩展到更广泛的数据栈，并为 Snowsight 界面内的每位用户带来完整的智能体执行能力。<sup>[13](https://www.snowflake.com/en/blog/cortex-code-governed-agent-data-stack/)</sup>

Snowflake 后来将 Cortex Code 更名为 Snowflake CoCo，将 CoCo 描述为“Cortex Code 的新名称而已”，这是一个数据原生的 AI 编程智能体，旨在缩短在整个现代数据栈上实现价值所需的时间。<sup>[2](https://www.snowflake.com/en/product/snowflake-coco/)</sup>

## Cortex Analyst 与文本转 SQL

**Cortex Analyst** 是一项完全托管、由 LLM 驱动的功能，用于构建能够通过自然语言可靠回答关于 Snowflake 中结构化数据的业务问题的应用，以 REST API 形式提供，可集成到 [Streamlit](https://www.edgepedia.org/zh/streamlit) 应用、Slack、Teams 和自定义聊天界面等工具中。<sup>[14](https://docs.snowflake.com/en/user-guide/snowflake-cortex/cortex-analyst)</sup> 它依赖语义模型和语义视图（Semantic Views）——即定义业务实体、维度、事实、指标和连接关系的模式级对象——因为模式本身缺乏文本转 SQL 系统所需的业务定义；语义模型中的元数据仅用于生成 SQL 查询，生成的 SQL 在客户的 Snowflake 虚拟仓库中执行。<sup>[14](https://docs.snowflake.com/en/user-guide/snowflake-cortex/cortex-analyst)</sup> 默认情况下，Cortex Analyst 由 Snowflake 托管的 Mistral 和 Meta 的 LLM 提供支持，因此包括元数据或提示在内的任何数据都不会离开 Snowflake 的治理边界，也不会使用客户数据进行训练。<sup>[14](https://docs.snowflake.com/en/user-guide/snowflake-cortex/cortex-analyst)</sup>

Snowflake 的文档现在建议从 Cortex Analyst 迁移到 Cortex Agents，后者以更高的答案质量支持 Cortex Analyst 的每一项能力。<sup>[14](https://docs.snowflake.com/en/user-guide/snowflake-cortex/cortex-analyst)</sup> 一篇关于 Cortex AISQL 的研究论文描述了两种降低成本的机制——Cortex AISQL 是一个将非结构化数据的语义操作直接集成到 SQL 中的生产级 SQL 引擎：AI 感知的查询优化在查询规划期间将 LLM 推理成本视为一等目标，实现 2 至 8 倍的加速；自适应模型级联将大多数行路由到快速代理模型，同时将不确定的案例升级到更强的预言机模型，在保持预言机模型 90% 至 95% 质量的同时实现 2 至 6 倍的加速。<sup>[15](https://arxiv.org/abs/2511.07663)</sup>

## AI Functions 与模型合作

Cortex AI Functions 使用来自 OpenAI、[Anthropic](https://www.edgepedia.org/zh/anthropic)、Meta、Mistral AI、DeepSeek 和 xAI 的 LLM，在 SQL 和 Python 中对文本和图像运行非结构化分析，所有 LLM 均部署在 Snowflake 服务边界内；这些函数在部分区域的账户中可用，且部分单个函数为预览功能。<sup>[7](https://docs.snowflake.com/en/user-guide/snowflake-cortex/aisql?regcode=%29)</sup> 面向特定任务的函数包括：AI_COMPLETE，使用选定的 LLM 为文本字符串或图像生成补全；AI_CLASSIFY，将文本或图像分类到用户定义的类别中；AI_FILTER，返回 true 或 false 以用于 SELECT、WHERE 或 JOIN 子句中的过滤；以及辅助函数 AI_COUNT_TOKENS，返回给定输入的令牌数。<sup>[7](https://docs.snowflake.com/en/user-guide/snowflake-cortex/aisql?regcode=%29)</sup> 调用这些函数需要 USE AI FUNCTIONS 账户级权限以及 CORTEX_USER 或 AI_FUNCTIONS_USER 数据库角色之一。<sup>[7](https://docs.snowflake.com/en/user-guide/snowflake-cortex/aisql?regcode=%29)</sup>

Snowflake 通过合作伙伴关系构建其模型供应。2025 年 12 月初，它宣布与 Anthropic 达成价值约 2 亿美元的多年度合作伙伴关系，在 Cortex 和 Intelligence 平台中集成 Claude 模型，包括 [Claude Sonnet 4](https://www.edgepedia.org/zh/claude-sonnet-4).5 和 Claude Opus 4.5。<sup>[16](https://www.itpro.com/business/data-and-insights/snowflake-and-openai-are-teaming-up-to-help-enterprises-capitalize-on-their-most-valuable-asset)</sup><sup> • </sup><sup>[17](https://www.itpro.com/technology/artificial-intelligence/snowflake-inks-usd200m-deal-with-anthropic-to-drive-agentic-ai-in-the-enterprise)</sup> 2026 年 2 月 2 日，它宣布与 OpenAI 达成 2 亿美元的多年度合作伙伴关系，使 OpenAI 模型在 Cortex 平台内原生可用，服务于 Snowflake 超过 12,000 家客户，并使 GPT-5.2 可通过 Snowflake Intelligence 访问。<sup>[16](https://www.itpro.com/business/data-and-insights/snowflake-and-openai-are-teaming-up-to-help-enterprises-capitalize-on-their-most-valuable-asset)</sup> 2026 年 6 月，两家公司确认 Claude 也为 Cortex Code 和 Snowflake Intelligence 提供支持。<sup>[8](https://www.itpro.com/business/data-and-insights/snowflake-and-anthropic-are-teaming-up-to-push-ai-projects-from-pilot-to-production)</sup>

Cortex AI Gateway 增加了动态模型路由，根据给定任务的质量和成本选择模型。在一项公司内部评估中，使用动态路由的智能体生成的 dbt 管道，其令牌效率比仅依赖前沿模型高出多达三倍，而质量保持不变；另一项测试发现，工程团队交付了相同数量的拉取请求，同时消耗的令牌减少了 25%。<sup>[18](https://www.itpro.com/technology/artificial-intelligence/enterprises-are-becoming-much-more-rigorous-about-the-economics-of-ai-snowflake-wants-to-help-you-cut-ai-costs-by-choosing-the-right-model-for-the-right-task)</sup>

## 治理与安全

Snowflake 为其 AI 功能陈述了三项设计原则：除客户另行选择外，所有 AI 模型均在 Snowflake 的安全与治理边界内运行；Snowflake 绝不使用客户数据来训练向其客户群提供的模型；团队通过基于角色的访问控制来管控使用。<sup>[3](https://docs.snowflake.com/en/user-guide/snowflake-cortex/overview)</sup>

模型遵循“私有预览、公开预览、正式可用、传统版和生命周期终止”的生命周期。对于正式可用（GA）模型，Snowflake 尽合理努力在弃用前至少提前 60 天通知，而预览模型的弃用时间表则不予保证。更改所需语法、更改输出结构或弃用模型的模型更新被视为行为变更，并通过单独的行为变更发布进行沟通；管理员可以使用 `SHOW CORTEX BASE MODELS` 检查每个模型的生命周期状态。<sup>[3](https://docs.snowflake.com/en/user-guide/snowflake-cortex/overview)</sup><sup> • </sup><sup>[19](https://docs.snowflake.com/en/user-guide/snowflake-cortex/aisql-regional-availability)</sup> 文档还指出，Snowflake AI 功能的输出可能不准确、不恰当、效率低下或有偏见，基于这些输出的决策应包含人工监督和审查。<sup>[3](https://docs.snowflake.com/en/user-guide/snowflake-cortex/overview)</sup>

## 采用与使用

Snowflake 在 2026 年 4 月的公告中点名了凯捷（Capita）、罗技（Logitech）、泰为（Telenav）、联合租赁（United Rentals）和 [Wolfspeed](https://www.edgepedia.org/zh/wolfspeed) 等企业，称其正在该平台上将 AI 从实验推向生产，并将 Snowflake Intelligence 与 Cortex Code 的组合产品描述为其愿景的一部分——成为智能体企业的控制平面。<sup>[5](https://www.snowflake.com/en/news/press-releases/snowflake-expands-snowflake-intelligence-and-cortex-code-to-power-the-control-plane-for-the-agentic-enterprise/?regcode=summit-26-lip)</sup> 在公司 2026 财年第四季度财报电话会议上，管理层称 Cortex Code 是数据生命周期每个环节的巨大加速器，并强调了它在更快构建 Snowflake Intelligence 智能体方面的用途。<sup>[20](https://s26.q4cdn.com/463892824/files/doc_financials/2026/q4/CORRECTED-TRANSCRIPT_-Snowflake-Inc-SNOW-US-Q4-2026-Earnings-Call-25-February-2026-5_00-PM-ET.pdf)</sup> 在能源领域，英国 EDF（EDF UK）正在基于语义表和 Horizon 数据目录，通过 Cortex Analyst 和 Cortex Code 构建能力，使其数据能够被 AI 智能体理解，包括一个在员工 Slack 中呈现数据平台洞察的智能体。<sup>[21](https://www.itpro.com/business/data-and-insights/how-edf-is-making-the-most-of-its-data-with-snowflake)</sup> Snowflake 引用的其他 Cortex AI 客户包括 [Booking.com](https://www.edgepedia.org/zh/booking-com)，该公司在互联的数据和 AI 平台上统一了 3100 万个旅行房源。<sup>[10](https://www.snowflake.com/en/product/features/cortex/)</sup>

## References

1. [Snowflake AI and ML, Snowflake Documentation](https://docs.snowflake.com/en/guides-overview-ai-features)
2. [Snowflake CoCo: Snowflake-Native AI Coding Agent for Data, Snowflake](https://www.snowflake.com/en/product/snowflake-coco/)
3. [Snowflake AI and ML overview (use principles, model lifecycle, legal notices), Snowflake Documentation](https://docs.snowflake.com/en/user-guide/snowflake-cortex/overview)
4. [Snowflake Unveils Cortex Code, Snowflake press release, February 3, 2026](https://www.snowflake.com/en/news/press-releases/snowflake-unveils-cortex-code-an-ai-coding-agent-that-drastically-increases-productivity-by-understanding-your-enterprise-data-context/)
5. [Snowflake Expands Snowflake Intelligence and Cortex Code to Power the Control Plane for the Agentic Enterprise, Snowflake press release, April 21, 2026](https://www.snowflake.com/en/news/press-releases/snowflake-expands-snowflake-intelligence-and-cortex-code-to-power-the-control-plane-for-the-agentic-enterprise/?regcode=summit-26-lip)
6. [Mar 9, 2026: Cortex Code in Snowsight, General availability, Snowflake Documentation](https://docs.snowflake.com/en/release-notes/2026/other/2026-03-09-cortex-code-snowsight-ga)
7. [Snowflake Cortex AI Functions (including LLM functions), Snowflake Documentation](https://docs.snowflake.com/en/user-guide/snowflake-cortex/aisql?regcode=%29)
8. [Snowflake and Anthropic are teaming up to push AI projects from pilot to production, ITPro, June 3, 2026](https://www.itpro.com/business/data-and-insights/snowflake-and-anthropic-are-teaming-up-to-push-ai-projects-from-pilot-to-production)
9. [Getting Started with Cortex AI Functions, Snowflake developer guide](https://www.snowflake.com/en/developers/guides/getting-started-with-cortex-aisql/)
10. [Snowflake Cortex AI, Snowflake product page](https://www.snowflake.com/en/product/features/cortex/)
11. [Snowflake Cortex Code Expands Towards Supporting Any Data, Anywhere, Snowflake press release, February 23, 2026](https://www.snowflake.com/en/news/press-releases/snowflake-cortex-code-expands-towards-supporting-any-data-anywhere/)
12. [Cortex Code Updates: Faster AI Data Engineering on Snowflake, Snowflake blog, March 26, 2026](https://www.snowflake.com/en/blog/cortex-code-snowsight/?trk=article-ssr-frontend-pulse_little-text-block)
13. [Cortex Code Expands: One Governed Agent for Your Entire Data Stack, Snowflake blog, April 21, 2026](https://www.snowflake.com/en/blog/cortex-code-governed-agent-data-stack/)
14. [Cortex Analyst, Snowflake Documentation](https://docs.snowflake.com/en/user-guide/snowflake-cortex/cortex-analyst)
15. [Cortex AISQL: A Production SQL Engine for Unstructured Data, arXiv, November 10, 2025](https://arxiv.org/abs/2511.07663)
16. [Snowflake and OpenAI are teaming up to help enterprises capitalize on their most valuable asset, ITPro, February 2, 2026](https://www.itpro.com/business/data-and-insights/snowflake-and-openai-are-teaming-up-to-help-enterprises-capitalize-on-their-most-valuable-asset)
17. [Snowflake inks $200m deal with Anthropic to drive agentic AI in the enterprise, ITPro](https://www.itpro.com/technology/artificial-intelligence/snowflake-inks-usd200m-deal-with-anthropic-to-drive-agentic-ai-in-the-enterprise)
18. [Enterprises are becoming much more rigorous about the economics of AI: Snowflake wants to help you cut AI costs by choosing the right model, ITPro](https://www.itpro.com/technology/artificial-intelligence/enterprises-are-becoming-much-more-rigorous-about-the-economics-of-ai-snowflake-wants-to-help-you-cut-ai-costs-by-choosing-the-right-model-for-the-right-task)
19. [Models and regional availability for Cortex AI Functions, Snowflake Documentation](https://docs.snowflake.com/en/user-guide/snowflake-cortex/aisql-regional-availability)
20. [Snowflake Q4 fiscal 2026 earnings call transcript, February 25, 2026](https://s26.q4cdn.com/463892824/files/doc_financials/2026/q4/CORRECTED-TRANSCRIPT_-Snowflake-Inc-SNOW-US-Q4-2026-Earnings-Call-25-February-2026-5_00-PM-ET.pdf)
21. [How EDF is making the most of its data with Snowflake, ITPro](https://www.itpro.com/business/data-and-insights/how-edf-is-making-the-most-of-its-data-with-snowflake)

---
*Initially written Oct 26, 2026*

Topic: 技术与人造世界 › 计算技术与数字系统 › 人工智能与数据 › Databases and data systems › Data mining, warehousing, and big data › Big data industry, companies, and products

Copyright 2026 Edgepedia

License: Edgepedia Community License 1.0, https://www.edgepedia.org/edgepedia/license

Source: https://www.edgepedia.org/zh/snowflake-cortex

English original: https://www.edgepedia.org/snowflake-cortex
