Agent-generated PySpark and hand-written jobs diverge fast when serverless and clusters run different runtimes, metastores, and ops consoles. Standardization is the control plane; folklore upgrades are not.
Google Cloud put Managed Service for Apache Spark 4.0 into general availability on November 20, 2026 for serverless and managed clusters. The 4.0 runtime standardizes on Apache Spark 4.2 (including Declarative Pipelines and Real-Time Mode), Java 25, Scala 2.13, Apache Iceberg 1.12, Delta Lake 4.4, and Python 3.13 with Pixi. A redesigned code-first console adds an Overview samples gallery, unified Jobs view, one-click VS Code authoring in Cloud Shell, and an AI agent to diagnose job failures. The Data Agent Kit wires MCP servers, skills, and API access so pipelines can be built from VS Code, Claude Code, and Antigravity. Default Gen4 infrastructure targets faster startups at no extra cost; Lightning Engine is positioned at up to 3.25× price-performance versus a leading high-speed Spark alternative. DCU quotas improve capacity fungibility across serverless, and workloads attach automatically to the Lakehouse runtime catalog instead of a legacy Hive Metastore.
What data-platform leads should lock before the next agent-written job lands in prod:
- Standardize new work on the 4.0 runtime (Spark 4.2 / Iceberg 1.12 stack) for both serverless and clusters — ban silent version drift
- Put agentic troubleshooting and MCP IDE access behind the same identity and catalog as human jobs
- Prefer Lakehouse runtime catalog attachment over HMS islands for agent- and engineer-authored pipelines alike
Spark for agents needs one modern stack, not three. Managed Spark 4.0 is Google’s bid to make that the default for pipelines and agentic workloads together.