惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

N
News and Events Feed by Topic
Malwarebytes
Malwarebytes
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
C
Cybersecurity and Infrastructure Security Agency CISA
F
Future of Privacy Forum
C
Cisco Blogs
T
The Exploit Database - CXSecurity.com
A
Arctic Wolf
S
Securelist
K
Kaspersky official blog
S
Schneier on Security
T
ThreatConnect
T
Tenable Blog
Spread Privacy
Spread Privacy
T
True Tiger Recordings
AWS News Blog
AWS News Blog
F
Fox-IT International blog
量子位
T
Threatpost
V
Vulnerabilities – Threatpost
C
CERT Recently Published Vulnerability Notes
Cisco Talos Blog
Cisco Talos Blog
GbyAI
GbyAI
宝玉的分享
宝玉的分享
腾讯CDC
G
Google Developers Blog
aimingoo的专栏
aimingoo的专栏
Cyberwarzone
Cyberwarzone
有赞技术团队
有赞技术团队
S
SegmentFault 最新的问题
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
V
Visual Studio Blog
U
Unit 42
雷峰网
雷峰网
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
Simon Willison's Weblog
Simon Willison's Weblog
O
OpenAI News
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
The GitHub Blog
The GitHub Blog
The Register - Security
The Register - Security
MyScale Blog
MyScale Blog
小众软件
小众软件
A
About on SuperTechFans
Last Week in AI
Last Week in AI
Y
Y Combinator Blog
博客园 - 三生石上(FineUI控件)
美团技术团队
Google Online Security Blog
Google Online Security Blog
P
Proofpoint News Feed
MongoDB | Blog
MongoDB | Blog

DEV Community

