Skip to content

Antigravity (Google)

Antigravity là IDE của Google với agent-first approach.

Setup

bash
one-toolkit init -e antigravity --all --vi

Files được tạo

FileMô tả
AGENTS.mdContext rules
.agent/workflows/*.mdWorkflows với YAML frontmatter

Cấu trúc Workflow

Workflows trong Antigravity cần có YAML frontmatter:

markdown
---
description: Mô tả ngắn về workflow
---

Nội dung hướng dẫn...

Sử dụng Workflows

  1. Mở Antigravity chat panel
  2. / để xem danh sách workflows
  3. Chọn workflow, ví dụ /new-requirement

Danh sách Workflows

WorkflowMô tả
/new-requirementBắt đầu feature mới
/execute-planThực thi kế hoạch
/code-reviewReview code
/writing-testViết tests
/debugDebug vấn đề

Modes

Antigravity có 2 modes:

Planning Mode

  • Agent tạo plan trước khi code
  • Phù hợp cho tasks phức tạp
  • Cần review và approval

Fast Mode

  • Agent thực thi trực tiếp
  • Phù hợp cho tasks đơn giản
  • Nhanh hơn

Tips

Manager View

Sử dụng Manager View để quản lý nhiều agents làm việc song song trên các workspaces khác nhau.

Artifacts

Antigravity tạo artifacts (task lists, implementation plans, walkthroughs) để bạn review công việc của agent.

Internal Use Only