Google เปิดตัว Antigravity 2.0 ในงาน I/O 2026 และยกระดับจาก Editor เดี่ยวเป็นชุดเครื่องมือพัฒนาแบบ Agent-first ครบชุด: Desktop IDE, CLI, SDK, Managed Agents ใน Gemini API และช่องทาง deploy สำหรับองค์กรผ่าน Gemini Enterprise Agent Platform โดย Antigravity เวอร์ชันดั้งเดิม ที่เปิดตัวในเดือนพฤศจิกายน 2025 เป็นเพียง Editor ตัวเดียว แต่ 2.0 เปลี่ยนให้เป็นแพลตฟอร์มสำหรับสร้าง รัน และจัดการ Agent ตลอด workflow การพัฒนา
หากคุณสร้าง API หรือดูแล delivery pipeline สิ่งที่ควรสนใจคือ Antigravity 2.0 ทำให้ Agent เข้าไปอยู่ได้หลายจุดในระบบพัฒนา: แอปเดสก์ท็อปรัน subagent หลายตัวพร้อมกันได้, CLI ทำงานในเทอร์มินัลและ CI ได้, SDK ให้คุณโฮสต์ Agent เอง, ส่วน Managed Agents ใน Gemini API ช่วยให้เรียก workflow แบบ agentic ได้ผ่าน API คล้ายกับการเรียก model completion ในปัจจุบัน
TL;DR
Google Antigravity 2.0 ซึ่งประกาศในงาน I/O 2026 เมื่อวันที่ 19 พฤษภาคม ขยาย IDE ดั้งเดิมเป็นแพลตฟอร์ม 5 ส่วน:
| ส่วน | ใช้ทำอะไร | เหมาะกับใคร |
|---|---|---|
| Desktop App 2.0 | IDE พร้อม subagent, scheduled jobs, voice command | นักพัฒนาเดี่ยว |
| Antigravity CLI | รัน Agent จากเทอร์มินัล | automation, CI, power user |
| Antigravity SDK | สร้างและโฮสต์ Agent เอง | ทีม platform/backend |
| Managed Agents ใน Gemini API | เรียก agentic workflow ผ่าน API | ทีมที่ใช้ Gemini API |
| Gemini Enterprise Agent Platform | deploy และควบคุม Agent ระดับองค์กร | ลูกค้า Google Cloud |
ฟีเจอร์สำคัญคือ dynamic subagent, งานเบื้องหลังที่ตั้งเวลาได้, คำสั่งเสียง, integration กับ Google AI Studio, Android และ Firebase รวมถึง pricing tier ใหม่ AI Ultra ราคา $100 พร้อมขีดจำกัด 5 เท่าของ Pro
มีอะไรใหม่ใน Antigravity 2.0
Antigravity ดั้งเดิมเปิดตัวในเดือนพฤศจิกายน 2025 เป็น public preview ฟรีบน macOS, Windows และ Linux โดยมี:
- Editor View
- Manager Surface สำหรับจัดการ Agent แบบ async
- Artifacts สำหรับตรวจผลลัพธ์
- Knowledge Base สำหรับ context
- รองรับ Gemini 3 Pro, Claude Sonnet 4.5 และ GPT-OSS
Antigravity 2.0 เก็บฟีเจอร์เหล่านั้นไว้ และเพิ่มส่วนประกอบสำหรับใช้งานจริงใน workflow การพัฒนา
| ส่วน | คืออะไร | เหมาะสำหรับใคร |
|---|---|---|
| Desktop App 2.0 | IDE ที่อัปเดตพร้อม subagent แบบไดนามิก, งานที่กำหนดเวลาได้, คำสั่งเสียง | นักพัฒนาแต่ละคน |
| Antigravity CLI | การสร้าง Agent ผ่านเทอร์มินัล, ไม่มี GUI | ผู้ใช้งานขั้นสูง, ระบบอัตโนมัติ |
| Antigravity SDK | การเข้าถึง agent harness ของ Google แบบโปรแกรม | ทีมที่โฮสต์ Agent แบบกำหนดเอง |
| Managed Agents ใน Gemini API | API endpoint สำหรับ workflow แบบ agentic ที่โฮสต์ไว้ | ทีมที่ใช้ Gemini API |
| Gemini Enterprise Agent Platform | ช่องทาง deploy สำหรับองค์กร | ลูกค้า Google Cloud |
Desktop App: ใช้ subagent, schedule และ voice command
แอปเดสก์ท็อปยังเป็นจุดเริ่มต้นหลักของ Antigravity 2.0 แต่ workflow เปลี่ยนจาก “ให้ Agent ตัวเดียวช่วยเขียนโค้ด” เป็น “ให้ Agent หลักแตกงานและควบคุม subagent หลายตัว”
1. ใช้ dynamic subagent สำหรับงานขนาน
ใน 1.0 คุณจัดการ Agent ผ่าน Manager Surface ได้แบบ async แต่ยังคิดเป็น Agent แยกกัน ใน 2.0 Agent หลักสามารถสร้าง subagent เพื่อแบ่งงานได้
ตัวอย่าง prompt:
ตรวจสอบ auth flow ในทุก microservice
แบ่งงานตาม service
สรุป endpoint ที่เสี่ยงและเสนอ patch
workflow ที่ได้:
- Agent หลักอ่าน repo structure
- สร้าง subagent ตาม service
- subagent แต่ละตัวตรวจ auth flow ของตัวเอง
- ส่ง artifacts กลับเข้า Manager Surface
- Agent หลักสรุป diff และ recommendation
เหมาะกับงานเช่น:
- audit middleware หลาย service
- refactor dependency หลาย package
- ตรวจ OpenAPI contract เทียบ implementation
- สรุป test coverage ของหลาย module
2. ตั้ง scheduled jobs สำหรับงานเบื้องหลัง
Antigravity 2.0 เพิ่มงานแบบ cron-like ใน Editor ทำให้ Agent รันงานเบื้องหลังได้โดยไม่ต้องเปิดแอปตลอดเวลา
ตัวอย่างงานที่เหมาะกับ schedule:
- อัปเกรด dependency ทุกคืน
- สแกน security issue รายสัปดาห์
- สร้าง changelog หลัง push release tag
- ตรวจ API contract หลัง merge เข้า main
แนวทางใช้งาน:
ทุกวันเวลา 02:00
ตรวจ dependency ที่ล้าสมัยใน repo นี้
สร้าง branch ใหม่
รัน test
เปิด PR เฉพาะเมื่อ test ผ่าน
ข้อควรระวัง: ใช้ scheduled jobs กับงานที่ idempotent เท่านั้น เพราะงานแบบ cron-like อาจถูกรันซ้ำได้ ควรออกแบบให้รองรับ retry และ locking
3. ใช้ voice command สำหรับ prompt สั้น
Antigravity 2.0 รองรับคำสั่งเสียงในตัว เช่น:
Run tests for the billing module.
Show me the diff for the last agent run.
Refactor this handler to use the shared validator.
เหมาะกับคำสั่งสั้น ๆ ระหว่าง coding แต่สำหรับ spec ยาวหลายบรรทัด การพิมพ์ยังแม่นยำกว่า
4. ใช้ integration กับ Google toolchain
Antigravity 2.0 เพิ่ม integration กับ:
- Google AI Studio: ส่งออก/นำเข้าโปรเจกต์
- Android: สร้าง mobile app ด้วย agent loop
- Firebase: deploy โดยไม่ต้องเปลี่ยน context
หากทีมคุณใช้ Google stack อยู่แล้ว ส่วนนี้ช่วยลดการสลับ tool ระหว่าง coding, testing และ deploy
Antigravity CLI
Antigravity CLI คือ binary สำหรับรัน agent harness จากเทอร์มินัลโดยไม่ต้องเปิด GUI เหมาะกับ developer ที่ทำงานผ่าน tmux, shell script หรือ CI pipeline
ตัวอย่างการรัน Agent:
antigravity agent run "refactor the rate-limit middleware" \
--repo ./services/api \
--model gemini-3.5-flash
CLI นี้ต่างจาก Claude Code และ OpenAI Codex ตรงที่ Antigravity CLI รองรับการจัดการ Agent หลายตัวและ subagent จากเทอร์มินัล รวมถึง primitive สำหรับ scheduling เช่นเดียวกับ desktop app
ตัวอย่าง workflow ใน CI
คุณสามารถใช้ Antigravity CLI เป็น pre-deploy gate ได้:
antigravity agent run "review this PR for breaking API contract changes" \
--repo . \
--model gemini-3.5-flash
จากนั้นให้ pipeline รัน test ต่อ:
npm test
npm run openapi:diff
หากใช้คู่กับ Apidog แบบ headless คุณสามารถสร้าง pipeline ที่:
- ให้ Agent แก้หรือสร้าง endpoint
- รัน contract tests กับ OpenAPI spec
- ทดสอบกับ mock server
- merge เฉพาะเมื่อ contract ยังถูกต้อง
Antigravity SDK
Antigravity SDK เปิด agent harness ให้เรียกใช้งานผ่านโค้ด คุณสามารถกำหนด system prompt, tool catalog และ action ที่ Agent ทำได้ แล้วโฮสต์บน infrastructure ของคุณเอง เช่น EC2, Vertex AI หรือ on-prem
ตัวอย่าง Agent definition:
from antigravity import Agent, Tool
agent = Agent(
model="gemini-3.5-flash",
tools=[Tool.shell, Tool.code_edit, Tool.web_search],
system="You are a backend code reviewer. Block any PR that ships SQL without an index.",
)
result = agent.run("review PR #421")
print(result.artifacts)
แนวทางใช้งาน SDK:
- สร้าง internal code reviewer
- ทำ security review อัตโนมัติ
- สร้าง migration assistant
- ตรวจ schema/API contract ก่อน merge
- รัน Agent ใน VPC สำหรับ workload ที่ sensitive
SDK ถูกปรับให้เหมาะกับ Gemini เป็นหลัก จึงได้ประโยชน์ด้าน latency, cost และ tool-call behavior ภายในตระกูล Google ส่วน provider อื่นยังใช้งานได้ตามที่รองรับ แนวคิดนี้คล้ายกับ pattern ใน คู่มือเวิร์กโฟลว์ agentic
Managed Agents ใน Gemini API
Managed Agents คือส่วนที่สำคัญที่สุดสำหรับทีม API เพราะเพิ่ม endpoint กลุ่มใหม่ใน Gemini API สำหรับรัน workflow แบบ agentic โดย Google เป็นผู้จัดการ loop ให้
คุณส่ง:
- goal
- tool ที่อนุญาต
- context
- policy หรือ constraint
จากนั้น Google จัดการ:
- agent loop
- retry
- tool execution
- scaling
- runtime
ให้คิดเหมือน serverless agents: คุณจ่ายต่อการรัน และไม่ต้องเขียน orchestration loop เอง
เลือกใช้รูปแบบไหนดี
| รูปแบบ | คุณจัดการเอง | เหมาะกับ |
|---|---|---|
| Direct model call | loop, tools, state | งาน inference ขั้นเดียว ปริมาณสูง |
| Managed Agents | goal และ allowed tools | งานยาวที่ต้องการ reliability |
| Desktop / CLI / SDK | runtime และ execution | local automation หรือ workload ที่ต้องควบคุมเต็มที่ |
ทีมส่วนใหญ่จะใช้ผสมกัน:
- ใช้ direct call สำหรับงานสั้น เช่น summarize, classify, generate snippet
- ใช้ Managed Agents สำหรับงานยาว เช่น refactor, audit, migration
- ใช้ SDK สำหรับ workload ที่ต้องอยู่ใน VPC หรือ infra ของทีม
ตั้งค่าใน Apidog
หากคุณเรียก Gemini API ผ่าน Apidog อยู่แล้ว ให้เพิ่ม request group สำหรับ Managed Agents ใน collection เดิม
ตัวอย่าง endpoint ที่คาดการณ์ไว้จากบทความเดิม:
POST https://generativelanguage.googleapis.com/v1beta/agents:run
Header:
x-goog-api-key: {{GEMINI_API_KEY}}
Content-Type: application/json
ตัวอย่าง body concept:
{
"goal": "Review this OpenAPI spec and find breaking changes",
"tools": [
{
"type": "http",
"name": "fetch_openapi_spec"
}
],
"context": {
"repo": "services/api",
"branch": "feature/billing-v2"
}
}
ใน Apidog คุณสามารถ:
- สร้าง request สำหรับ Managed Agent
- mock response ระหว่าง frontend ยังพัฒนาอยู่
- สร้าง schema validation สำหรับผลลัพธ์
- ใช้ environment แยก dev/staging/prod
- เก็บตัวอย่าง response สำหรับ regression test
ระดับองค์กร: Antigravity ใน Gemini Enterprise Agent Platform
สำหรับองค์กรที่ใช้ Google Cloud, Antigravity 2.0 เชื่อมกับ Gemini Enterprise Agent Platform ได้โดยตรง ซึ่งช่วยให้ทีม platform/security ควบคุม Agent ได้มากขึ้น
สิ่งที่เพิ่มเข้ามา:
- Single sign-on ผ่าน Google Workspace
- Audit log สำหรับทุก action ของ Agent
- ขอบเขต VPC Service Controls
- BigQuery สำหรับวิเคราะห์การรัน
- Cloud KMS สำหรับเก็บ credential ของ tool
จุดที่น่าสนใจคือ Agent definition เดียวกันสามารถย้ายระหว่าง SDK และ Enterprise Platform ได้:
- พัฒนา Agent local ด้วย SDK
- ทดสอบกับ repo จริง
- ส่ง definition ไปยัง Enterprise Platform
- ให้ security team คุม policy, audit และ credential
- deploy โดยไม่ต้องเขียน Agent ใหม่
นี่คือจุดต่างสำคัญจากการเปรียบเทียบ Antigravity vs Cursor เดิม เพราะ Cursor ไม่มีแพลตฟอร์มองค์กรที่เชื่อมกับ Google Cloud ลึกระดับนี้ ส่วน Windsurf ใกล้เคียงกว่าแต่ไม่ได้ผูกกับ Google Cloud stack แบบเดียวกัน
Pricing: เลือกแผนอย่างไร
Antigravity 2.0 มี 3 ระดับหลัก โดยสองระดับได้รับการอัปเดตในงาน I/O 2026
| แผน | รายเดือน | ขีดจำกัด |
|---|---|---|
| Pro | รวมอยู่ใน AI Pro | ค่าเริ่มต้น |
| AI Ultra | $100 | 5 เท่าของ Pro |
| AI Ultra Premium | $200 ลดจาก $250 | 20 เท่าของ Pro |
สำหรับนักพัฒนาเดี่ยวส่วนใหญ่ แผน Pro เพียงพอสำหรับทดลองใช้รายสัปดาห์
ควรพิจารณา AI Ultra หากคุณ:
- รัน refactor หลาย repo
- ใช้ scheduled background scans
- ใช้งาน voice-driven sessions ต่อเนื่อง
- ให้ Agent ทำงานยาวบ่อยครั้ง
ยังมีแผนฟรีสำหรับฟีเจอร์ public preview ดั้งเดิม ดูรายละเอียดในบทความ Antigravity 1.0
Antigravity เทียบกับ Cursor, Windsurf และ Claude Code
| คุณสมบัติ | Antigravity 2.0 | Cursor | Windsurf | Claude Code |
|---|---|---|---|---|
| Desktop IDE | ใช่ แบบ standalone | ใช่ VS Code fork | ใช่ VS Code fork | ไม่ |
| CLI | ใช่ | ไม่ | ไม่ | ใช่ |
| SDK / programmatic API | ใช่ | ไม่ | จำกัด | ใช่ Agent SDK |
| Multi-agent management | Manager + dynamic subagent | Composer agent เดียว | Cascade agent เดียว | Subagents |
| Scheduled background jobs | ใช่ | ไม่ | ไม่ | โหมดทำงานต่อเนื่อง |
| Voice command | ใช่ | ไม่ | ไม่ | ไม่ |
| Managed-agents API | ใช่ Gemini API | ไม่ | ไม่ | Claude Managed Agents |
| Enterprise platform | Gemini Enterprise | Cursor for Business | Windsurf Enterprise | Anthropic Enterprise |
| Default model | Gemini 3.5 Flash | Claude Sonnet 4.5 | หลายโมเดล | Claude Sonnet 4.5 |
| โมเดลอื่นที่รองรับ | Claude, GPT-OSS | Claude, GPT, Gemini | Claude, GPT | ส่วนใหญ่เป็น Claude |
สรุปแบบใช้งานจริง:
- ต้องการ multi-agent orchestration: Antigravity 2.0 เด่นสุด
- ต้องการ autocomplete และ inline coding ที่ mature: Cursor Composer 2.5 ยังได้เปรียบ
- ต้องการ headless CLI ที่เสถียร: Claude Code ยังแข็งแรง
- ใช้ Google Cloud และ Gemini อยู่แล้ว: Antigravity 2.0 มี integration ตรงกว่า
เชื่อม Antigravity 2.0 กับ Apidog
Antigravity 2.0 จะมีประโยชน์มากขึ้นเมื่อจับคู่กับ API workflow ที่ตรวจสอบได้ โดยเฉพาะเมื่อ Agent เป็นคนสร้างหรือแก้ endpoint
ใช้ Apidog ใน 3 จุดหลักนี้
1. เรียก Managed Agents จาก API collection
เพิ่ม Managed Agents เข้าไปใน Gemini API collection ของคุณ
POST https://generativelanguage.googleapis.com/v1beta/agents:run
ตั้ง authentication:
x-goog-api-key: {{GEMINI_API_KEY}}
จัด request body เป็น schema ที่มี field เช่น:
{
"goal": "Generate contract tests for the billing API",
"tools": [],
"context": {
"openapi": "{{OPENAPI_SPEC_URL}}"
}
}
2. ทดสอบ API ที่ Agent สร้าง
เมื่อ Antigravity Desktop หรือ CLI เขียนโค้ด endpoint ใหม่ อย่า merge ทันที ให้ตรวจด้วย Apidog ก่อน:
- ตรวจ OpenAPI schema
- รัน contract tests
- เทียบ schema diff
- ตรวจ response example
- รัน visual assertions หากมี frontend/API doc ที่เกี่ยวข้อง
ตัวอย่าง pipeline:
antigravity agent run "implement the new billing endpoint from the OpenAPI spec" \
--repo .
npm test
npm run openapi:diff
จากนั้นใช้ Apidog ตรวจว่า implementation ยังตรงกับ contract
3. Mock response สำหรับ Agent ที่รันนาน
Managed Agents อาจใช้เวลาหลายนาที โดยเฉพาะงาน refactor หรือ audit ขนาดใหญ่ ระหว่างพัฒนา frontend หรือ dashboard ให้ใช้ mock response ก่อน
ตัวอย่าง mock payload:
{
"status": "completed",
"run_id": "agent_run_123",
"artifacts": [
{
"type": "summary",
"content": "Found 3 breaking API changes."
}
]
}
เมื่อ UI รองรับ async state แล้วค่อยสลับไป live endpoint
เริ่มต้นได้โดย ดาวน์โหลด Apidog, import Gemini API collection แล้วเพิ่ม Antigravity Managed Agents เป็น request group ใหม่ รูปแบบนี้คล้ายกับการเชื่อม Gemini 3 หรือ Gemini Omni
Best practices และข้อควรระวัง
จำกัดความลึกของ subagent
Dynamic subagent สามารถแตกงานต่อได้ หากไม่จำกัด depth อาจเกิด recursive planning และใช้ quota จำนวนมาก
แนวทาง:
{
"max_subagent_depth": 2,
"max_parallel_agents": 5
}
ใช้ scheduled jobs เฉพาะงานที่ idempotent
งานที่ตั้งเวลาไว้ควรรันซ้ำได้โดยไม่ทำให้ระบบเสีย เช่น:
- scan
- report
- dependency check
- PR generation
งานที่แก้ production state ต้องมี lock, retry policy และ audit log
ใช้ voice command กับ prompt สั้น
เหมาะกับ:
Run tests.
Show diff.
Explain this error.
Create a PR summary.
ไม่เหมาะกับ:
- OpenAPI spec ยาว
- migration plan หลายขั้น
- security policy ที่ต้องแม่นยำ
อย่าย้ายจาก Cursor ทันที
Editor View ของ Antigravity ดีแต่ workflow ต่างจาก Cursor ให้ทีมทดลองใช้อย่างน้อยหนึ่งสัปดาห์แบบ parallel ก่อนเปลี่ยนเต็มระบบ
Mock งาน Managed Agents ที่มีค่าใช้จ่ายสูง
Managed Agents คิดค่าบริการต่อการรัน ไม่ใช่ต่อ token งานยาวมีต้นทุนสูง ระหว่างพัฒนาให้ mock response ผ่าน Apidog เพื่อลดค่าใช้จ่าย
ตรวจ release notes ของ CLI บน Linux
CLI บน Linux ยังมีลักษณะ preview มากกว่า macOS และ Windows ควรทดสอบใน CI environment จริงก่อนใช้เป็น gate หลัก
FAQ
Google Antigravity 2.0 คืออะไร?
Antigravity 2.0 คือแพลตฟอร์มการพัฒนาแบบ Agent-first ของ Google ที่เปิดตัวในเดือนพฤษภาคม 2026 โดยขยายจาก IDE เดี่ยวเป็นชุดเครื่องมือ: Desktop App, CLI, SDK, Managed Agents ใน Gemini API และ Enterprise Agent Platform
Antigravity 2.0 ฟรีหรือไม่?
ระดับ Pro รวมอยู่ใน Google AI Pro subscription ที่มีอยู่แล้ว ส่วน AI Ultra ราคา $100 ต่อเดือน ให้ขีดจำกัด 5 เท่าของ Pro และ AI Ultra Premium ราคา $200 ต่อเดือน ลดจาก $250 พร้อมขีดจำกัด 20 เท่า
Antigravity 2.0 รองรับโมเดลใด?
รองรับ Gemini 3 Pro, Gemini 3.5 Flash เป็นค่าเริ่มต้น รวมถึง Claude Sonnet 4.5 และ GPT-OSS โดยแพลตฟอร์มปรับให้เหมาะกับ Gemini เป็นหลัก
Antigravity 2.0 ต่างจาก Cursor อย่างไร?
Antigravity เป็น IDE standalone ที่ออกแบบมาสำหรับ multi-agent management มี dynamic subagent, scheduled jobs และ Manager Surface ส่วน Cursor เป็น VS Code fork ที่เด่นด้าน inline AI coding และ Composer agent เดียว ดูรายละเอียดใน Antigravity vs Cursor
Antigravity CLI คืออะไร?
Antigravity CLI คือ binary สำหรับรัน agent harness จากเทอร์มินัลโดยไม่ต้องใช้ GUI เหมาะกับ automation, CI pipeline และ power user ต่างจาก Claude Code ตรงที่รองรับ dynamic subagent โดยกำเนิด
Managed Agents ใน Gemini API คืออะไร?
Managed Agents คือ API layer ที่ Google โฮสต์ agent loop ให้ คุณประกาศ goal และ tools ที่อนุญาต จากนั้น Google จัดการ iteration, retry และ tool execution โดยคิดค่าบริการต่อการรัน
ใช้ Antigravity 2.0 กับ Apidog ได้ไหม?
ได้ Apidog ใช้จัดการ request สำหรับ Managed Agents, mock response ของ Agent ที่รันนาน และตรวจ OpenAPI contract ของ API ที่ Agent สร้างหรือแก้ไข การตั้งค่า Apidog คล้ายกับการเชื่อม Gemini API เดิม
Antigravity 2.0 เปิดตัวเมื่อไหร่?
19 พฤษภาคม 2026 ในงาน Google I/O 2026
สรุป
Antigravity 2.0 คือการขยายจาก AI editor ไปสู่แพลตฟอร์มจัดการ Agent สำหรับนักพัฒนา: Desktop สำหรับ coding, CLI สำหรับ automation, SDK สำหรับ custom agents, Managed API สำหรับ production workflow และ Enterprise Platform สำหรับ governance
หากคุณสร้าง API จุดที่ควรเริ่มคือ Managed Agents ใน Gemini API แล้วใช้ Apidog เพื่อ mock, validate และทดสอบ contract ก่อนปล่อยโค้ดที่ Agent สร้างเข้าสู่ production




Top comments (0)