<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Google AI</title>
    <description>The latest articles on DEV Community by Google AI (googleai).</description>
    <link>https://dev.to/googleai</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Forganization%2Fprofile_image%2F11026%2F386b14d3-cc9a-4270-aba0-3e41cdfb9d85.jpg</url>
      <title>DEV Community: Google AI</title>
      <link>https://dev.to/googleai</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/googleai"/>
    <language>en</language>
    <item>
      <title>How Context Drift Impacts Your AI Agents</title>
      <dc:creator>Patrick Kelly</dc:creator>
      <pubDate>Wed, 25 Nov 2026 16:19:30 +0000</pubDate>
      <link>https://dev.to/googleai/how-context-drift-impacts-your-ai-agents-1iph</link>
      <guid>https://dev.to/googleai/how-context-drift-impacts-your-ai-agents-1iph</guid>
      <description>&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/4uNCbApUPn8" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;Most people building with AI in late 2026 understand that the quality of your context determines the quality of your output. But what exactly determines the quality of your context?&lt;/p&gt;

&lt;p&gt;First, let's break down all the different types of context:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;One-off prompts that you type into chat conversations&lt;/li&gt;
&lt;li&gt;Your base instruction files like &lt;code&gt;AGENTS.md&lt;/code&gt;, injected automatically into each new session&lt;/li&gt;
&lt;li&gt;Skill files, which are ideally custom procedural instructions, loaded dynamically as-needed in relevant situations&lt;/li&gt;
&lt;li&gt;Word documents and spreadsheets in your Google Drive or similar system&lt;/li&gt;
&lt;li&gt;Local markdown files in your code repo&lt;/li&gt;
&lt;li&gt;Memories (usually automatically managed by your agent harness and generally not exposed to you visually)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;With all these different sources, likely maintained by different people, there's a very high chance you have legacy process docs and out-of-date facts, metrics, decisions, and strategies.&lt;/p&gt;

&lt;p&gt;So what happens if your agent finds the wrong information? Or if it finds conflicting information? Doc A says the refund policy is 14 days, Doc B says 30 days. Which one does your agent trust?&lt;/p&gt;

&lt;p&gt;If the documents are clearly dated or the agent reads the metadata, it might figure it out, but we want better than a chance of factual correctness.&lt;/p&gt;

&lt;p&gt;In search of a solution, I started wondering: what types of conflicts or issues create the biggest problems? I decided to run an experiment to answer this question.&lt;/p&gt;

&lt;h2&gt;
  
  
  Context rot vs. context drift
&lt;/h2&gt;

&lt;p&gt;People often lump every context issue under &lt;a href="https://research.trychroma.com/context-rot" rel="noopener noreferrer"&gt;context rot&lt;/a&gt;, a term coined last year to describe how an LLM's accuracy drops as a session grows too long and fills up with noise, dead ends, and distractors.&lt;/p&gt;

&lt;p&gt;What happens across a real team's files is slightly different. Over weeks and months, your underlying sources (&lt;code&gt;AGENTS.md&lt;/code&gt;, skills, docs, memories, and code) gradually fall out of sync, so your agent can get conflicting instructions on the very first turn of a brand-new session. That's really &lt;strong&gt;context drift&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;To test both side by side, I built a realistic coding sandbox (a git repo with real files and terminal tools) and ran 470 tasks across Gemini 3.8 Flash and Gemini Pro, intentionally planting bloat, duplicate rules, stale docs, and direct contradictions.&lt;/p&gt;