I built an AI PR-triage agent in 30 lines of Markdown Core Web Vitals from 74 to 91: A Real Tax Practitioner Site Rebuild I Gave Gemma 4 150 Tools on Windows. Here's What Actually Happened. Beyond the Loop: Why Monolithic AI Agents Fail and How to Build a Microkernel Architecture The Hidden Tax of AI-Assisted Development (And How I Fixed It) I Ditched Cloud LLMs for Gemma 4 4B: A DevOps Engineer's 48-Hour Reality Check Building a Schema.org @graph That Validates on the First Try The "Lift and Shift" Trap: Why Your Integration Layer Needs More Than Just a Cloud Address All 7 OSI Layers Explained with Real-World Analogies Self-Hosting Google Fonts with size-adjust: Zero CLS Web Font Swap The Multi-Provider LLM Problem: Why “One API” Is Not Enough How I indexed 69,000 Claude Code skills (and what I learned doing it) RememberMe CareGrid: Local Gemma 4 for dementia memory and safety Google Is Killing Gemini CLI on June 18. Here Is What to Do Before Then Do Domínio ao Deploy: Hospedando Arquivos de Deep Links no Cloudflare Pages (Parte 7.1) Running Gemma 4 26B on an Old GTX 1080 with llama.cpp Devlog 1: I tried building an SNES game with the super FX chip Why Gemma 4 Feels Like an Important Moment for AI Developers✨ From Zero and Confused, This Is How I Started Learning to Code I Built a Local AI Gateway That Talks to Claude, ChatGPT, DeepSeek and Gemini — Without a Single API Key Bootstrapping with AI: Why Gemma 4 is the Micro-SaaS Founder’s Best Friend MyErp Architecture Series - #02 Cellular Architecture: Mapping Biology to Software Systems NodeJS vs Bun vs Go 🌍 RTL Arabic Style UI How Does an AI Agent Actually Buy Something? Google Just Published the Spec. Google I/O 2026 Is One Uncanny F.R.I.E.N.D.S Group Upgrade I Replaced 70MB Node.js Log Viewer with a 172KB Zig Binary The "MTTR Is All You Need" Trap The Quiet Revolution: How Firebase Became the First Agent-Native Backend at Google I/O 2026 I Built ResuMate! A 100% Private, Local AI Resume Optimizer with Google Gemma 4 Learning DirectX 12 - Part 2 Initialization Theory NeuralHats: I Put Edward de Bono’s Six Thinking Hats on Local LLMs Using Gemma 4 📝 Instant Auto Save Notes Engineering the "App-Like" Experience: A Deep Dive into PWA Architecture I built a local first AI CCTV assistant using Gemma 4 + Frigate CrowdShield AI — Smart Stadium Operating System & Crowd Intelligence Platform I built a free AI observability tool, prove your AI is useful, not just running Beyond Autocomplete: Why Google Antigravity 2.0 Changes the Rules for Indie Builders 터미널 AI 에이전트 구축 (v12) Building Instagram-Powered Apps with HikerAPI (Without Fighting Scrapers) Checkpoints, Not Transcripts: Rethinking AI Coding Agent Memory From Side Project to Student Savior: My AI PPT & Resume Tool Crossed 1.5K+ Users Why Story Points Don’t Work in the AI Era, And What Should Take Their Place Instead. Self-Hosted Document AI: How to Run Document Intelligence On Your Own Infrastructure (2026) How to Extract Tables from PDFs with AI: 4 Methods That Actually Work (2026) IDP vs OCR: What's the Difference — and Which Does Your Business Actually Need? Automated PII Detection and Redaction in Business Documents: A Practical Guide Human-in-the-Loop Document Review: When to Use It and How to Set It Up (2026) Document Processing Without RPA: A Modern Approach for Small Teams Reducto Alternative: When You Need More Than a Document Parser (2026) Hermes Agent vs LangChain vs CrewAI: When to Reach for Each SparshAI: I Built an Offline AI Tutor for Students Using Gemma 4 — Here's What Happened Building NeuroSense AI: A Human-Centered Stress Insight Assistant Powered by Gemma Why I Built a Privacy-First Dev Toolkit GAS Input Tags: Ability Activation Without Hardcoded Bindings AI Legal Document Advisor Supported By Gemm 4 Model Building Convertify in Public Week 10: PDF Cluster + Blog Launch CureNet AI: Decentralized Health Intelligence for India, Powered by Gemma 4 and ABHA Standardization When Open-Weights AI Meets a Broken Healthcare System: Deploying Gemma 4 in Rural India V.A.L.I.D. Google I/O 2026: The Year Google Stopped Building AI Assistants and Started Shipping AI Engineers Bondmap: AI-Powered Relationship Network That Maps How You're Connected to Everyone Using Gemma 4 Gemma 4 challenge inspired me to build my first app! 96. LoRA: Fine-Tune a Billion-Parameter Model on a Laptop From a Student Who Used CircuitVerse to a GSoC Contributor — My Community Bonding Story How Bf-Tree Keeps Mini-Pages Small, Hot, and Cheap to Evict I asked Claude to explain the chip war and ended up understanding modern geopolitics differently Stop Manually Checking for Server Updates: Automate With Email Notifications Nostalgia Meets Cybersecurity: Spotting Modern Scams in a Retro OS Simulator - Forward or Fraud CRACKING CODING INTERVIEW From Python to Production Pipeline :A Practical guide to Apache Airflow Antigravity 2.0: Google Just Changed What It Means to Be an Engineer I Built a Free Sticker Maker Because Every Other One Hid the Export How I bypassed Blazor WebAssembly's Virtual DOM using raw WASM pointers Distributed Tracing for LLM Agents: When MCP Makes Tool Calls Observable The Zero-Budget Memory Setup Behind My AI Agent Workflow No database. No framework. Just files, startup order, correction logs, and discipline. I Built an AI Second Brain with Gemma 4 The Most Exciting Google I/O 2026 Announcement for Me: HTML-in-Canvas CrisisLens: Compressing Disaster Scenes into 200-Byte Emergency Payloads with Gemma 4 I'm 15 and I built a todo app with Telegram Stars payments — only legal way for me to monetize before turning 18 Crypto Branding After the Token Launch Building an on-chain alerts bot in Python without any blockchain library FinePrint — An AI Pocket Lawyer That Decodes Predatory Contracts Using Gemma 4 How to Connect OpenAI with Supabase in 10 Minutes for a Lightning-Fast AI MVP One AI Gateway for AWS Bedrock, Google Vertex AI, Gemini, and Anthropic Reading Log #9 — Aoashi The Tacit Dimension Thinking, Fast and Slow Web3 Onboarding Is Not a Wallet Problem. It Is a Trust Problem. FHE Prompt Privacy: The Metadata Leak Your Demo Still Has Software Might Be Becoming Agent-Aware: What if software starts coordinating itself? The Silent Killers of Go Concurrency: Mutexes, Semaphores, and Goroutine Leaks Lynx framework first look Building Aries AI: A Solo-Built AI Abacus Tutor on OpenAI + Supabase + Render + Razorpay I built a paid Telegram bot. Here's what Telegram Stars actually pay. Transfer Fees, Metadata, and Soulbound Tokens: A Tour of Solana Token Extensions Improving AI resume matching with prompt iteration — 7.37 to 8.37/10 7 things you can do with Rogue Studio that no other AI IDE will let you do Why I Think WordPress Still Matters Reading Log #7 — Aoashi Guns, Germs, and Steel Distinction Open Models and the Sub-Saharan Region What 12 Months of AI-Generated Pull Requests Taught My Engineering Team
Antigravity 2.0 in one day: the four shells and what each is good for
Arthur · 2026-05-25 · via DEV Community

