Appearance
Antigravity (Google)
Antigravity là IDE của Google với agent-first approach.
Setup
bash
one-toolkit init -e antigravity --all --viFiles được tạo
| File | Mô tả |
|---|---|
AGENTS.md | Context rules |
.agent/workflows/*.md | Workflows 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
- Mở Antigravity chat panel
- Gõ
/để xem danh sách workflows - Chọn workflow, ví dụ
/new-requirement
Danh sách Workflows
| Workflow | Mô tả |
|---|---|
/new-requirement | Bắt đầu feature mới |
/execute-plan | Thực thi kế hoạch |
/code-review | Review code |
/writing-test | Viết tests |
/debug | Debug 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.