&lt;h2&gt;
  
  
  What broke (and what didn't)
&lt;/h2&gt;

&lt;p&gt;I went in expecting context rot from pure bloat to cause obvious mistakes. Instead, injecting 50,000 tokens of unrelated chat history and duplicating agreeing rules across files caused &lt;strong&gt;zero&lt;/strong&gt; rule violations, even on Gemini 3.8 Flash.&lt;/p&gt;

&lt;p&gt;Context drift was a different story, and I only caught what was happening by reading the summaries of the model's internal thinking process (its private mental scratchpad).&lt;/p&gt;

&lt;p&gt;In 73% of runs, the model explicitly noticed in its thinking that two sources disagreed. Yet across 110 unprompted runs, it mentioned that conflict to the user &lt;strong&gt;0% of the time&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Instead of warning you, the model quietly picks a winner and moves on. On 95% to 100% of matching tasks, a task-specific skill file overrode the root &lt;code&gt;AGENTS.md&lt;/code&gt;, even when &lt;code&gt;AGENTS.md&lt;/code&gt; used strict &lt;code&gt;MUST&lt;/code&gt; wording. If you update a repo-wide rule in &lt;code&gt;AGENTS.md&lt;/code&gt; and forget to update a task-specific skill file that still has the old value, your agent will silently follow that stale skill file almost every time.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fg1u83lwfvxdnc58acji2.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fg1u83lwfvxdnc58acji2.png" alt="When Two Context Files Disagree: 95-100% followed task-specific skill over AGENTS.md, 73% noticed mismatch in private thinking, 0% warned in chat" width="800" height="295"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Stale docs against live code were even sneakier. When a doc referenced an old test helper name that had already been renamed in the codebase, 9 out of 15 runs quietly wrote a one-line wrapper inside their new test file so &lt;code&gt;pytest&lt;/code&gt; would still pass without mentioning the mismatch.&lt;/p&gt;

&lt;p&gt;My guess is that this comes from RLHF training. Modern models are trained to be decisive and finish the job rather than pestering you with questions on every minor ambiguity, which is normally what keeps agentic workflows pleasant to use.&lt;/p&gt;

&lt;p&gt;The only other measurable penalty was deliberation: when two peer skill files disagreed with no clear tie-breaker, the model spent &lt;strong&gt;47% more thinking tokens&lt;/strong&gt; debating the conflict across turns.&lt;/p&gt;

&lt;h2&gt;
  
  
  Giving the agent an escape hatch
&lt;/h2&gt;

&lt;p&gt;Once I saw that the model was already spotting these conflicts in its thinking trace, I tried adding one line to &lt;code&gt;AGENTS.md&lt;/code&gt; asking it to mention disagreements in chat. That worked on 100% of completed runs (16 out of 16).&lt;/p&gt;

&lt;p&gt;Still, I didn't want my agent interrupting every coding session to complain about docs. So I turned it into a tool instead: a tiny read-only escape hatch called &lt;code&gt;report_inconsistency&lt;/code&gt;, with two categories (&lt;code&gt;conflict&lt;/code&gt; and &lt;code&gt;stale&lt;/code&gt;).&lt;/p&gt;

&lt;p&gt;&lt;em&gt;(I originally tested a &lt;code&gt;duplicate&lt;/code&gt; category too, though asking agents to log harmless repeats wasted extra turns on normal cross-references and pushed more runs into our sandbox's 34-turn limit, even though 95% still wrote the code, so I cut it.)&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Because the model is already checking whether one file supersedes another while exploring, calling the tool takes almost no extra effort.&lt;/p&gt;

&lt;p&gt;Even with &lt;strong&gt;no instructions&lt;/strong&gt; added to &lt;code&gt;AGENTS.md&lt;/code&gt;, simply having the tool available got the agent to log &lt;strong&gt;98.7%&lt;/strong&gt; of the conflicts it encountered across Gemini 3.8 Flash and Gemini Pro (150 out of 152 runs), with zero false alarms on Flash.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwyowjyy1wo0ceh3v1l2y.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwyowjyy1wo0ceh3v1l2y.png" alt="Passive Drift Logging: 0% surfaced without tool vs 98.7% logged with report_inconsistency MCP tool" width="800" height="244"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Token cost stayed flat too. In our matched tests, total turns barely moved and thinking tokens dipped slightly (~19% on average, within normal run-to-run noise), so the real takeaway is simple: passive logging is essentially &lt;strong&gt;free&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Running it passively in practice
&lt;/h2&gt;

&lt;p&gt;Moving this into my daily coding setup surfaced two quick catches worth knowing:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Logging replaces chat warnings:&lt;/strong&gt; Once the tool exists, the agent stops mentioning conflicts in chat (0%) unless you add one line asking for both.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Keep the tool and file list visible up front:&lt;/strong&gt; Larger models like Gemini Pro take far fewer exploratory steps than Flash, so they only catch drift in skill or memory files when summaries are listed in the prompt (and when the MCP tool is loaded eagerly rather than hidden behind tool search).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;How you act on a logged conflict is up to you. You could pause the agent on the spot, though for everyday work I prefer keeping it passive: the agent logs the file paths, exact quotes, and which version it followed while finishing my task, and I review the cleanup queue later.&lt;/p&gt;

&lt;p&gt;Plugging one tiny MCP tool into a local log file gives your agent a built-in sensor for context drift at zero extra cost. Within 24 hours of turning it on in my own setup, it had already caught a real spec-vs-code mismatch during a PR review without me asking.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>googlecloud</category>
      <category>agents</category>
      <category>gemini</category>
    </item>
    <item>
      <title>🎞️ What is native multilinguality?</title>
      <dc:creator>Laurent Picard</dc:creator>
      <pubDate>Sat, 21 Nov 2026 14:27:50 +0000</pubDate>
      <link>https://dev.to/googleai/what-is-native-multilinguality-2ko2</link>
      <guid>https://dev.to/googleai/what-is-native-multilinguality-2ko2</guid>
      <description>&lt;h3&gt;
  
  
  🍿 Just a moment #03
&lt;/h3&gt;

&lt;blockquote&gt;
&lt;p&gt;Speaking a couple of languages is great, but understanding and responding in over 100? That’s a superpower! Because Gemini is natively multilingual, your instructions, data, and outputs across any modality can be in any of those languages (or even a mix of them). In this episode, see how a single instruction template translates the 1789 French Declaration of Rights into English, Mandarin, Hindi, and Spanish in parallel in just 15 seconds, while preserving the original Markdown layout.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/oImvnR5-IUI" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;Instruction template used in the example:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;TASK:
Perform a verbatim translation of the provided document to {target_language}.

TRANSLATION:
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  More
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;🔗 Gemini languages → &lt;a href="https://g.dev/cloud/gemini-languages" rel="noopener noreferrer"&gt;https://g.dev/cloud/gemini-languages&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;🔗 Gemini models → &lt;a href="https://g.dev/cloud/gemini-models" rel="noopener noreferrer"&gt;https://g.dev/cloud/gemini-models&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;🔔 Subscribe to Google Cloud Tech → &lt;a href="https://goo.gle/GoogleCloudTech" rel="noopener noreferrer"&gt;https://goo.gle/GoogleCloudTech&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




</description>
      <category>llm</category>
      <category>machinelearning</category>
      <category>videos</category>
      <category>justamoment</category>
    </item>
    <item>
      <title>Where Agents Fail: Part 1</title>
      <dc:creator>Patrick Kelly</dc:creator>
      <pubDate>Fri, 20 Nov 2026 16:50:28 +0000</pubDate>
      <link>https://dev.to/googleai/where-agents-fail-part-1-54hg</link>
      <guid>https://dev.to/googleai/where-agents-fail-part-1-54hg</guid>
      <description>&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/4WV9Hwinu5E" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;Your agent says the bug is fixed, but it's not. AI models are smarter than ever, yet they still make obvious mistakes.&lt;/p&gt;

&lt;p&gt;I'm starting &lt;strong&gt;Where Agents Fail&lt;/strong&gt;, a new series where I analyze thousands of real agent sessions, find common failure patterns, and try to fix them.&lt;/p&gt;

&lt;p&gt;This first post is the intro. It covers a few patterns that stood out early on, and each new episode will dig into one specific failure pattern and test whether it's fixable with strategies you can use today.&lt;/p&gt;

&lt;h2&gt;
  
  
  Looking across real sessions
&lt;/h2&gt;

&lt;p&gt;I started this project by analyzing 160 of my own recent sessions, pulling out every moment where the agent did something wrong and I had to step in and correct it. That gave me 231 specific agent mistakes.&lt;/p&gt;

&lt;p&gt;I've also started digging into public datasets to see how far these patterns go beyond my own work, and 'replaying' those key failure moments on frontier models like Gemini 4 Carbon to see if they persist.&lt;/p&gt;

&lt;p&gt;One early signal from the public SWE-chat dataset (more than 11,000 coding sessions): developer messages reporting a failure dropped by about a third between early 2026 and the summer.&lt;/p&gt;

&lt;p&gt;With each frontier model release, certain categories of issues dissolve and new ones show up.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three patterns that stood out so far
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Saying something is fixed when it isn't.&lt;/strong&gt; The agent makes a change, sees the tests pass, and announces that everything works, while the actual app is still broken.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Going further than you asked.&lt;/strong&gt; You ask for a plan or quick thoughts on a problem, and the agent jumps straight into coding a feature or opening a pull request.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Overcorrecting on feedback.&lt;/strong&gt; You leave narrow feedback on one detail, and the agent turns it into a blanket global rule across the entire project.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Staying up to date on AI best practices means paying just as much attention to the limitations that stick around as to what each new generation unlocks. In the next post, I'll go deep on one of these patterns and share what happened when I tried to fix it.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>googlecloud</category>
      <category>agents</category>
      <category>coding</category>
    </item>
    <item>
      <title>Agentic engineering a smart home energy system with Antigravity and Gemini 4</title>
      <dc:creator>Remigiusz Samborski</dc:creator>
      <pubDate>Fri, 20 Nov 2026 12:45:36 +0000</pubDate>
      <link>https://dev.to/googleai/agentic-engineering-a-smart-home-energy-system-with-antigravity-and-gemini-4-53md</link>
      <guid>https://dev.to/googleai/agentic-engineering-a-smart-home-energy-system-with-antigravity-and-gemini-4-53md</guid>
      <description>&lt;p&gt;Running rooftop solar, a home battery, two electric vehicles (&lt;em&gt;EVs&lt;/em&gt;), and dynamic hourly electricity tariffs requires tight coordination. Without automation, these systems work against each other.&lt;/p&gt;

&lt;p&gt;At home, I run dual east/west solar panels feeding a hybrid &lt;strong&gt;inverter&lt;/strong&gt; with a 10 kWh battery, alongside a plug-in hybrid, an EV, and dynamic tariffs from my electricity provider. On sunny days, you should never buy grid power when solar can charge the battery for free. On dark, cloudy days, you want to buy grid power only during the cheapest hourly windows. Moreover, if you charge the home battery from the grid &lt;em&gt;before&lt;/em&gt; plugging in an EV, the car drains your charged home battery right away.&lt;/p&gt;

&lt;p&gt;Last weekend, in a couple of hours of hands-on work starting Saturday evening, I engineered &lt;strong&gt;&lt;a href="https://github.com/rsamborski/cheap-watts" rel="noopener noreferrer"&gt;cheap-watts&lt;/a&gt;&lt;/strong&gt; to automate this workflow and open-sourced it on GitHub, complete with a full offline unit test suite across more than 25 commits.&lt;/p&gt;

&lt;p&gt;The best part? I almost never touched the code myself.&lt;/p&gt;

&lt;p&gt;By pairing &lt;strong&gt;&lt;a href="https://g.dev/cloud/gemini-4-hydrogen" rel="noopener noreferrer"&gt;Gemini 4 Hydrogen&lt;/a&gt;&lt;/strong&gt; and &lt;strong&gt;&lt;a href="https://g.dev/cloud/gemini-4-carbon" rel="noopener noreferrer"&gt;Gemini 4 Carbon&lt;/a&gt;&lt;/strong&gt; inside &lt;strong&gt;&lt;a href="https://g.dev/ai/antigravity-rs" rel="noopener noreferrer"&gt;Google Antigravity&lt;/a&gt;&lt;/strong&gt;, I practiced &lt;strong&gt;agentic engineering&lt;/strong&gt; and stayed focused on high-level architecture. Here are the three main takeaways from the weekend build:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Dual-model workflow.&lt;/strong&gt; Use Gemini 4 Hydrogen for fast interactive specs and Gemini 4 Carbon for multi-file coding and testing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Clean hardware abstractions.&lt;/strong&gt; Isolate physical inverter and vehicle APIs behind interfaces so hardware surprises take one commit to fix.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Automated safety gates.&lt;/strong&gt; Pair secret scanning, pull request (&lt;em&gt;PR&lt;/em&gt;) checks, and a &lt;code&gt;--dry-run&lt;/code&gt; flag so agents move fast without risking live keys or hardware.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Split the workflow: Gemini 4 Hydrogen for specs, Gemini 4 Carbon for code
&lt;/h2&gt;

&lt;p&gt;Most developers rely on one AI model for every task. Either you wait on a heavy reasoning model while bouncing early ideas back and forth, or you ask a fast model to handle multi-file refactors where edge cases slip through.&lt;/p&gt;

&lt;p&gt;Inside Antigravity, I split my workflow across two models based on what each does best:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Gemini 4 Hydrogen for brainstorming and requirements.&lt;/strong&gt; Early architecture work is a fast conversation. You test assumptions, weigh trade-offs, and define edge cases. Hydrogen responds fast and uses quota well, which fits interactive discovery. On Saturday evening, before generating a single &lt;code&gt;.py&lt;/code&gt; file, I worked with Hydrogen to draft three planning files under &lt;code&gt;docs/planning/&lt;/code&gt;. I created an Architecture Decision Record (&lt;code&gt;adr-001-initial-architecture.md&lt;/code&gt;), a five-phase execution plan (&lt;code&gt;execution-plan.md&lt;/code&gt;), and a task backlog (&lt;code&gt;tasks.md&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Gemini 4 Carbon for coding.&lt;/strong&gt; Once the specs were ready, I switched to Carbon for implementation. Carbon is built for long-horizon software engineering. I pointed it at a phase in &lt;code&gt;tasks.md&lt;/code&gt; and &lt;code&gt;ADR-001&lt;/code&gt;. Carbon scaffolded the modules, wrote binary protocol bitmasks, generated offline JSON fixtures, and ran &lt;code&gt;pytest&lt;/code&gt; until every test passed.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This split changed how I spent my weekend. Instead of debugging OAuth token rotation or counting Modbus register offsets by hand, I worked as the system architect. I defined rules, tested hardware connectivity on my local network, and reviewed PRs.&lt;/p&gt;

&lt;h2&gt;
  
  
  Inside the &lt;code&gt;cheap-watts&lt;/code&gt; system architecture
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Foa1sllqaxza0bfk4mlgl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Foa1sllqaxza0bfk4mlgl.png" alt="Architecture diagram: solar forecasts, dynamic tariffs, and battery and EV state of charge feed a 30-minute planner that updates the inverter over local LAN Modbus and emails EV charging windows." width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;During Saturday's brainstorming session with Gemini 4 Hydrogen, I ruled out building a web dashboard. Dashboards add frontend maintenance for a service that should run unattended in the background.&lt;/p&gt;

&lt;p&gt;Instead, I designed &lt;code&gt;cheap-watts&lt;/code&gt; as a headless Python 3.12 command-line interface (&lt;em&gt;CLI&lt;/em&gt;) managed with &lt;code&gt;uv&lt;/code&gt; and triggered every 30 minutes via &lt;code&gt;cron&lt;/code&gt;. Running 48 times per day keeps the planner responsive to weather shifts and plugged-in cars while staying under the vehicle telematics API's 50 requests/day quota per account.&lt;/p&gt;

&lt;p&gt;Reviewing the git history from Saturday night through Tuesday highlights four key architecture decisions.&lt;/p&gt;

&lt;h3&gt;
  
  
  Pivot from cloud APIs to local LAN Modbus
&lt;/h3&gt;

&lt;p&gt;In Phase 2 on Saturday evening, Gemini 4 Carbon built read-only clients for electricity provider tariffs, Open-Meteo solar forecasts, vehicle telematics, and the inverter vendor's cloud API. The solar forecast client supports dual east (-90°) and west (90°) roof planes without requiring an API key. Right after that, I added a read-only &lt;code&gt;cheap-watts probe&lt;/code&gt; CLI command to test live credentials.&lt;/p&gt;

&lt;p&gt;Running &lt;code&gt;probe&lt;/code&gt; on Sunday exposed my first hardware constraint. My inverter's Wi-Fi stick logger connects to a third-party mobile app rather than the inverter manufacturer's cloud. That platform lacked self-service developer keys and public charging schedule write endpoints.&lt;/p&gt;

&lt;p&gt;Because I had isolated inverter operations behind a Python &lt;code&gt;Protocol&lt;/code&gt; (&lt;code&gt;InverterClient&lt;/code&gt;), pivoting took a single commit. I asked Gemini 4 Carbon to build a local LAN adapter behind that same protocol. Carbon implemented a Modbus-over-TCP client over local port &lt;code&gt;8899&lt;/code&gt;. It reads live registers and writes the inverter's 6-slot charging schedule while keeping weekday and generator bitmasks intact. Local LAN control removed cloud rate limits, required zero external API keys, and left the mobile app untouched.&lt;/p&gt;

&lt;h3&gt;
  
  
  Solar-first battery math and post-EV ordering
&lt;/h3&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fou94hxo3s6dp6vzzyrat.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fou94hxo3s6dp6vzzyrat.jpg" alt="Decision flowchart for each 30-minute cron run: sunny forecasts turn grid charging off for free solar and slow EV charging, while low-sun forecasts schedule the EV window first before locked cheap grid battery charging." width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Coordinating a home battery with two EVs requires clear ordering rules in &lt;code&gt;src/engine/planner.py&lt;/code&gt;:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Sunny forecast.&lt;/strong&gt; &lt;code&gt;cheap-watts&lt;/code&gt; turns grid-charging &lt;strong&gt;OFF&lt;/strong&gt; for the whole day, so rooftop solar fills the battery for free. If a car has low charge, it emails me a reminder to plug it in for a slow daytime charge using excess solar.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cloudy forecast (low sun).&lt;/strong&gt; The planner calculates the grid deficit needed to cover typical daily usage plus a configurable buffer. It then turns grid-charging &lt;strong&gt;ON&lt;/strong&gt; to meet that deficit during the cheapest tariff hours.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Vehicles first, battery second.&lt;/strong&gt; Vehicle state of charge comes from the car manufacturer's telematics API, authorized once via an interactive OAuth 2.0 Device Code CLI flow. When the EV or plug-in hybrid is charging or needs a charging window, &lt;code&gt;cheap-watts&lt;/code&gt; blocks those hours from inverter grid-charging. It schedules the cheapest battery charging windows &lt;strong&gt;after&lt;/strong&gt; the vehicle window ends, so the car charger doesn't immediately drain grid-bought kWhs from the home battery.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Prevent mid-charge churn with a sticky daily charging plan
&lt;/h3&gt;

&lt;p&gt;Once the pipeline ran every 30 minutes on live feeds, a subtle stateful scheduling bug appeared.&lt;/p&gt;

&lt;p&gt;Suppose the electricity provider publishes next-day prices and &lt;code&gt;cheap-watts&lt;/code&gt; schedules battery grid-charging from 02:00 to 04:00. At 02:30, &lt;code&gt;cron&lt;/code&gt; runs again. Because the battery now holds more charge, a stateless planner calculates a smaller deficit and rewrites the active charging plan mid-charge. Rolling the 24-hour lookahead forward also risked 25-hour wrap collisions on the inverter's 6-slot 00:00..24:00 schedule ring.&lt;/p&gt;

&lt;p&gt;I described this symptom to Antigravity without editing &lt;code&gt;planner.py&lt;/code&gt;. Gemini 4 Carbon added a sticky schedule guard, locking the daily charging plan to the electricity provider's active day-ahead tariff horizon. The schedule stays locked across 30-minute runs and unlocks early only if:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;An EV plugs in or creates a charging conflict (&lt;code&gt;ev_conflict_override&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;The electricity provider publishes a new day-ahead price horizon (&lt;code&gt;new_tariff_horizon&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;The weather forecast flips between sunny and low-sun regimes (&lt;code&gt;solar_regime_changed&lt;/code&gt;).&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Signal-only alerts and resilient mini PC deployment
&lt;/h3&gt;

&lt;p&gt;Nobody wants 48 status emails per day. &lt;code&gt;cheap-watts&lt;/code&gt; stores its last applied schedule and alert timestamps in &lt;code&gt;data/state.json&lt;/code&gt;. It sends SMTP emails &lt;strong&gt;only&lt;/strong&gt; when the battery charging plan changes or a new EV recommendation triggers outside a 12-hour cooldown.&lt;/p&gt;

&lt;p&gt;For deployment on my home mini PC, I worked with Gemini 4 Hydrogen to compare local &lt;code&gt;uv&lt;/code&gt; runs against GitHub Container Registry (ghcr.io). I chose ghcr.io with a decoupled &lt;code&gt;crontab&lt;/code&gt; setup:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# Run optimization every 30 minutes using the cached local image:&lt;/span&gt;
*/30 * * * * docker run --rm --network host --env-file /opt/cheap-watts/.env -v /opt/cheap-watts/data:/app/data -v /opt/cheap-watts/logs:/app/logs ghcr.io/rsamborski/cheap-watts:latest run &lt;span class="o"&gt;&amp;gt;&amp;gt;&lt;/span&gt; /opt/cheap-watts/logs/cron.log 2&lt;span class="o"&gt;&amp;gt;&amp;amp;&lt;/span&gt;1

&lt;span class="c"&gt;# Pull image updates on a separate hourly schedule:&lt;/span&gt;
15 * * * * docker pull --quiet ghcr.io/rsamborski/cheap-watts:latest &lt;span class="o"&gt;&amp;gt;&amp;gt;&lt;/span&gt; /opt/cheap-watts/logs/cron.log 2&lt;span class="o"&gt;&amp;gt;&amp;amp;&lt;/span&gt;1
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Separating &lt;code&gt;docker pull&lt;/code&gt; from &lt;code&gt;docker run&lt;/code&gt; ensures a temporary internet or GitHub outage never blocks local LAN Modbus control of the inverter.&lt;/p&gt;

&lt;h2&gt;
  
  
  Keep agentic engineering safe with the &lt;code&gt;romin-security&lt;/code&gt; skill and PR gates
&lt;/h2&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fl8t6i3h9apbpyk0wipjk.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fl8t6i3h9apbpyk0wipjk.jpg" alt="Pipeline diagram: an Agent PR passes five automated checks (romin-security, Gitleaks, Ruff and Black, Pytest over 90% coverage, and Docker smoke test) before publishing a container image to GitHub Container Registry for the mini PC." width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Letting an AI coding agent move fast in a repository with utility API tokens, vehicle OAuth credentials, and physical inverter registers carries real risk. One bad commit to a public GitHub repository can expose live keys to automated scanners within seconds.&lt;/p&gt;

&lt;p&gt;Before writing a single line of application code on Saturday evening, I ran the &lt;strong&gt;&lt;a href="https://github.com/palladius/gemini-cli-palladius-public-goodies/tree/main/skills/romin-security" rel="noopener noreferrer"&gt;&lt;code&gt;romin-security&lt;/code&gt; skill&lt;/a&gt;&lt;/strong&gt;, codified by Riccardo Carlesso based on &lt;a href="https://medium.com/google-cloud/the-hackathon-security-guide-how-to-vibe-code-without-burning-down-your-project-0653cf6a82b9" rel="noopener noreferrer"&gt;Romin Irani's security guide&lt;/a&gt;. Designed to prevent secret leaks during fast agentic builds, the skill protected the repository from the start:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Zero hardcoded secrets.&lt;/strong&gt; All credentials load from &lt;code&gt;.env&lt;/code&gt; (left blank in &lt;code&gt;.env.example&lt;/code&gt;) and wrap in Pydantic &lt;code&gt;SecretStr&lt;/code&gt; fields so keys never appear in stack traces or logs. Rotated vehicle OAuth refresh tokens use &lt;code&gt;0600&lt;/code&gt; file permissions.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Custom Gitleaks rules.&lt;/strong&gt; I added &lt;code&gt;.gitleaks.toml&lt;/code&gt; with custom patterns, including &lt;code&gt;sk-&lt;/code&gt; personal API tokens from the electricity provider. Gitleaks runs in local &lt;code&gt;pre-commit&lt;/code&gt; hooks and in GitHub Actions with &lt;code&gt;fetch-depth: 0&lt;/code&gt; to scan the full commit history.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Least-privilege CI and open-source scrub.&lt;/strong&gt; Every continuous integration (&lt;em&gt;CI&lt;/em&gt;) workflow sets &lt;code&gt;permissions: {}&lt;/code&gt; and pins third-party actions to full commit SHAs. Before opening the repository to the public I scrubbed personal data, generalized vehicle settings, and added &lt;code&gt;SECURITY.md&lt;/code&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Enforce quality with an &lt;code&gt;AGENTS.md&lt;/code&gt; file and protected PRs
&lt;/h3&gt;

&lt;p&gt;Once the core engine worked, I protected the &lt;code&gt;main&lt;/code&gt; branch on GitHub and codified agent rules in &lt;code&gt;AGENTS.md&lt;/code&gt;. Neither I nor Antigravity can push straight to &lt;code&gt;main&lt;/code&gt;. Every bug fix, refactor, or feature uses a branch and must pass five PR gates before merge:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Gitleaks:&lt;/strong&gt; Scans the full commit history for secrets.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ruff:&lt;/strong&gt; Runs static Python linting.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Black:&lt;/strong&gt; Verifies consistent code formatting.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Pytest:&lt;/strong&gt; Runs the offline fixture suite and enforces &lt;strong&gt;&lt;code&gt;&amp;gt; 90%&lt;/code&gt; branch coverage&lt;/strong&gt; (&lt;code&gt;fail_under = 90&lt;/code&gt; in &lt;code&gt;pyproject.toml&lt;/code&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Docker build and CLI smoke test:&lt;/strong&gt; Verifies the container image starts cleanly before merges publish &lt;code&gt;:latest&lt;/code&gt; to ghcr.io.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These gates keep Gemini 4 Carbon in check during autonomous runs. When a change drops test coverage below 90% or trips a linter rule, &lt;code&gt;pre-commit&lt;/code&gt; and CI block the merge. The agent fixes the failure on its own before I review the PR.&lt;/p&gt;

&lt;h2&gt;
  
  
  Real-world testing: Move from the dry-run flag to production
&lt;/h2&gt;

&lt;p&gt;Unit tests check math, not live weather forecasts or inverter firmware quirks. Because &lt;code&gt;cheap-watts&lt;/code&gt; writes Modbus holding registers to a 10 kW grid-tied hybrid inverter, I built &lt;code&gt;--dry-run&lt;/code&gt; as a strict hardware safety gate from the start.&lt;/p&gt;

&lt;p&gt;In &lt;code&gt;--dry-run&lt;/code&gt; mode, the container queries all live inputs: electricity provider tariffs, dual-string solar forecasts, vehicle telemetry, and local inverter Modbus registers. It runs the full planner, skips every Modbus write call, and prefixes change emails with &lt;code&gt;[DRY-RUN]&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Before going live, I ran &lt;code&gt;cheap-watts&lt;/code&gt; in &lt;code&gt;--dry-run&lt;/code&gt; mode on my mini PC for several days and monitored its &lt;code&gt;[DRY-RUN]&lt;/code&gt; alerts. So far, every decision was accurate, from recommending the cheapest vehicle charging windows to sizing battery grid-charging right after the cars finished. Each time an alert arrived, I verified the plan and applied those exact settings by hand.&lt;/p&gt;

&lt;p&gt;After that testing period, I dropped &lt;code&gt;--dry-run&lt;/code&gt; from &lt;code&gt;crontab&lt;/code&gt; and switched &lt;code&gt;cheap-watts&lt;/code&gt; to production mode. Whenever I ship a major update, I turn &lt;code&gt;--dry-run&lt;/code&gt; back on first to verify nothing broke before re-enabling live inverter writes.&lt;/p&gt;

&lt;h2&gt;
  
  
  Next steps
&lt;/h2&gt;

&lt;p&gt;Ready to explore the project or try an agentic engineering workflow on your next weekend build? Here is where to go next:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;View the code on GitHub.&lt;/strong&gt; Browse the &lt;a href="https://github.com/rsamborski/cheap-watts" rel="noopener noreferrer"&gt;cheap-watts repository&lt;/a&gt; to inspect the planner, adapt it to your local tariff API, or reuse the &lt;code&gt;AGENTS.md&lt;/code&gt; and CI gates.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Secure your agentic workflow.&lt;/strong&gt; Read more about &lt;a href="https://medium.com/google-cloud/the-hackathon-security-guide-how-to-vibe-code-without-burning-down-your-project-0653cf6a82b9" rel="noopener noreferrer"&gt;Romin Irani's approach to security&lt;/a&gt;, codified by Riccardo Carlesso as the &lt;a href="https://github.com/palladius/gemini-cli-palladius-public-goodies/tree/main/skills/romin-security" rel="noopener noreferrer"&gt;&lt;code&gt;romin-security&lt;/code&gt; skill on GitHub&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Learn more about Gemini 4 Carbon.&lt;/strong&gt; Check out the &lt;a href="https://g.dev/cloud/gemini-4-carbon" rel="noopener noreferrer"&gt;Gemini 4 Carbon overview&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Learn more about Gemini 4 Hydrogen.&lt;/strong&gt; Check out the &lt;a href="https://g.dev/cloud/gemini-4-hydrogen" rel="noopener noreferrer"&gt;Gemini 4 Hydrogen overview&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Start your own agentic engineering project.&lt;/strong&gt; Download and build with &lt;a href="https://g.dev/ai/antigravity-rs" rel="noopener noreferrer"&gt;Google Antigravity&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Connect with me
&lt;/h2&gt;

&lt;p&gt;I'm always curious how others are using agentic engineering in their projects. Share your setups and questions with me on social media:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.linkedin.com/in/remigiusz-samborski/" rel="noopener noreferrer"&gt;LinkedIn&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://x.com/RemikSamborski" rel="noopener noreferrer"&gt;X&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://bsky.app/profile/rsamborski.bsky.social" rel="noopener noreferrer"&gt;Bluesky&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>antigravity</category>
      <category>smarthome</category>
      <category>energy</category>
    </item>
    <item>
      <title>Exploring Decision Models, Part 1: Putting Gemini Decision 1 to the Test</title>
      <dc:creator>Patrick Kelly</dc:creator>
      <pubDate>Thu, 19 Nov 2026 16:00:34 +0000</pubDate>
      <link>https://dev.to/googleai/exploring-decision-models-part-1-putting-gemini-decision-1-to-the-test-50f0</link>
      <guid>https://dev.to/googleai/exploring-decision-models-part-1-putting-gemini-decision-1-to-the-test-50f0</guid>
      <description>&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/ym-uCpmh8sA" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;With all the excitement around large language models over the last few years, it's easy to forget that machine learning has been around a lot longer than chat models, and that other models are built for very different jobs.&lt;/p&gt;

&lt;p&gt;Today, most AI systems leave a lot of efficiency on the table by calling a full LLM just to get a simple true or false response or a basic classification.&lt;/p&gt;

&lt;p&gt;Google recently released &lt;a href="https://ai.google.dev/gemini-api/docs/decisions-api" rel="noopener noreferrer"&gt;Gemini Decision 1&lt;/a&gt;, also known as a 'System 1' model. Instead of generating text token by token like a chat model, it reads your input in one pass and returns one of three structured statistical responses:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;True or false&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;A score&lt;/strong&gt;&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A category&lt;/strong&gt; (classification)&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Why decision models are fast and cheap
&lt;/h2&gt;

&lt;p&gt;Because there are no generated text tokens, both the speed and the pricing look very different from a standard LLM.&lt;/p&gt;

&lt;p&gt;You can ask up to &lt;strong&gt;1,000 questions at once&lt;/strong&gt; in a single request, and the extra latency per question is tiny. In my tests, asking 1 question took about &lt;strong&gt;180ms&lt;/strong&gt;, while asking 100 questions at once took about &lt;strong&gt;250ms&lt;/strong&gt;. That makes it practical to run a whole rubric of small checks together and combine them in your own application logic.&lt;/p&gt;

&lt;p&gt;On pricing, Gemini Decision 1 costs &lt;strong&gt;$0.10 per million input tokens&lt;/strong&gt; with &lt;strong&gt;$0 output token cost&lt;/strong&gt; (plus up to &lt;strong&gt;10,000 free requests per day&lt;/strong&gt; on Google's free tier). If you're used to paying steep output-token rates on chat models, that's a big shift.&lt;/p&gt;

&lt;p&gt;When I saw the release, I wanted to see how it actually held up in real workflows. I went through my old coding sessions and public datasets looking for places to either replace a slow LLM call or add a fast check that improves the overall system, ending up with &lt;strong&gt;800 scenarios&lt;/strong&gt; across 24 categories.&lt;/p&gt;

&lt;h2&gt;
  
  
  Experiment 1: model routing
&lt;/h2&gt;

&lt;p&gt;One of the first places I tried it was model routing.&lt;/p&gt;

&lt;p&gt;Instead of running your heaviest frontier model on every single step of an agent session, a router decides whether a specific request can go to a lighter, faster, cheaper model or needs larger reasoning capabilities.&lt;/p&gt;

&lt;p&gt;The catch with LLM-based routers is that you're adding an extra LLM call (more latency and cost) in the hopes of saving more than you just spent. A fast decision model gives you a much cheaper way to grade the prompt up front.&lt;/p&gt;

&lt;p&gt;First, I treated it like a normal LLM and asked one broad, subjective question: &lt;em&gt;"Should this request go to a small model or a large model based on the contents of this prompt?"&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;The result was barely better than a coin flip at &lt;strong&gt;0.72 out of 1&lt;/strong&gt;. Not reliable enough to trust.&lt;/p&gt;

&lt;p&gt;So I split that single broad prompt into four or five narrow, concrete questions in the same request: does this prompt touch authentication or billing? Is it just a styling tweak or a documentation update?&lt;/p&gt;

&lt;p&gt;With that one change, accuracy jumped to &lt;strong&gt;0.88 out of 1&lt;/strong&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  Five examples across 800 scenarios
&lt;/h2&gt;

&lt;p&gt;That swing made me curious where else decision models shine and where they fall flat. Across the 24 categories I tested on 800 real sessions, here are five examples running from best to worst:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Customer support team routing (~100% accurate):&lt;/strong&gt; Triaging incoming customer queries to the right team was nearly 100% accurate, averaging &lt;strong&gt;230ms&lt;/strong&gt; per request at &lt;strong&gt;$0.34 per 10,000 requests&lt;/strong&gt;. Basic classification like this is a great fit.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Prompt injection detection (99.7% accurate):&lt;/strong&gt; Checking incoming queries for prompt injection and text-based hijacking hit &lt;strong&gt;99.7%&lt;/strong&gt; accuracy.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deciding what to remember (88% accurate):&lt;/strong&gt; Scanning recent conversation messages to spot a durable rule, instruction, or fact worth saving to memory hit &lt;strong&gt;88%&lt;/strong&gt; accuracy. Running a full LLM after every turn to check for memory updates gets expensive fast, so this is a useful filter.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Splitting code files for retrieval (plain code won):&lt;/strong&gt; I tried using the model to slice large code files into relevant chunks for retrieval, and it didn't perform well. Plain deterministic code logic was simpler and worked better.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Predicting user pushback (46% accurate):&lt;/strong&gt; This was the test I was most hopeful about. I wanted a persistent check that could spot when I was about to step in and correct my agent before it happened. Instead, it scored &lt;strong&gt;46%&lt;/strong&gt;, worse than a coin flip. That question was simply too broad and subjective for a single pass.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Where decision models fit
&lt;/h2&gt;

&lt;p&gt;All of these tests ran on my own sessions and a public dataset, so they aren't exhaustive. Edge cases always exist, and testing on your own data is still the best way to learn where a model holds up.&lt;/p&gt;

&lt;p&gt;The pattern across all 800 scenarios was consistent: break your check down into the narrowest, most specific, and least subjective questions you can, and a decision model like Gemini Decision 1 will be fast, cheap, and accurate. Save broad subjective judgment for full language models, and use plain deterministic code whenever simple code logic already solves the problem.&lt;/p&gt;

&lt;p&gt;This is Part 1 of my exploration of decision models. I'll follow up with more results as I build these checks into real projects.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>googlecloud</category>
      <category>gemini</category>
      <category>agents</category>
    </item>
    <item>
      <title>From Prototype to Production: Building AI Agents with the Claude Platform on Google Cloud</title>
      <dc:creator>Jen Harvey</dc:creator>
      <pubDate>Thu, 19 Nov 2026 00:24:39 +0000</pubDate>
      <link>https://dev.to/googleai/from-prototype-to-production-building-ai-agents-with-the-claude-platform-on-google-cloud-ap7</link>
      <guid>https://dev.to/googleai/from-prototype-to-production-building-ai-agents-with-the-claude-platform-on-google-cloud-ap7</guid>
      <description>&lt;p&gt;Getting an AI agent working on &lt;code&gt;localhost&lt;/code&gt; is easy. Getting that same agent into production - where it needs to handle files, execute code safely, manage long-running tasks, and satisfy enterprise security teams - is usually where projects stall out.&lt;/p&gt;

&lt;p&gt;If you’re building agentic workflows with Anthropic’s Claude models on Google Cloud, the &lt;strong&gt;Build Agents with Claude Platform on Google Cloud&lt;/strong&gt; technical session is now available to watch on demand.&lt;/p&gt;

&lt;p&gt;👉 &lt;strong&gt;&lt;a href="https://claude.com/resources/webinars/build-agents-with-claude-platform-on-google-cloud?utm_source=partner-google&amp;amp;utm_medium=webinar&amp;amp;utm_campaign=gcp-promotion" rel="noopener noreferrer"&gt;Watch the on-demand webinar here&lt;/a&gt;&lt;/strong&gt; *&lt;/p&gt;

&lt;p&gt;*you will need to register to see the content.&lt;/p&gt;




&lt;h3&gt;
  
  
  What This Session Covers
&lt;/h3&gt;

&lt;p&gt;Instead of high-level slides, this session focuses on the practical architecture of shipping real agents on Google Cloud:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Full Claude Platform Capabilities on GCP:&lt;/strong&gt; How to build agents that go beyond basic chat - working directly with files, running code in sandboxes, using custom skills, and orchestrating multi-step, long-running tasks.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Choosing the Right Deployment Path:&lt;/strong&gt; A breakdown of the two ways to run Claude on Google Cloud depending on your stack:

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Claude Platform on Google Cloud (Anthropic-managed):&lt;/strong&gt; Access the latest standalone Claude platform capabilities directly, backed by your existing Google Cloud IAM authentication and unified GCP billing/commitments.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Google Cloud/Model Garden (Google-managed):&lt;/strong&gt; Ideal when your workload requires strict regional data residency, VPC Service Controls, and native Google Cloud ecosystem integrations.&lt;/li&gt;
&lt;/ol&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Tool Use &amp;amp; Guardrails:&lt;/strong&gt; Best practices for structuring tool calls, connecting external context (via MCP and APIs), and setting production guardrails so agents fail gracefully rather than unpredictably.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Zero Procurement Friction:&lt;/strong&gt; How engineering teams can spin up and test agent workflows using existing Google Cloud credentials and cloud spend commitments - without waiting on separate vendor onboarding or fragmented invoices.&lt;/li&gt;
&lt;/ul&gt;




&lt;h3&gt;
  
  
  Who Should Watch
&lt;/h3&gt;

&lt;p&gt;Whether you are migrating a local Claude prototype into a secure cloud environment or architecting multi-agent systems for an enterprise team, this walkthrough will save you hours of trial and error on auth, deployment topology, and tool orchestration.&lt;/p&gt;

&lt;p&gt;📺 &lt;strong&gt;&lt;a href="https://claude.com/resources/webinars/build-agents-with-claude-platform-on-google-cloud?utm_source=partner-google&amp;amp;utm_medium=webinar&amp;amp;utm_campaign=gcp-promotion" rel="noopener noreferrer"&gt;Check out the full recording here&lt;/a&gt;&lt;/strong&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>googlecloud</category>
      <category>claude</category>
      <category>agents</category>
    </item>
    <item>
      <title>Why Your AI Agent Keeps Forgetting (and Getting Slower): 4 Memory Options and 3 Context Fixes</title>
      <dc:creator>Frank Guan</dc:creator>
      <pubDate>Tue, 17 Nov 2026 23:18:41 +0000</pubDate>
      <link>https://dev.to/googleai/why-your-ai-agent-keeps-forgetting-and-getting-slower-4-memory-options-and-3-context-fixes-2e02</link>
      <guid>https://dev.to/googleai/why-your-ai-agent-keeps-forgetting-and-getting-slower-4-memory-options-and-3-context-fixes-2e02</guid>
      <description>&lt;p&gt;Most AI agents have two memory problems. They forget what a user told them last week, and every turn costs more than the one before.&lt;/p&gt;

&lt;p&gt;Both come from the same place: how much of the conversation you send to the model, and what you keep between sessions.&lt;/p&gt;

&lt;p&gt;In this episode of &lt;strong&gt;AI Agent Clinic&lt;/strong&gt;, Google Cloud engineer Laxmi Harikumar and developer Miles Libbey fix both in Scribant, a voice to action agent Miles built in TypeScript with Agent Development Kit (ADK).&lt;/p&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/RvJ6UpR2oj8" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;h2&gt;
  
  
  Which memory option should you use?
&lt;/h2&gt;

&lt;p&gt;The episode compares 4 ways to give an agent memory, using one test. A user says "I'm in New York", later says "I moved to San Francisco", then asks "Where do I live now?"&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Option&lt;/th&gt;
&lt;th&gt;What the model gets&lt;/th&gt;
&lt;th&gt;Tradeoff&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Flat prompting&lt;/td&gt;
&lt;td&gt;The full chat history&lt;/td&gt;
&lt;td&gt;Easy to build, but tokens grow every turn&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Vector RAG&lt;/td&gt;
&lt;td&gt;Every chunk that matches, old and new&lt;/td&gt;
&lt;td&gt;Saves tokens, but retrieval alone doesn't say which fact is current&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Knowledge graph&lt;/td&gt;
&lt;td&gt;The current fact&lt;/td&gt;
&lt;td&gt;Tracks changes, but you build the extraction, schemas and update logic&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Memory Bank in Gemini platform&lt;/td&gt;
&lt;td&gt;The current fact&lt;/td&gt;
&lt;td&gt;Extracts, deduplicates and updates facts for you in the background&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;RAG is still the right tool for searching a knowledge base. Memory is a different job: keeping facts about a user current as they change.&lt;/p&gt;

&lt;h2&gt;
  
  
  How do you keep context small in a streaming agent?
&lt;/h2&gt;

&lt;p&gt;Scribant gets new transcript text every 2 seconds, so resending everything adds up fast. The episode adds 3 fixes, each for a different time span:&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Rolling window (this turn):&lt;/strong&gt; the intent classifier reads only the last 40 words.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Rolling summary (this session):&lt;/strong&gt; a running summary stands in for everything said so far.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Memory Bank (across sessions):&lt;/strong&gt; only the extracted facts are stored and recalled later.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What did the demo measure?
&lt;/h2&gt;

&lt;p&gt;On one short test conversation in the episode (about 200 spoken words):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The 40 word window used about 86% fewer classifier tokens than sending the whole speech stream.&lt;/li&gt;
&lt;li&gt;The rolling summary came to 92 tokens.&lt;/li&gt;
&lt;li&gt;Memory Bank stored about 24 tokens of facts, where ingesting the whole conversation would have taken about 1,400.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;These are results from one demo, not benchmarks. Treat 40 words as a starting point and tune it to how your users talk. The token tracking code is in the repo (&lt;code&gt;token-telemetry.ts&lt;/code&gt;) if you want to measure your own agent.&lt;/p&gt;

&lt;h2&gt;
  
  
  Jump to a section
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;0:00&lt;/strong&gt; Intro&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;1:51&lt;/strong&gt; Live demo: spoken thoughts become calendar events and tasks&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;2:44&lt;/strong&gt; Architecture: the 3 stage ADK pipeline and the execution gate&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;4:21&lt;/strong&gt; Memory options: flat prompting, RAG and knowledge graphs&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;5:56&lt;/strong&gt; Wiring up Memory Bank in ADK&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;9:01&lt;/strong&gt; The 40 word rolling window&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;12:07&lt;/strong&gt; Dashboard results&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;14:41&lt;/strong&gt; Takeaways&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Code and docs
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Full video (15 minutes):&lt;/strong&gt; &lt;a href="https://youtu.be/RvJ6UpR2oj8" rel="noopener noreferrer"&gt;Watch on YouTube&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;How do you handle memory in your own agents: full history, RAG, or something else? Tell us in the comments.&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agents</category>
      <category>memory</category>
      <category>rag</category>
    </item>
    <item>
      <title>🎞️ How to compare documents</title>
      <dc:creator>Laurent Picard</dc:creator>
      <pubDate>Fri, 13 Nov 2026 16:13:37 +0000</pubDate>
      <link>https://dev.to/googleai/how-to-compare-documents-2bjj</link>
      <guid>https://dev.to/googleai/how-to-compare-documents-2bjj</guid>
      <description>&lt;h3&gt;
  
  
  🍿 Just a moment #02
&lt;/h3&gt;

&lt;blockquote&gt;
&lt;p&gt;Have you ever had to compare two versions of a complex document? What if one is a digital PDF and the other is a scan, spanning hundreds of pages, with different layouts and pagination? In this episode, see how Gemini’s native multimodality spots subtle differences, from tiny typos to $100M contract updates, in a single prompt.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/-4uuPJ_YNIc" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;Possible prompt template (used in the video):&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;&amp;lt;DOCUMENT_A&amp;gt;
…
&amp;lt;/DOCUMENT_A&amp;gt;
&amp;lt;DOCUMENT_B&amp;gt;
…
&amp;lt;/DOCUMENT_B&amp;gt;

TASK:
Perform an exhaustive, character-by-character textual comparison between DOCUMENT_A and DOCUMENT_B.

CRITICAL REQUIREMENTS:
1. You must systematically verify every numbered paragraph sequentially from start to finish.
2. You must catch every single difference, including single-character changes, minor typos, spelling corrections (e.g., missing letters in common words), and punctuation changes, in addition to substantive changes (numbers, dates, names).

OUTPUT FORMAT:
Difference #[1, 2, 3…]
Location: [location]
Evidence A: "[short quote from Document A]" with difference in *bold*
Evidence B: "[short quote from Document B]" with difference in *bold*
Explanation: [brief description]
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  More
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;🔗 Document understanding → &lt;a href="https://g.dev/cloud/document-understanding" rel="noopener noreferrer"&gt;https://g.dev/cloud/document-understanding&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;🔗 Gemini models → &lt;a href="https://g.dev/cloud/gemini-models" rel="noopener noreferrer"&gt;https://g.dev/cloud/gemini-models&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;🔔 Subscribe to Google Cloud Tech → &lt;a href="https://goo.gle/GoogleCloudTech" rel="noopener noreferrer"&gt;https://goo.gle/GoogleCloudTech&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




</description>
      <category>llm</category>
      <category>machinelearning</category>
      <category>videos</category>
      <category>justamoment</category>
    </item>
    <item>
      <title>🎞️ What is native multimodality?</title>
      <dc:creator>Laurent Picard</dc:creator>
      <pubDate>Fri, 13 Nov 2026 10:00:19 +0000</pubDate>
      <link>https://dev.to/googleai/what-is-native-multimodality-3091</link>
      <guid>https://dev.to/googleai/what-is-native-multimodality-3091</guid>
      <description>&lt;h3&gt;
  
  
  🍿 Just a moment #01
&lt;/h3&gt;

&lt;blockquote&gt;
&lt;p&gt;Did you know there are three tokenizers involved when Gemini processes multimodal inputs? In this episode, we peek under the hood to see how text, vision, and audio tokenizers work together.&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/WxdwhoUxBZU" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;h3&gt;
  
  
  More
&lt;/h3&gt;

&lt;ul&gt;
&lt;li&gt;🔗 Explore Gemini models → &lt;a href="https://g.dev/cloud/gemini-models" rel="noopener noreferrer"&gt;https://g.dev/cloud/gemini-models&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;🔔 Subscribe to Google Cloud Tech → &lt;a href="https://goo.gle/GoogleCloudTech" rel="noopener noreferrer"&gt;https://goo.gle/GoogleCloudTech&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;




</description>
      <category>llm</category>
      <category>machinelearning</category>
      <category>videos</category>
      <category>justamoment</category>
    </item>
    <item>
      <title>Muse Wonder, Muse Spark 1.3, and Muse Ember are now available on Google Cloud in public preview</title>
      <dc:creator>Jen Harvey</dc:creator>
      <pubDate>Thu, 12 Nov 2026 18:53:24 +0000</pubDate>
      <link>https://dev.to/googleai/muse-wonder-muse-spark-13-and-muse-ember-are-now-available-on-google-cloud-in-public-preview-5e6j</link>
      <guid>https://dev.to/googleai/muse-wonder-muse-spark-13-and-muse-ember-are-now-available-on-google-cloud-in-public-preview-5e6j</guid>
      <description>&lt;p&gt;Muse Wonder, Muse Spark 1.3 and Muse Ember are now publicly available on Google Cloud. &lt;/p&gt;

&lt;p&gt;Deploy Meta’s latest models with enterprise-grade security and serverless scale through the model garden on Google Cloud today. &lt;/p&gt;

&lt;p&gt;Learn more → &lt;a href="https://cloud.google.com/products/model-garden/meta" rel="noopener noreferrer"&gt;https://cloud.google.com/products/model-garden/meta&lt;/a&gt;&lt;/p&gt;

</description>
      <category>muse</category>
      <category>ai</category>
      <category>googlecloud</category>
    </item>
    <item>
      <title>NetHack Remake with Gemini 4 Carbon</title>
      <dc:creator>bebechien</dc:creator>
      <pubDate>Thu, 12 Nov 2026 04:10:49 +0000</pubDate>
      <link>https://dev.to/googleai/nethack-remake-with-gemini-4-carbon-4pjf</link>
      <guid>https://dev.to/googleai/nethack-remake-with-gemini-4-carbon-4pjf</guid>
      <description>&lt;p&gt;Hello everyone! Today, I’d like to share my experience testing out Gemini 4 Carbon. What did I build? I remade the classic 1987 retro roguelike game &lt;a href="https://www.nethack.org/" rel="noopener noreferrer"&gt;NetHack&lt;/a&gt; into a modern 3D action RPG. The deep gameplay of the original dungeon crawler (originally rendered only in text and ASCII graphics) inspired countless games that followed, including Diablo, and thanks to its open-source nature, it continues to evolve to this day.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;✨ Remake Demo Promo Video&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;  &lt;iframe src="https://www.youtube.com/embed/4KfezQB4aW0" width="710" height="399"&gt;
  &lt;/iframe&gt;
&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Actual Gameplay Capture&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fgithub.com%2Fbebechien%2Fcozy-corner-future%2Fblob%2Fmain%2Fassets%2Fimages%2Fnethack-agy-3d-arpg-small.gif%3Fraw%3Dtrue" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto/https%3A%2F%2Fgithub.com%2Fbebechien%2Fcozy-corner-future%2Fblob%2Fmain%2Fassets%2Fimages%2Fnethack-agy-3d-arpg-small.gif%3Fraw%3Dtrue" width="480" height="261"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Curious about how a text-based classic turned into a modern 3D action RPG? Follow along with the step-by-step guide below, and you'll be able to kick off your very own retro game remake project with ease!&lt;/p&gt;

&lt;h1&gt;
  
  
  🛠️ Prerequisites
&lt;/h1&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Install Antigravity &amp;amp; Get Model Access:&lt;/strong&gt; Install the project development platform Antigravity, and secure access to the Gemini 4 Carbon model, which offers exceptional coding capabilities.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Set Up 3D Asset Automation Environment:&lt;/strong&gt; Install Blender for 3D modeling, add the MCP (Model Context Protocol) add-on, and connect the Blender MCP server to Antigravity.&lt;/li&gt;
&lt;/ul&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;📌 A Quick Note!&lt;/strong&gt;&lt;br&gt;
Public code repositories come with their own specific licensing terms. While you are generally free to experiment for personal learning, always check the project's license before using it commercially or sharing your final result publicly!&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Now, let's go over the preparation steps one by one.&lt;/p&gt;

&lt;h1&gt;
  
  
  💻 Installing Antigravity &amp;amp; Accessing the Model
&lt;/h1&gt;

&lt;p&gt;Install Antigravity - &lt;a href="https://antigravity.google" rel="noopener noreferrer"&gt;https://antigravity.google&lt;/a&gt;&lt;br&gt;
You can use Gemini 4 Carbon right away by subscribing to the &lt;a href="https://one.google.com/about/google-ai-plans/" rel="noopener noreferrer"&gt;Google AI Ultra plan&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Once you're all set up, create a new project in Antigravity and configure it to use Gemini 4 Carbon, as shown below.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwamx4e2obmurrhu2fhdo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fwamx4e2obmurrhu2fhdo.png" alt="Antigravity Setup" width="800" height="412"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Shall we move on to the next step?&lt;/p&gt;
&lt;h1&gt;
  
  
  🎨 Setting Up 3D Asset Automation Environment
&lt;/h1&gt;

&lt;p&gt;Why do we need a separate MCP server? Actually, you can develop 3D games using Carbon just fine without this setup. However, connecting MCP unlocks features specialized for 3D asset generation, resulting in a much more polished product. If you already use another server, feel free to use that; otherwise, follow the instructions below to connect the Blender MCP server.&lt;/p&gt;

&lt;p&gt;Install Blender - &lt;a href="https://www.blender.org" rel="noopener noreferrer"&gt;https://www.blender.org&lt;/a&gt;&lt;br&gt;
Install Blender MCP Server - &lt;a href="https://projects.blender.org/lab/blender_mcp/wiki/Setup" rel="noopener noreferrer"&gt;https://projects.blender.org/lab/blender_mcp/wiki/Setup&lt;/a&gt;&lt;br&gt;
Install Blender MCP Server Add-on - &lt;a href="https://www.blender.org/lab/mcp-server/#add-on" rel="noopener noreferrer"&gt;https://www.blender.org/lab/mcp-server/#add-on&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Finally, to add the Blender MCP server to Antigravity, you need to edit the configuration file manually.&lt;/p&gt;

&lt;p&gt;Click “Copy Config File Path” next to Customizations &amp;gt; Installed &amp;gt; MCP Servers, then open the file in your favorite text editor.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fyetftkxcky7lbbjnbd95.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fyetftkxcky7lbbjnbd95.png" alt="Antigravity MCP Servers" width="800" height="412"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7m20nqak53hpe1c4sc8j.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F7m20nqak53hpe1c4sc8j.png" alt="Antigravity MCP Config" width="800" height="528"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;In my case, because I already had the cloudrun MCP installed on Windows, my screen looks slightly different from yours. However, you can refer to the &lt;a href="https://projects.blender.org/lab/blender_mcp/wiki/Setup#mcp-config-file" rel="noopener noreferrer"&gt;official Wiki instructions&lt;/a&gt; to add the settings for your specific environment.&lt;/p&gt;

&lt;p&gt;After restarting Antigravity to load the updated config file, a green light will appear next to the blender entry as shown below. You’re now all set to start developing!&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F44f0r7270zumzjbo67u3.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F44f0r7270zumzjbo67u3.png" alt="Antigravity Blender MCP Connected" width="800" height="412"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h1&gt;
  
  
  🚀 Starting the Main Work
&lt;/h1&gt;

&lt;p&gt;Once all preparations are complete, write a one-shot prompt to pass to the agent. Here is the actual prompt I used:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;/swarm Clone https://github.com/NetHack/NetHack and port it into modern web technology and wasm. Remake it into a 3D Action RPG. Use Blender MCP to generate high quality 3d assets.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fywlcq6n3tm5u2ivwwbh7.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fywlcq6n3tm5u2ivwwbh7.png" alt="Antigravity Prompt" width="800" height="412"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Using the Swarm feature spawns subagents that process tasks in parallel. Instead of a single agent evaluating itself, independent agents with separate contexts objectively analyze each other's outputs, resulting in much higher-quality deliverables.&lt;/p&gt;

&lt;p&gt;You can leave the permission settings at the bottom right to Default to require user approvals for key tasks, or set it to "Turbo" mode to let the agent work autonomously until final completion.&lt;/p&gt;

&lt;p&gt;The execution time depends on the project size. While waiting, it’s fun to observe the agent’s reasoning process or monitor how tasks are being distributed in real time via the Swarm UI.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0nwcdsvzhseroxaj50nz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F0nwcdsvzhseroxaj50nz.png" alt="Antigravity Swarm" width="800" height="412"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When all work is finished, Antigravity will display a notification. If there are areas you’d like to tweak, you can request additional revisions—or even ask for new features as fresh ideas come to mind!&lt;/p&gt;

&lt;h1&gt;
  
  
  🎁 Bonus: Adding Retro Vibes
&lt;/h1&gt;

&lt;p&gt;Once your game implementation is rock solid, try creating a 1980s VHS-style promo video to add that extra retro charm!&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;Create a promotion video with 80s vibe with VHS tape artifacts. Use Lyria 3.5 to generate background music. Use Gemini 3.8 Flash TTS to generate promotional messages.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Please note that for the agent to access the model in a local environment, you must either &lt;a href="https://aistudio.google.com/docs/api-key" rel="noopener noreferrer"&gt;set GEMINI_API_KEY&lt;/a&gt; in advance or install the Gemini API plugin from Antigravity's Marketplace.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1uq9fdlhn62s36if48xq.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F1uq9fdlhn62s36if48xq.png" alt="Antigravity Plugin" width="800" height="414"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;And that covers the entire process of making the promo video shown earlier!&lt;/p&gt;

&lt;p&gt;What kind of awesome project will you build next?&lt;/p&gt;

</description>
      <category>game</category>
      <category>gemini</category>
      <category>blender</category>
      <category>mcp</category>
    </item>
    <item>
      <title>Behind the scenes, two months later: How we ship Google Agent Skills like products</title>
      <dc:creator>Remigiusz Samborski</dc:creator>
      <pubDate>Tue, 10 Nov 2026 15:22:39 +0000</pubDate>
      <link>https://dev.to/googleai/behind-the-scenes-two-months-later-how-we-ship-google-agent-skills-like-products-b1l</link>
      <guid>https://dev.to/googleai/behind-the-scenes-two-months-later-how-we-ship-google-agent-skills-like-products-b1l</guid>
      <description>&lt;p&gt;In my previous post, I took you &lt;a href="https://dev.to/googleai/behind-the-scenes-how-we-build-test-and-scale-google-agent-skills-1am5"&gt;behind the scenes of Google Agent Skills&lt;/a&gt;, covering how the project started, how we maintain quality at scale, and how we handle governance. In this post, I'll share what we've built since then: the automated quality gates every change must pass, the AI review agent that inspects skill quality, and the lessons we learned along the way. You can adopt the same gates and review rules in your own skill repository.&lt;/p&gt;

&lt;p&gt;Since my last post, the &lt;a href="https://g.dev/ai/skills" rel="noopener noreferrer"&gt;Google Agent Skills repository&lt;/a&gt; has passed 21,000 GitHub stars, up from 15,000. It now hosts over 170 skills from teams across Google, and we distribute them across multiple AI platforms.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Furb1dm2yksueiyqlkm8z.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Furb1dm2yksueiyqlkm8z.png" alt="Line chart of google/skills GitHub stars climbing past 21,000" width="800" height="480"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Building agent skills for a single developer or a small project is straightforward. You write a &lt;code&gt;SKILL.md&lt;/code&gt; file, define a few instructions, test it manually, and it works. At our scale, manual workflows stop being effective. Unvetted edits can introduce subtle bugs, and it becomes difficult to catch issues before they reach users.&lt;/p&gt;

&lt;h2&gt;
  
  
  The core philosophy: Ship skills like products
&lt;/h2&gt;

&lt;p&gt;One key lesson from my previous post: a skill is a living product, not a one-off document. In practice, that means we ship every skill update like a product release.&lt;/p&gt;

&lt;p&gt;It's tempting to treat a skill as documentation. But documentation explains concepts to a human reader, while a skill steers an AI agent's reasoning loop, tool selection, and execution path. A misplaced phrase in a skill can cause an agent to invoke invalid command flags, enter an infinite loop, or waste tokens.&lt;/p&gt;

&lt;p&gt;That makes every instruction edit a behavioral change. You wouldn't ship a product update without testing it, and the same goes for a skill. This principle drives three core requirements:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Strict semantic versioning:&lt;/strong&gt; Every behavioral change requires an explicit version bump.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Deterministic automated validation:&lt;/strong&gt; Linters and validators check every proposed change before a human or AI reviewer sees it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Mandatory evaluation evidence:&lt;/strong&gt; Every change includes an evaluation report. It compares the skill against its previous version, or against an agent without the skill if the skill is new.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Automated conformance gates: The pull request pipeline
&lt;/h2&gt;

&lt;p&gt;In my previous post, I briefly listed the checks every skill passes on check-in: linters, link checkers, and AI-assisted checklists. Here's what's inside them, plus two gates I haven't covered before: semantic versioning and evaluation suite validation.&lt;/p&gt;

&lt;p&gt;When an author submits a change to our internal skills repository, an automated continuous integration and continuous delivery (CI/CD) pipeline triggers immediately. A skill must pass six automated gates and human approval before it's exported to GitHub:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Structural conformance:&lt;/strong&gt; Directory layout, allowed files, taxonomy&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Skill linters:&lt;/strong&gt; Frontmatter, folder naming, Markdown rules&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Semantic versioning:&lt;/strong&gt; Version bump for every behavioral change&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Evaluation suite:&lt;/strong&gt; Valid eval suite and a fresh eval report&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Link validation:&lt;/strong&gt; Relative links are valid&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;AI review agent:&lt;/strong&gt; Skill quality and design standards&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Human approval:&lt;/strong&gt; Final approval from a human reviewer (subject matter expert)&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Structural conformance and skill linters
&lt;/h3&gt;

&lt;p&gt;Our automated validation suite inspects every pull request for structural and syntactical correctness. Some of the rules include:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Folder name and metadata name must match&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;SKILL.md&lt;/code&gt; and description length limits are enforced&lt;/li&gt;
&lt;li&gt;All required fields in the frontmatter &lt;code&gt;metadata&lt;/code&gt; are present&lt;/li&gt;
&lt;li&gt;Only a curated list of files and directories is allowed within a skill directory&lt;/li&gt;
&lt;li&gt;All Markdown files follow formatting rules&lt;/li&gt;
&lt;li&gt;The main &lt;code&gt;README.md&lt;/code&gt; and the machine-readable &lt;code&gt;index.json&lt;/code&gt; registry are up to date&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Semantic versioning
&lt;/h3&gt;

&lt;p&gt;Every skill declares a semantic version in its &lt;code&gt;SKILL.md&lt;/code&gt; frontmatter metadata:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="nn"&gt;---
&lt;/span&gt;&lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;spanner-basics&lt;/span&gt;
&lt;span class="na"&gt;metadata&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;version&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"1.1.1"&lt;/span&gt;
  &lt;span class="na"&gt;category&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Databases&lt;/span&gt;
&lt;span class="na"&gt;description&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="s2"&gt;"..."&lt;/span&gt;
&lt;span class="nn"&gt;---
&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;First, our automated checks verify that the version is a quoted string. YAML parses unquoted values such as &lt;code&gt;2.0&lt;/code&gt; as numbers, which causes unexpected parsing errors in tools that expect a string.&lt;/p&gt;

&lt;p&gt;Second, the validator checks the version transition itself. New skills must start at &lt;code&gt;1.0.0&lt;/code&gt;, and any change to an existing skill's instructions, scripts, or references requires a version bump or the pull request is blocked. Standard reset rules apply: bumping &lt;code&gt;MAJOR&lt;/code&gt; (for example, &lt;code&gt;1.4.2&lt;/code&gt; to &lt;code&gt;2.0.0&lt;/code&gt;) resets &lt;code&gt;MINOR&lt;/code&gt; and &lt;code&gt;PATCH&lt;/code&gt; to &lt;code&gt;0&lt;/code&gt;, and bumping &lt;code&gt;MINOR&lt;/code&gt; (for example, &lt;code&gt;1.4.2&lt;/code&gt; to &lt;code&gt;1.5.0&lt;/code&gt;) resets &lt;code&gt;PATCH&lt;/code&gt; to &lt;code&gt;0&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Why enforce strict versioning if the agent only reads the Markdown instructions? The version number is for the developer and their package tooling, not for the model at runtime. Skills don't auto-update in the background, which means there's no network check or latency overhead each time an agent invokes a skill. Instead, explicit versions let developers compare their locally installed skills against the upstream catalog and decide when to pull changes — for example, by running &lt;code&gt;npx skills update&lt;/code&gt;. This also supports workflows where teams want to lock a critical skill to a known-good version to guarantee reproducible agent behavior across their projects.&lt;/p&gt;

&lt;h3&gt;
  
  
  Evaluation suite validation
&lt;/h3&gt;

&lt;p&gt;Our continuous evaluations (evals) compare agent performance with and without each skill. Those results are only as reliable as the evaluation suites behind them. If a suite contains broken file references or compound expectations, test results become noisy and untrustworthy.&lt;/p&gt;

&lt;p&gt;Our validator parses each evaluation suite and the pull request description, then checks several strict invariants:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Resolution of file-based prompts:&lt;/strong&gt; When a test prompt references a file (such as &lt;code&gt;@file:test_prompt.txt&lt;/code&gt;), the validator confirms that the target file exists and isn't empty.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Atomic expectations:&lt;/strong&gt; Each expectation must check exactly one criterion. The validator blocks compound expectations until authors split them. Lesson 2 later in this post shows why.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Duplicate detection:&lt;/strong&gt; The validator flags duplicate test prompts and conflicting expectations within the same evaluation suite.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Mandatory evaluation report:&lt;/strong&gt; Every pull request that modifies a skill must link to an evaluation report in its description.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Eval staleness check:&lt;/strong&gt; Authors usually iterate on a pull request as reviewers leave feedback. The validator confirms that the linked report ran against the latest commit.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgo2946euaqb0uomdetzb.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fgo2946euaqb0uomdetzb.jpg" alt="Flowchart of the eval staleness check: a new commit makes the linked eval report stale until evals re-run on the latest commit, and only then does the eval gate pass" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Link validation
&lt;/h3&gt;

&lt;p&gt;Over 170 skills link to documentation for fast-evolving Google products, and those pages can move long after a skill passes review. Rather than waiting for users to report broken links, we validate links at two stages. Before merge, pull request checks verify all relative links, such as files in &lt;code&gt;references/&lt;/code&gt;.&lt;/p&gt;

&lt;p&gt;Then, every Monday, a &lt;a href="https://github.com/google/skills/blob/main/.github/workflows/link-checker.yml" rel="noopener noreferrer"&gt;GitHub Actions workflow&lt;/a&gt; runs &lt;a href="https://github.com/lycheeverse/lychee" rel="noopener noreferrer"&gt;lychee&lt;/a&gt; across all external links in the public repository and routes any broken links to skill owners for remediation.&lt;/p&gt;

&lt;h3&gt;
  
  
  AI review agent
&lt;/h3&gt;

&lt;p&gt;Linters and schema validators catch syntactic errors, but they can't evaluate overall quality. They can't tell you if an instruction is confusing, if a reference guide is too verbose, or if a task should have been a bash script instead of a large language model (LLM) instruction.&lt;/p&gt;

&lt;p&gt;To solve this, we integrated an AI review agent into our review pipeline. When a change affects a skill, the AI reviewer inspects it using a dedicated review skill. Yes, we use a skill to review skills.&lt;/p&gt;

&lt;p&gt;Here are the core rules the AI reviewer evaluates. You can adopt these rules in your own skill development workflows.&lt;/p&gt;

&lt;h4&gt;
  
  
  1. Skill suitability and the deterministic trap
&lt;/h4&gt;

&lt;p&gt;The first question our AI reviewer asks is simple: &lt;strong&gt;Does this task belong in an instruction?&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;We often see authors fall into the "deterministic trap." They write rigid, numbered sequences of command-line interface (CLI) commands directly into Markdown text.&lt;/p&gt;

&lt;p&gt;LLMs are probabilistic engines. If an operation requires a strict sequence of commands where a variation can cause an error, embedding those commands in the instruction text invites hallucinations.&lt;/p&gt;

&lt;p&gt;Our AI reviewer enforces a clear boundary between deterministic and probabilistic logic. Rigid CLI sequences, JSON parsers, and deployment steps must live in executable scripts under &lt;code&gt;scripts/&lt;/code&gt;. Markdown instructions are reserved for tasks that require judgment, such as choosing an architecture, diagnosing error logs, or synthesizing code.&lt;/p&gt;

&lt;p&gt;This rule complements the Model Context Protocol (MCP) guidance I shared last time: prefer remote MCP tools whenever possible. When you must fall back to CLI or API calls, wrap them in a script instead of spelling them out in the instructions.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdyu4z0yns1vlvz15exqc.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fdyu4z0yns1vlvz15exqc.jpg" alt="Decision tree: tasks that need judgment belong in SKILL.md instructions, while exact command sequences use a remote MCP tool if one exists, or a script under scripts/ if not" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  2. The L1/L2/L3 modular architecture
&lt;/h4&gt;

&lt;p&gt;Context windows are valuable. Loading a 2,000-line skill into an agent consumes context and degrades reasoning.&lt;/p&gt;

&lt;p&gt;Our AI reviewer enforces a three-tier information hierarchy that follows the progressive disclosure model of Agent Skills:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Level 1 (Metadata):&lt;/strong&gt; The YAML frontmatter (&lt;code&gt;name&lt;/code&gt;, &lt;code&gt;description&lt;/code&gt;). The agent uses this concise summary for discovery and routing.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Level 2 (Core instructions):&lt;/strong&gt; The main &lt;code&gt;SKILL.md&lt;/code&gt; file. The body must stay compact (under 500 lines). It provides workflow overviews, decision trees, and guardrails.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Level 3 (Reference docs):&lt;/strong&gt; Detailed API references, schemas, and other reference tables live in a &lt;code&gt;references/&lt;/code&gt; directory.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Our AI reviewer enforces two distinct rules for Level 3: &lt;strong&gt;flat directory structure&lt;/strong&gt; and &lt;strong&gt;single-hop indirection&lt;/strong&gt;. Keeping &lt;code&gt;references/&lt;/code&gt; flat (no subdirectories) is a repository convention that discourages sprawling documentation trees and makes file discovery simpler. More importantly for runtime performance, the reviewer blocks &lt;strong&gt;chained references&lt;/strong&gt;, where &lt;code&gt;SKILL.md&lt;/code&gt; links to a reference file that links to yet another file. Each hop requires an extra tool call, adding latency and cost, and our evaluations showed that agents frequently stop before following a second level of chained references.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3rvjyuxrvkys5idt1inr.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2F3rvjyuxrvkys5idt1inr.jpg" alt="Whiteboard sketch of progressive disclosure: the agent scans skill names (L1), opens one SKILL.md (L2), and pulls one file from references/ (L3), using little of its context window" width="800" height="447"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  3. Non-interactive script design
&lt;/h4&gt;

&lt;p&gt;When skills bundle helper scripts in &lt;code&gt;scripts/&lt;/code&gt;, we expect agents to execute them directly in terminal sandboxes.&lt;/p&gt;

&lt;p&gt;Our AI reviewer flags any script that blocks on interactive prompts. Every script must accept inputs through command-line flags or environment variables, provide &lt;code&gt;--help&lt;/code&gt; documentation, and include a &lt;code&gt;--dry-run&lt;/code&gt; or confirmation flag for destructive operations. Scripts also need to separate output cleanly, writing structured data (usually JSON) to standard output and actionable error messages to standard error.&lt;/p&gt;

&lt;h4&gt;
  
  
  Example AI review checklist snippet
&lt;/h4&gt;

&lt;p&gt;The review skill also checks frontmatter for spec compliance and discovery, and turns the L1/L2/L3 architecture into concrete structure rules. Here's an excerpt from those criteria:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight markdown"&gt;&lt;code&gt;&lt;span class="gu"&gt;### Front Matter &amp;amp; Discovery
&lt;/span&gt;
&lt;span class="k"&gt;- &lt;/span&gt;  &lt;span class="gs"&gt;**Spec Compliance**&lt;/span&gt;: YAML front matter MUST strictly follow the Agent Skills
    Reference Specification (https://agentskills.io/specification). Use &lt;span class="sb"&gt;`&amp;gt;-`&lt;/span&gt;
    (folded strip-chomping) format for multi-line descriptions.
&lt;span class="k"&gt;- &lt;/span&gt;  &lt;span class="gs"&gt;**Name Constraints**&lt;/span&gt;: The &lt;span class="sb"&gt;`name`&lt;/span&gt; field must be &lt;span class="gs"&gt;**64 characters or less**&lt;/span&gt;,
    correspond to the product name, use kebab-case (&lt;span class="sb"&gt;`[a-z0-9-]`&lt;/span&gt;), and avoid
    vague names (&lt;span class="sb"&gt;`helper`&lt;/span&gt;, &lt;span class="sb"&gt;`utils`&lt;/span&gt;, &lt;span class="sb"&gt;`tools`&lt;/span&gt;, &lt;span class="sb"&gt;`data`&lt;/span&gt;). The &lt;span class="sb"&gt;`name`&lt;/span&gt; field must
    match the directory name where it's located (i.e. &lt;span class="sb"&gt;`skills/cloud/gcloud`&lt;/span&gt;
    directory should contain a front matter with &lt;span class="sb"&gt;`name: gcloud`&lt;/span&gt;).
&lt;span class="k"&gt;- &lt;/span&gt;  &lt;span class="gs"&gt;**Description Quality**&lt;/span&gt;: The &lt;span class="sb"&gt;`description`&lt;/span&gt; field must follow the
    [Description Guide](references/description_guide.md).

&lt;span class="gu"&gt;### Content Structure &amp;amp; Authoring Quality
&lt;/span&gt;
&lt;span class="k"&gt;- &lt;/span&gt;  &lt;span class="gs"&gt;**L1/L2/L3 Architecture**&lt;/span&gt;: Enforce modular structure. The main &lt;span class="sb"&gt;`SKILL.md`&lt;/span&gt;
    body must stay under 500 lines. Move deep domain reference material to
    &lt;span class="sb"&gt;`references/`&lt;/span&gt; (see [Skill Structure](references/skill_structure.md)).
&lt;span class="k"&gt;- &lt;/span&gt;  &lt;span class="gs"&gt;**Flat References Directory**&lt;/span&gt;: &lt;span class="sb"&gt;`references/`&lt;/span&gt; must be a flat directory (one
    level deep, no nested subdirectories). References &amp;gt; 100 lines must include a
    Table of Contents with line hints (see
    [Skill Structure](references/skill_structure.md)).
&lt;span class="k"&gt;- &lt;/span&gt;  &lt;span class="gs"&gt;**Avoid Deeply-Nested References**&lt;/span&gt;: Avoid deeply-nested references (e.g.,
    &lt;span class="sb"&gt;`SKILL.md`&lt;/span&gt; -&amp;gt; &lt;span class="sb"&gt;`references/guides.md`&lt;/span&gt; -&amp;gt; &lt;span class="sb"&gt;`assets/output.tmpl`&lt;/span&gt;). Keep
    reference structures shallow (one level of indirection from &lt;span class="sb"&gt;`SKILL.md`&lt;/span&gt;)
    because agents might not load such link targets fully.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h3&gt;
  
  
  Human approval
&lt;/h3&gt;

&lt;p&gt;After passing all automated checks, every pull request must receive approval from a human reviewer. The reviewer is typically the skill's subject matter expert and, for new skills, a member of the Central Skills team.&lt;/p&gt;

&lt;h2&gt;
  
  
  Lessons learned from repository history
&lt;/h2&gt;

&lt;p&gt;Six months of commit history and pull request discussions reveal several practical takeaways.&lt;/p&gt;

&lt;h3&gt;
  
  
  1. Scope CI checks carefully
&lt;/h3&gt;

&lt;p&gt;Early in the project, we configured automated pull request checks with coarse directory globs.&lt;/p&gt;

&lt;p&gt;One check required an approved bug tracking ticket on every change. Because the glob matched too broadly, engineers making a one-line typo fix were blocked for missing a tracking ticket. Meanwhile, newly added skills in deeper subdirectories went uninspected.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Takeaway:&lt;/strong&gt; Match automated check rules to specific file operations, such as added versus modified files, and verify exact path depths. Treat minor edits to existing skills differently from new skills.&lt;/p&gt;

&lt;h3&gt;
  
  
  2. Atomic expectations
&lt;/h3&gt;

&lt;p&gt;When we started writing evaluation suites, we saw authors write compound expectations, such as:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="c1"&gt;# Bad: Compound expectation
&lt;/span&gt;&lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s2"&gt;"The agent must create a Cloud Storage bucket in us-central1, enable
&lt;/span&gt;  &lt;span class="s"&gt;uniform bucket-level access, and apply lifecycle rules."&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;If the agent configured the region and lifecycle rules but missed the uniform access flag, the LLM-as-a-judge scorer returned inconsistent ratings.&lt;/p&gt;

&lt;p&gt;Migrating to atomic expectations resolved this issue:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="c1"&gt;# Good: Atomic expectations
&lt;/span&gt;&lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s2"&gt;"The agent specifies us-central1 for the bucket location."&lt;/span&gt;
&lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s2"&gt;"The agent enables uniform bucket-level access on the created bucket."&lt;/span&gt;
&lt;span class="p"&gt;-&lt;/span&gt; &lt;span class="s2"&gt;"The agent defines a lifecycle configuration rule deleting objects
&lt;/span&gt;  &lt;span class="s"&gt;older than 30 days."&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Takeaway:&lt;/strong&gt; Check exactly one criterion per expectation. Atomic expectations make evaluation results clear, reliable, and debuggable.&lt;/p&gt;

&lt;h3&gt;
  
  
  3. Documentation drift happens fast
&lt;/h3&gt;

&lt;p&gt;In a multi-contributor repository, documentation tables drift within days if maintained manually.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Takeaway:&lt;/strong&gt; If you publish an index or catalog, never rely on contributors to update it manually. Instead, write a generator script and enforce it with a CI unit test. That's the origin of the &lt;code&gt;README.md&lt;/code&gt; and &lt;code&gt;index.json&lt;/code&gt; check in our linters. Our &lt;code&gt;index.json&lt;/code&gt; even opens with a warning: "This file is generated. Do not edit it by hand."&lt;/p&gt;

&lt;h3&gt;
  
  
  4. Gate expensive LLM checks behind fast deterministic ones
&lt;/h3&gt;

&lt;p&gt;Running full evaluation suites and an AI review agent on every change can get expensive fast, both in token usage and CI runtime — especially when authors push frequent small commits during review.&lt;/p&gt;

&lt;p&gt;In our pipeline, fast deterministic checks run first. Structural conformance, skill linters, and semantic versioning act as blocking gates: if any of them fail, the pipeline stops immediately and won't trigger the AI reviewer or evaluation checks until those issues are fixed.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Takeaway:&lt;/strong&gt; Stage your pipeline so cheap, deterministic checks block broken changes before LLM-powered gates run. When building a similar system, consider adding further cost guardrails, such as manual triggers for heavy checks (for example, a &lt;code&gt;/run-evals&lt;/code&gt; pull request comment) or only triggering automatic re-runs when the diff exceeds a specific threshold.&lt;/p&gt;

&lt;h2&gt;
  
  
  Conclusion
&lt;/h2&gt;

&lt;p&gt;Building a scalable Agent Skills repository requires more than good prompt engineering. It requires solid developer infrastructure:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Ship skills like products: version, validate, and evaluate every change.&lt;/li&gt;
&lt;li&gt;Enforce semantic versioning and atomic expectations with automated CI gates.&lt;/li&gt;
&lt;li&gt;Use an AI reviewer to catch design anti-patterns, such as the deterministic trap.&lt;/li&gt;
&lt;li&gt;Check links before merge and on a weekly schedule.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Links and further reading
&lt;/h2&gt;

&lt;p&gt;To get started with Google Agent Skills, check out:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Google Agent Skills repo:&lt;/strong&gt; &lt;a href="https://g.dev/ai/skills" rel="noopener noreferrer"&gt;github.com/google/skills&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Previous post:&lt;/strong&gt; &lt;a href="https://dev.to/googleai/behind-the-scenes-how-we-build-test-and-scale-google-agent-skills-1am5"&gt;Behind the scenes: How we build, test, and scale Google Agent Skills&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Launch announcement:&lt;/strong&gt; &lt;a href="https://cloud.google.com/blog/topics/developers-practitioners/level-up-your-agents-announcing-googles-official-skills-repository" rel="noopener noreferrer"&gt;Level Up Your Agents: Announcing Google's Official Skills Repository&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Skills tutorial:&lt;/strong&gt; &lt;a href="https://medium.com/google-cloud/google-cloud-skills-tutorial-the-complete-guide-to-ai-powered-cloud-operations-7838fcc9541a" rel="noopener noreferrer"&gt;Introduction: What Are Google Cloud Agent Skills?&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What's next?
&lt;/h2&gt;

&lt;p&gt;If you found this post helpful:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Share this post with your friends on social media.&lt;/li&gt;
&lt;li&gt;Connect with me via &lt;a href="https://www.linkedin.com/in/remigiusz-samborski/" rel="noopener noreferrer"&gt;LinkedIn&lt;/a&gt;, &lt;a href="https://x.com/RemikSamborski" rel="noopener noreferrer"&gt;X&lt;/a&gt;, or &lt;a href="https://bsky.app/profile/rsamborski.bsky.social" rel="noopener noreferrer"&gt;Bluesky&lt;/a&gt;.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Thanks for reading!&lt;/p&gt;

</description>
      <category>ai</category>
      <category>agentskills</category>
      <category>programming</category>
      <category>cicd</category>
    </item>
  </channel>
</rss>
