AI Agent / Browser Automation
Index by Laminar:把瀏覽器變成可由 LLM 呼叫的 API 的開源 browser agent
Index 是 lmnr-ai/index 的 Apache-2.0 開源 browser agent,主打透過 vision-capable reasoning LLM 自動完成網頁任務,支援 pip install lmnr-index、index run CLI、Pydantic structured output、local Chrome session、serverless API 與 Laminar tracing。本文查證 repo、PyPI、WebVoyager claim 與使用 caveat。
2026年8月4日2 分鐘閱讀👁 3
Threads 知識整理 · Browser Agent
Index 是 Laminar / lmnr-ai 團隊的開源 browser agent。它把「用自然語言要求瀏覽器做事」包成 Python package、CLI 與 serverless API,讓網站像一個可被 LLM 操作的 API。
Matt 判斷:Index 的價值不是取代所有爬蟲,而是補上傳統 crawler 很痛的部分:登入態、表單、跨站流程、動態 UI、視覺判斷與步驟回放。對 Hermes / Allen 工作流,最值得看的是 local Chrome session + tracing + structured output。
## Threads 來源重點
- 把網頁瀏覽器變成可呼叫 API,一句自然語言能點按、抓資料、填表單、跨網站操作。
- 聲稱 WebVoyager benchmark 約 92% accuracy。
- 可用 `index run` 在 terminal 跑互動式 browser agent。
- 可復用本機 Chrome 登入狀態。
- 內建會話回放、錄屏、步驟追蹤;可抓資料並寫入 Google Sheets。
- 程式呼叫:`from index import Agent, GeminiProvider`,可用 Pydantic schema 做 structured output。
- CLI:`index run`,支援 browser state persistence、follow-up、human control、streaming terminal UI。
- 本機 Chrome:`index run --local-chrome` 可使用既有登入狀態。
- API:Laminar serverless API 管理 remote browser session、agent infrastructure 與 observability。
- 觀測性:透過 Laminar tracing 記錄 browser session、步驟與排錯資訊。
- 登入態非常敏感:local Chrome 會復用已登入帳號,應先用隔離 Chrome profile / 測試帳號,不要直接拿主力帳號跑未知任務。
- 表單提交與付費動作要加 guardrail:browser agent 很容易跨過傳統 crawler 不會碰的高風險 UI。
- WebVoyager 92% 是來源 / repo claim:未在本機重跑 benchmark,文章只作為上游聲明保留。
- 仍要遵守網站 ToS / robots / rate limit:AI browser automation 不等於合法繞過限制。