Bỏ qua để đến nội dung

Browser Management

Antigravity cung cấp các tính năng quản lý browser để Agent có thể tương tác với web một cách an toàn.

Antigravity Chrome Extensionbắt buộc để Agent có thể access browser.

  • Cho phép Agent điều khiển browser
  • Cho phép cancel browser tasks
  • Cho phép chuyển focus về Antigravity

Cách 1: Qua Chrome Web Store

  • Được prompt tự động khi cần
  • Click “Add to Chrome”

Cách 2: Thủ công

  • Click Chrome icon trong Editor hoặc Manager
  • Làm theo hướng dẫn
  1. Mở Chrome Extensions (chrome://extensions)
  2. Tìm “Antigravity”
  3. Ensure extension is enabled

Antigravity sử dụng Chrome profile riêng biệt để:

  • Isolate browsing sessions
  • Không share cookies với profile thường
  • Persist sign-ins trong profile này
Aspect Profile thường Antigravity Profile
Cookies Shared Isolated
Sign-ins Personal Agent-specific
History Mixed Agent sessions only
Extensions Your extensions Antigravity only
  • Hiển thị như dock icon riêng
  • Profile name: “Antigravity”
  • Có thể thấy trong Chrome profile switcher

Có thể thay đổi nơi lưu profile trong Settings:

  • Default: ~/.antigravity/chrome-profile
  • Custom: Set trong Settings > Browser

Hệ thống bảo mật 2 lớp cho browser access.

  • Sử dụng Google’s BadUrlsChecker
  • Enforce server-side - không thể bypass
  • Block:
    • Phishing sites
    • Malware sources
    • Known dangerous URLs

File text local bạn kiểm soát:

~/.antigravity/allowlist.txt
localhost
127.0.0.1
*.myapp.com
staging.example.com

Allowlist ban đầu chỉ có:

localhost

Cách 1: Khi được prompt

Agent wants to access: https://api.example.com
[Allow Once] [Always Allow] [Deny]
  • “Always Allow” → Thêm vào allowlist
  • “Allow Once” → Cho phép lần này
  • “Deny” → Block

Cách 2: Edit trực tiếp

Terminal window
echo "api.example.com" >> ~/.antigravity/allowlist.txt
*.example.com # All subdomains
api.*.example.com # Specific pattern

Denylist luôn được ưu tiên hơn Allowlist

Nếu URL nằm trong cả hai, nó sẽ bị block.

  • Minimal allowlist - Chỉ thêm URLs cần thiết
  • Review định kỳ - Remove URLs không dùng
  • Không trust wildcard rộng - *.* là nguy hiểm
  • Profile riêng giúp clean chrome state
  • Ít extensions → faster browser operations
  • Clear profile periodically để giữ lean

Extension không hoạt động:

  1. Check extension enabled
  2. Reload extension
  3. Restart Chrome
  4. Reinstall extension

Profile issues:

  1. Close all Chrome windows
  2. Delete profile folder
  3. Restart Antigravity (recreates profile)

URL blocked unexpectedly:

  1. Check denylist (server-side)
  2. Contact support nếu false positive
  3. Use alternative URL nếu có
  • Profile riêng = browsing history isolated
  • Sign-ins trong Antigravity profile không ảnh hưởng profile thường
  • Có thể delete profile để clear all data