
AWT (AI Watch Tester)
io.github.ksgisang由 GitHub 帳號 ksgisang 發布v1.8.0更新於 Oct 28, 2026
AI-powered E2E testing MCP server. Detects and auto-fixes UI bugs via DevQA Loop and Vision AI.
概覽
AI 驅動的端對端網頁測試伺服器,讓助理撰寫 YAML 情境並在真實 Chromium 瀏覽器中執行,再讀取失敗資訊與截圖。
- 可以做什麼
- 撰寫並驗證 YAML 測試情境,也可由自然語言提示產生
- 在真實瀏覽器中以擬人化的滑鼠鍵盤操作執行情境
- 截圖,並透過 OCR 與影像比對定位頁面元素
- 輸出逐步的通過/失敗報告,含錯誤詳情與截圖
- 執行自癒迴圈分析失敗並提出修正,把成功比對結果存入 SQLite 重複使用
- 適用情境
- 適合助理在開發網頁應用時需要真實瀏覽器驗證流程、重現介面問題,或維護一套宣告式回歸情境的場合。也適合由編碼助理設計測試、在本機執行的開發工作流程。
- 執行需求
- 以本機 Python 程序執行:需安裝 aat-devqa 套件、Python MCP SDK、Playwright 與 Chromium,以及用於 OCR 的 Tesseract(非英文應用還需語言包)。AI 功能需 ANTHROPIC_API_KEY 或 OPENAI_API_KEY 等供應商金鑰,或本機 Ollama;單純執行情境不需金鑰。僅支援桌面環境。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 AWT (AI Watch Tester),將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
AWT — Eyes and Hands for Your AI Coding Tool
Your AI coding tool is smart. But it can't see or click a web page. AWT gives it a real browser — so it can test, find bugs, and fix them without you lifting a finger.
[License: AGPL-3.0] [Agent Skills]
Works without AI API — write YAML scenarios manually and run
aat run. No API key needed. AI coding tools make it easier, but are not required.
What is AWT?
AWT is the execution engine for AI-powered E2E testing. Your AI coding tool designs the tests; AWT runs them in a real browser with Playwright.
How it works in Skill Mode (no extra AI API key needed):
Key capabilities:
- Execute tests in a real browser with human-like mouse/keyboard interaction
- See — take screenshots, detect elements via OCR and image matching
- Report — step-by-step pass/fail with error details and screenshots
- Self-heal (CLI mode) —
aat loopauto-fixes failures with its own AI - Learn — successful matches stored in SQLite, getting faster over time
Installation
Install the aat command first — every route below drives it:
Claude Code plugin (recommended)
This repository is a plugin bundle. It ships the awt skill and the MCP
server that exposes the aat_* tools, so one install gives you both.
The MCP server needs the Python MCP SDK:
Verify what got installed:
You should see Skills (1) awt and MCP servers (1) awt.
Skill only
If you want the skill without the MCP server:
Or copy it by hand, globally or per project:
After installation, the skill auto-triggers on testing-related prompts.
Updating
For hand-copied installations: cd ~/.claude/skills/awt && git pull
Comparison with Other Testing Skills
When to use each:
- webapp-testing — Quick one-off Playwright scripts for simple page checks
- playwright-skill — When you need fine-grained Playwright API control
- AWT Skill Mode — Your AI coding tool designs tests, AWT executes them. No extra AI API key needed.
- AWT CLI Mode — Standalone automated testing with
aat generate+aat loopfor CI/CD
Supported AI Coding Tools
AWT follows the Agent Skills open standard and works with:
Quick Example
YAML Scenario
Natural Language (in Claude Code)
"Login to mysite.com with [email protected], then check if the dashboard loads"
AWT converts this to a YAML scenario and executes it automatically.
5-Step DevQA Workflow
- Scan — Crawl site, analyze DOM, detect features
- Plan — AI generates YAML test scenarios
- Review — User reviews/edits before execution
- Execute — Playwright runs with live screenshots
- Heal — AI analyzes failure → suggests fix → re-tests
AI Providers
Project Structure
Key CLI Commands
System Dependencies
macOS:
Linux (Ubuntu/Debian):
Windows:
After install, run aat doctor to verify everything works.
OCR language packs. Tesseract installs English only. If you test an app in
another language, install that language's pack too — otherwise text assertions
that fall back to OCR report not visible on page for text that is plainly
there. aat doctor names any missing pack.
What this plugin runs, sends, and fetches
Everything below is in this repository in readable source. Nothing is minified, compiled, or downloaded at install time.
Runs on your machine. mcp/server.py starts under python3 and does one
thing: it builds an argument list and runs the aat command you installed with
pip install aat-devqa, as a subprocess. It never runs a shell, so nothing it
receives is re-parsed as a command. aat in turn drives a local Chromium
through Playwright and, for OCR, the local tesseract binary.
Writes to disk. Under your project: .aat/ (config, run history,
screenshots, the SQLite learning database, the append-only audit log) and
reports/. Under your home directory: ~/.awt/templates/<host>/ for the
element images AWT saves so it can find a target again after a selector breaks.
Sends over the network. There is no telemetry and no analytics. Every destination below is either one you named yourself or the single call AWT makes on its own, which is listed first so it is not buried:
api.github.com, once a day, by AWT itself. The CLI asks for the latest release so it can print a hint when a newer one exists. No request body, no account, no machine id, no version string, nothing about what you are testing; the request is identical for every user. It times out after 3 seconds and every failure is swallowed, so blocking the host breaks nothing. This is the only call AWT initiates.- The site you are testing. Chromium loads the URL in your scenario. That is the whole point of the tool, and no other site is contacted by a test run.
- An AI provider, only for the commands that need one —
aat generate,aat loop,aat devqa, and Vision matching. The request carries the page text or screenshot and your scenario. You choose the provider and supply the key; with Ollama the request never leaves your machine. Plainaat runcontacts no AI provider at all. - A URL you typed, to check it is reachable —
aat doctorandaat startrequest the address you gave them and report whether it answered. http://localhost:<port>, to find your dev server —aat devqaprobes local ports only.- Any endpoint written into your own scenario. A
teardownstep of typeapi_callcalls exactly the URL you put in the YAML, which is how test data gets cleaned up after a run.
PRIVACY.md names the file and line behind each of these.
Fetches at runtime. Nothing. The plugin downloads no code after install.
Approval. aat run asks for confirmation by reading /dev/tty directly,
so a piped stdin cannot answer for you, and every attempt is recorded in
.aat/audit.log. There is no --auto-approve flag and no way for an AI agent
to supply the approval on your behalf. Scenario edits that an AI proposes are
not written to your files in the default manual mode.
Links
- Main Repository: github.com/ksgisang/AI-Watch-Tester
- Cloud Demo: ai-watch-tester.vercel.app
- Agent Skills Standard: agentskills.io
License
AGPL-3.0 — see LICENSE file for full text.
Built by AILoopLab.
來源:README.md,提交 d396fa7
工具
0版本歷史
3- v1.8.0最新Oct 15, 2026
- v1.7.1Sep 19, 2026
- v1.6.3Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分