🤖 Trợ lý AI•Mã nguồn mở•Đang hoạt động

Gemma Gem

Browser AI agent chạy Gemma 4 hoàn toàn on-device qua WebGPU, có thể đọc trang, click, fill form và chạy JavaScript ngay trong trình duyệt.

#gemma-gem
Danh mục
🤖 Trợ lý AI
Giá
Mã nguồn mở
GitHub Stars
⭐ 970
Ngôn ngữ
TypeScript
License
Apache-2.0
Ngày thêm
2026-04-08
Tóm tắt từ README GitHub
Gemma Gem Your personal AI assistant living right inside the browser. Gemma Gem runs Google's Gemma 4 model entirely on-device via WebGPU — no API keys, no cloud, no data leaving your machine. It can read pages, click buttons, fill forms, run JavaScript, and answer questions about any site you visit. Requirements - Chrome with WebGPU support - 500MB disk for E2B model, 1.5GB for E4B (cached after first run) Setup Load the extension in (developer mode) from . Usage 1. Navigate to any page 2. Click the gem icon (bottom-right corner) to open the chat 3. Wait for model to load (progress shown on icon + chat) 4. Ask questions about the page or request actions Architecture - Offscreen document : Hosts the model via + WebGPU. Runs the agent loop. - Service worker : Routes messages between content scripts and offscreen document. Handles and . - Content script : Injects gem icon + shadow DOM chat overlay. Executes DOM tools ( , , , ). Tools Tool Description Runs in ------ ------------- --------- Read text/HTML of the page or a CSS selector Content script Capture visible page as PNG Service worker Click an element by CSS selector Content script Type into an input by CSS
Xem thêm từ README.md

Đánh giá chi tiết

Tổng quan

Gemma Gem là browser AI agent chạy hoàn toàn trong trình duyệt bằng Gemma 4 qua WebGPU. Không cần API key, không gọi cloud, không đẩy dữ liệu ra ngoài máy, mọi thứ diễn ra ngay trên thiết bị người dùng.

Điểm hay của repo này là nó không chỉ chat với nội dung trang, mà còn có thể click nút, điền form, chụp ảnh màn hình và chạy JavaScript trong ngữ cảnh của trang. Hiểu nhanh thì đây là một browser agent local-first, khá thú vị cho ai thích on-device AI.

Tính năng chính

  • Chạy Gemma 4 trực tiếp trong browser qua WebGPU, không cần cloud inference
  • Có thể đọc nội dung trang, click element, type text, scroll và chạy JavaScript
  • Hỗ trợ screenshot capture và agent loop ngay trong extension architecture
  • Cho phép chọn model, bật thinking và điều chỉnh các thiết lập ngay trong UI
  • Dữ liệu không rời khỏi máy, phù hợp với người ưu tiên privacy

Ai nên dùng

Hợp với người muốn thử browser agent local-first, đặc biệt ai quan tâm đến WebGPU, on-device inference và automation trong trình duyệt.

Hạn chế

  • Phụ thuộc khá nhiều vào khả năng WebGPU và tài nguyên máy cục bộ
  • Mô hình on-device nên tốc độ và chất lượng sẽ lệ thuộc thiết bị nhiều hơn cloud setup
  • Đây vẫn là extension dạng thử nghiệm sớm, chưa phải công cụ browser automation ổn định cho mọi tình huống
Gemma Gem | Atlas for AI