This is a submission for the Google I/O Writing Challenge

A field guide to the four ways Antigravity 2.0 lets you drive an AI coding agent, with a 10-minute SDK recipe for writing your first skill.

The architectural news worth keeping

The most useful sentence Google I/O 2026 produced was not on the main stage. It was Kevin Howe, in the Google Cloud Live segment afterward, defining the term that had been circling the keynote all morning. Asked what a harness actually is, Howe gave the answer in two beats. The model first: "LLMs are really just tokens in, tokens out." Then the layer around the model: a harness wraps the tokens-in/tokens-out core and gives the agent senses (codebase state, filesystem, environment signals) and limbs (the tools the agent can call). The set of primitives a complex task decomposes into is essentially what defines a harness.

That single framing reorganizes the entire 2.0 announcement. On the surface, Google shipped a new AI IDE. Underneath, Google did something more interesting: it consolidated one agent execution layer and exposed it through four interchangeable shells. Same harness, same tools, same skill format. Different chrome.

This is a field guide to those four shells, with one shell taken end to end so you can run it tonight.

The four shells, briefly

One harness, four shapes. The choice between them is a workflow question, not a power question.

  • Antigravity editor. The standalone IDE familiar to existing users. Best when you want source code on screen most of the time and traditional file diffs in your review loop.
  • Antigravity 2.0 (the Manager). A new Electron desktop app, built around conversations and agent artifacts. Best when you are juggling three to five agents at once on separate git worktrees and want an agent-inbox view, not a code editor view.
  • Antigravity CLI (agy). Terminal-first, scriptable, lives nicely in SSH sessions to GPU boxes and CI runners. Authenticates via Google Cloud OAuth. The unified successor to Gemini CLI: available to all Gemini CLI users at I/O, with published migration guides.
  • Antigravity SDK (pip install google-antigravity). A Python package that drops the same harness into your own scripts and apps. Takes a plain GEMINI_API_KEY from Google AI Studio. The fastest path to programmatic control of the harness.

A compressed picker:

If your workflow is... Reach for
One agent, one repo, see diffs Editor
Many agents in parallel Manager 2.0
SSH, GPU boxes, dotfiles sacred CLI
Embed agents in your own product SDK

The SDK is the shell I want to walk you through, because it is the one you can install and have producing real output in ten minutes, with no desktop session and no OAuth round-trip.

Why skills are the unlock

The single most important primitive in Antigravity 2.0 is not a tool, a model, or a UI. It is the skill: a Markdown file that tells the agent how to do a category of work. The Antigravity harness reads skills lazily, on demand, so you can stash dozens in a directory and the agent picks the relevant one when it needs it.

Here is the skill I used for the rest of this guide. Thirty lines of Markdown. Save it as AGENTS.md at the root of any small project.

# Directory triage skill

You are a directory-triage assistant. When asked to summarize or improve
a directory, follow this procedure exactly.

## Inputs

- Working directory: assume CWD unless told otherwise.
- Skip: `node_modules/`, `.git/`, `dist/`, `build/`, `.venv/`, anything
  in `.gitignore`.

## Steps

1. List the directory tree to depth 2 with `list_directory`.
2. Read `README.md` if present; otherwise read the first `*.md` you find.
3. Read `package.json` / `pyproject.toml` / `go.mod` if present.
4. Produce a 3-paragraph summary covering, in order: purpose, stack,
   current state.
5. Propose exactly three concrete improvements, each as one sentence
   stating *why* and *which file(s) would change*.

## Constraints

- Do not edit any files in this skill: read-only.
- Do not invoke `run_command` for anything other than `git status` or
  `git log -5`.
- If `AGENTS.md` exists in a subdirectory, prefer its instructions for
  that subtree.
- Cite this skill by name ("directory triage skill") at the top of
  your final summary so a reviewer can confirm you used it.

Enter fullscreen mode Exit fullscreen mode

That is the whole skill. There is no framework. There is no DSL. The "language" is Markdown plus the names of the harness's built-in tools (list_directory, view_file, run_command, and friends), which the agent already knows.

The SDK loads the skill via LocalAgentConfig.skills_paths. The minimum runnable Python is short:

import asyncio
from google import antigravity as ag

