All Data and AI Weekly #260 - 30 November 2026
# All Data and AI Weekly #260 - 30 November 2026
AI, Data, Agentic AI, Cortex Code, NiFi, Iceberg, Polaris, Streamlit, Python, Java, SQL, MCP, LLM, RAG, Cortex AI, AIFN, Search, Unstructured Data
<img width="1376" height="768" alt="tim4" src="https://github.com/user-attachments/assets/76f7772a-b033-488e-9a06-467cf377503a" />
Cleaning up after turkey day
---
## Cortex AI Function Studio (GA)
AI Function Studio is now generally available. Describe a custom Cortex AI Function in natural language in Cortex Code CLI or Snowsight AI Studio, and it handles prompt engineering, model selection and benchmarking for you.
https://docs.snowflake.com/en/release-notes/2026/other/2026-11-16-cortex-ai-function-studio-ga
**Docs: Cortex AI Function Evaluation and Optimization** - The main reference for `CREATE AI FUNCTION`, `AI_FUNCTION_EVALUATION` and `AI_FUNCTION_OPTIMIZATION`, which run as EXPERIMENT objects.
https://docs.snowflake.com/en/user-guide/snowflake-cortex/ai-function-studio
---
## Cortex AI Function Optimization (GA)
The `AI_FUNCTION_OPTIMIZATION` experiment type is now GA. It searches across prompts and models for custom AI Functions and compares quality and estimated cost on the same dataset and metric, so you can tell when a cheaper model is good enough.
https://docs.snowflake.com/en/release-notes/2026/other/2026-11-16-ai-function-optimization-ga
**Blog: AI Functions Optimization** - Snowflake's announcement of automated prompt and model optimization for Cortex AI Functions.
https://www.snowflake.com/en/blog/ai-functions-optimization/
**Guide: AI Function Optimization** - A Snowflake developer guide to running an optimization experiment.
https://www.snowflake.com/en/developers/guides/ai-function-optimization/
**Engineering Blog: Optimize Cortex AI Functions with CoCoEvolve** - Snowflake Engineering on optimizing Cortex AI Functions with CoCoEvolve.
https://www.snowflake.com/en/blog/engineering/optimize-cortex-ai-functions-cocoevolve/
---
## AI_COMPLETE Adds Snowflake Decision (Preview)
AI_COMPLETE now supports Snowflake Decision, a model built for high-throughput classification, scoring and decision-making. It returns structured answers with probabilities and confidence values, at $0.042 per million tokens and about 1.58 ms per row.
https://docs.snowflake.com/en/release-notes/2026/other/2026-11-20-ai-complete-snowflake-decision-public-preview
---
## AI_EXTRACT Citations (Preview)
AI_EXTRACT can now return citations that tie each extracted value to its source: page numbers and bounding boxes for documents, and start and end offsets for text. Turn it on with `citation => TRUE`; it can be combined with extraction scores.
https://docs.snowflake.com/en/release-notes/2026/other/2026-11-18-ai-extract-citations
---
## Log Mode for Prompt Injection Guardrails
Cortex AI Guardrails now accept a `mode` setting in the `AI_SETTINGS` account parameter. `LOG` records likely prompt injections across CoCo, Snowflake Intelligence and Cortex Agents without blocking them, while `BLOCK` remains the default. Detections appear in `CORTEX_AI_GUARDRAILS_USAGE_HISTORY`.
https://docs.snowflake.com/en/release-notes/2026/other/2026-11-18-prompt-injection-guardrails-log-mode
---
## Cortex Agents: Every Way to Build and Call Them
🔹 **Cortex Agents REST API** - Create, manage and call Cortex Agent objects over REST, including generic tools with an `input_schema`.
https://docs.snowflake.com/en/user-guide/snowflake-cortex/cortex-agents-rest-api
🔹 **Cortex Agents Run API** - Run agents with streaming responses, tool results and warnings. With `background: true`, the timeout goes from 15 minutes to 6 hours and you can reconnect to the stream later.
https://docs.snowflake.com/en/user-guide/snowflake-cortex/cortex-agents-run
🔹 **Cortex Agent SDK** - An SDK for building client applications on Cortex Agents.
https://docs.snowflake.com/en/developer-guide/cortex-agent-sdk/cortex-agent-sdk
🔹 **AGENT_RUN SQL Function** - Run a Cortex Agent straight from SQL, without an agent object, by passing the model and tools in a JSON request body.
https://docs.snowflake.com/en/sql-reference/functions/agent_run-snowflake-cortex
🔹 **Snowflake-managed MCP Server** - Expose Cortex Agents and other tools to any MCP client. Every request runs as an authenticated Snowflake user under Agents rate limits.
https://docs.snowflake.com/en/user-guide/snowflake-cortex/cortex-agents-mcp
🔥 **Coding Agent (add-on)** - Put CoCo's coding abilities (bash, file edits, grep/glob, web search, SQL) into your own apps with the `code_toolset_all` tool, which runs in a Snowflake-managed sandbox. You can reach it through REST, SQL or MCP.
https://docs.snowflake.com/en/user-guide/snowflake-cortex/cortex-agents-coding-agent
---
## CoCo and CoWork Token Spend Efficiency
Snowflake Engineering on making token spend more efficient in Snowflake CoCo and CoWork.
https://www.snowflake.com/en/blog/engineering/snowflake-coco-cowork-token-spend-efficiency/
---
## Cortex AI Cookbook
A set of Cortex AI deployment patterns taken from real Snowflake deployments. Each recipe explains when to use it, its architecture and security model, and comes with numbered SQL scripts, verification queries and a teardown script.
https://docs.snowflake.com/en/developer-guide/cortex-ai-cookbook/overview
---
## Snowflake Dashboards
Dashboards 2.0 is an AI-first BI artifact (public preview) that you build with Cortex Code against semantic views. It includes an upgrade path for Legacy Dashboards.
https://docs.snowflake.com/en/user-guide/snowflake-dashboards
---
## Best Practices for Hybrid Tables
Configuration, design and operations guidance for getting the best performance out of hybrid tables in production. Hybrid tables are GA on AWS and Azure commercial regions and in preview on Google Cloud.
https://docs.snowflake.com/en/user-guide/tables-hybrid-best-practices
---
## Your Snowflake Grants Should Expire. Now They Can.
Satish Kumar walks through temporary role grants in Snowflake (`FOR INTERVAL`, `UNTIL`, `RESET EXPIRATION`), tested end to end, and builds a self-service just-in-time access procedure with guardrails.
https://snowflakechronicles.medium.com/your-snowflake-grants-should-expire-now-they-can-5fae642313aa
---
## Edge AI: M5Stack CardputerZero
**CardputerZero** - A pocket-sized Linux computer built on the Raspberry Pi CM0, with a quad-core Cortex-A53, a 1.9" display, a 46-key keyboard, an 8MP camera, an IMU, Wi-Fi/Bluetooth/Ethernet and GPIO expansion. It is a fun device for edge data collection and feeding SNACK-AI pipelines.
https://docs.m5stack.com/en/CardputerZero
**CardputerZero Usage Guide** - Covers flashing, ADB debugging, system maintenance and hardware control. The docs also list edge AI apps such as YOLO11, Qwen3, InternVL3, Sherpa-ONNX and Frigate NVR.
https://docs.m5stack.com/en/compute/cardputerzero/usage
---
## Onlook
An open-source, AI-first design tool for visually building, styling and editing real application code, billed as "the developer tool for designers."
https://github.com/onlook-dev/onlook/
---
## SNACK-AI: The 2026 Pattern
As we look forward in 2026, **SNACK-AI** is the architectural pattern for powering AI applications at any scale - from mobile phones and robots to massive enterprise clusters.
**SNACK-AI integrates:**
- **S**nowflake Platform
- **N**iFi (Apache)
- **A**pache Iceberg
- **C**ortex AI (Agents/Search/MCP)
- **K**afka (Apache Kafka)
**Read:** SNACK-AI: The 2026 Pattern (Medium)
https://medium.com/@tspann/snack-ai-d8c5dd692929
**Code:** Official SNACK-AI GitHub Repository
https://github.com/tspannhw/SNACK-AI
**Weekly Context:** SNACK-AI Overview
https://github.com/tspannhw/FLiPStackWeekly/blob/main/2025/BestOf2025/SNACKAI.md
---
## Thanks
https://sessionize.com/tspann
https://github.com/timothyspann