async def main():
    cfg = ag.LocalAgentConfig(
        skills_paths=["./skills"],
        workspaces=["./tiny-rss"],
        system_instructions="You are a careful staff engineer.",
    )
    async with ag.Agent(cfg) as agent:
        resp = await agent.chat(
            "Triage the workspace using the directory triage skill."
        )
        print(await resp.text())

asyncio.run(main())

Enter fullscreen mode Exit fullscreen mode

I pointed this at a small Mattermost RSS bridge of mine called tiny-rss (Python 3.10, feedparser plus httpx, an infinite loop with a 10-minute sleep). The agent read the three source files, ran git status, cited the directory triage skill by name at the top of its summary, and returned exactly three improvements with file anchors:

  1. Persistent deduplication. Move the in-memory seen set to SQLite or a JSON file so restarts do not reprocess every feed item. Touches main.py.
  2. Error handling and retries. Wrap the httpx.post calls in try/except with exponential backoff so a flaky Mattermost endpoint does not stall the loop. Touches main.py.
  3. Configuration validation. Parse and validate env vars at startup, fail loudly on missing MATTERMOST_WEBHOOK_URL. Touches main.py and possibly pyproject.toml.

Useful, file-anchored, opinionated. Each improvement was something I would actually merge.

The cost ledger from two runs of the same prompt, against the same skill and target, captures the harness's character:

  • Run 1: 28 tool calls, 230,496 tokens, 119 seconds wall.
  • Run 2: 21 tool calls, 128,281 tokens, 99 seconds wall.

Two runs, same artifact shape, different exploration depth. That is the price of giving the agent latitude to discover the project on its own, and it is a price worth paying once you see what the agent does with what it learns. Think of those tokens as tuition: you are paying the agent to understand your code so its three suggestions are about your main.py, not a generic RSS bridge.

Two tips before you sit down at the keyboard

The CLI and the SDK want different credentials, and that is the one piece of friction worth flagging up front. The CLI authenticates with Google Cloud OAuth (it calls Google's internal code-assist backend, the same one the editor and Manager use), so reach for it when you are already signed into Google Cloud at a workstation. The SDK takes a plain GEMINI_API_KEY from Google AI Studio, so reach for it when you want CI, headless servers, or self-hosted automation. Second tip: skills are discovered at runtime, not preloaded into the system prompt. A single hint in your user prompt ("Use the directory triage skill in AGENTS.md") collapses the exploration overhead and keeps your token spend predictable, the difference between Run 2 and Run 1 above.

Try it tonight, a 10-minute recipe

If you have ten minutes and a small Python project lying around, you can have the harness producing real output before the kettle boils.

  1. Install in a clean venv.
   python3 -m venv .venv
   .venv/bin/pip install google-antigravity

Enter fullscreen mode Exit fullscreen mode

This pulls the SDK, the transitive google-genai client, and the harness binary that does the actual tool execution.

  1. Set your key. Grab a GEMINI_API_KEY from aistudio.google.com, then export GEMINI_API_KEY=... in the same shell.

  2. Save the skill. Drop the 30-line AGENTS.md from the previous section into ./skills/AGENTS.md next to your project directory.

  3. Run the snippet above (asyncio.run(main())), pointing workspaces= at any small project you know well. Watch the agent walk the tree, read the README and pyproject.toml, and produce its three improvements.

  4. Read the trace, then tweak. The SDK streams every tool call as JSON; pipe stdout through tee run.jsonl if you want to keep it. Tighten the skill (add a ## Output format heading, ask for a fourth improvement, forbid the agent from suggesting tests), and run again. The artifact shape should change in exactly the way you asked.

  5. Try Manager 2.0 next if you want the same skill, same artifact, agent-inbox chrome. The same AGENTS.md works there with no changes; the harness underneath is identical.

That is the whole loop. Install, key, skill, script, read, iterate. You are now writing for the harness, which is the interesting layer 2026 produced.

Closing

The shells separate workflow from the harness underneath, and that is the genuinely good news from I/O 2026. You get to pick an interface that matches how you like to work without giving up portability of your skills, your tools, or your muscle memory. The Markdown skill you write tonight in the SDK will run unchanged in Manager 2.0 tomorrow, and on the CLI on a GPU box next week. That is the consolidation, and it is the part of the announcement that compounds.

The harness is the runtime now. Pick a shell, write a skill, and the rest of 2026 gets easier.

Pick your editor by what feels good. Pick your harness like it is a runtime, because it is.

Which shell are you reaching for first? I would like to compare notes on the skills you write.