[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-114563":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":9,"language":10,"languages":9,"totalLinesOfCode":9,"stars":11,"forks":12,"watchers":13,"openIssues":14,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":16,"stars7d":17,"stars30d":18,"stars90d":15,"forks30d":15,"starsTrendScore":19,"compositeScore":20,"rankGlobal":9,"rankLanguage":9,"license":21,"archived":22,"fork":22,"defaultBranch":23,"hasWiki":24,"hasPages":22,"topics":25,"createdAt":9,"pushedAt":26,"updatedAt":27,"readmeContent":28,"aiSummary":29,"trendingCount":15,"starSnapshotCount":15,"syncStatus":13,"lastSyncTime":30,"discoverSource":31},114563,"agweb","paul-nameless\u002Fagweb","paul-nameless"," A browser built for agents - no focus stealing, a tiny footprint, all tabs in one view.",null,"Swift",289,8,2,1,0,3,43,73,12,76.16,"MIT License",false,"master",true,[],"2026-11-21 22:14:16","2026-11-23 15:10:09","# agweb\n\nA browser for coding agents on macOS, built on WebKit (Safari's engine). I run several coding agents at once, and Playwright's Chrome windows kept stealing my keyboard, while headless browsers got blocked by some sites and left me guessing what went wrong. agweb is one window that never takes focus: agents drive it from the shell with `agweb`, a playwright-cli-style command, and you watch them all live.\n\n![The dashboard: every agent's tabs at once](docs\u002Fimages\u002Fdashboard.png)\n\nIdle tabs are suspended: on my Mac five open pages sit at 0% CPU, where Chrome's GPU process kept five to seven cores busy.\n\n| Five idle pages   | Memory |\n|-------------------|--------|\n| agweb             | 590 MB |\n| Headless Chrome   | 730 MB |\n| Playwright Chrome | 1.6 GB |\n\n- **Never steals focus.** No window comes to the front, nothing pops up. Dialogs, changing tabs, file pickers and downloads are answered in code.\n- **You can always see it.** The dashboard (⌘D) shows every tab of every agent at once, live, with each agent's last command. And it is always a real window: some sites block headless browsers, and headless leaves you guessing what went wrong.\n- **Many agents at once.** Each agent works in its own workspace with its own tabs, grouped by agent in the sidebar.\n- **Log in once.** A named profile (`-p work`) keeps its logins and is shared by every agent using it, at the same time.\n- **Light.** Idle tabs are throttled and then suspended, so open pages cost almost nothing once nobody uses them.\n- **Acts like a person.** Clicks and keys are native macOS events, and the pointer moves like a hand, so hover menus and drag-and-drop work.\n- **Made for agents.** Snapshots give each element a ref that lasts while it is on the page. `snapshot --diff` and `find` show only what matters, and every action reports what it changed.\n- **Passwords stay out of the transcript.** `fill --secret-cmd 'pass show site'` types a secret the agent never sees in replies. 1Password and Bitwarden CLIs work too.\n- **No ads.** Ads and trackers are blocked with uBlock Origin's lists, which agweb downloads every 4 days. An agent testing analytics can turn it off for its own workspace (`agweb -w task adblock off`).\n- **Demo videos.** `video-start` records a tab to MP4, with the pointer and clicks drawn in.\n\n\n## Install\n\nNeeds macOS 15.4 or later. Download `Agweb.dmg` from [Releases](..\u002F..\u002Freleases), drag Agweb to Applications and open it. Then:\n\n- Help ▸ Install Command Line Tool\n- Help ▸ Install Agent Skill (for Claude Code and Codex).\n\nBoth are links into the app, so they update with it.\n\nTo update, use Agweb ▸ Check for Updates… or `agweb update`. agweb never updates by itself.\n\nTo build from source instead (Xcode 26 or later):\n\n```sh\n.\u002Fscripts\u002Fbuild.sh\nbuild\u002FAgweb.app\u002FContents\u002FHelpers\u002Fagweb install-cli\nagweb install-skill\n```\n\n## Use\n\n```sh\nagweb -w task open en.wikipedia.org\u002Fwiki\u002FWebKit   # a workspace for this task; starts the app if needed\nagweb -w task snapshot                            # the page as a tree with [ref=eN] handles\nagweb -w task click 'role=button[name=\"Main menu\"]'\n```\n\nThe click's reply already says what it did, so the agent needs no second snapshot:\n\n```\n### Changes\n  - navigation \"Site\" [ref=e2]\n-   - button \"Main menu\" [ref=e3]\n+   - button \"Main menu\" [checked] [expanded] [ref=e3]\n+   - list [ref=e1167]\n+     - listitem [ref=e1168]\n+       - link \"Main page\" [ref=e1169]\n```\n\n`agweb help` lists every command. Settings (⌘,) has text size, dashboard columns, a CPU and memory readout and the ad blocker switch.\n\n## Compared with playwright-cli\n\nSame commands where possible, so agents already know them; a Playwright name it lacks suggests its own (`scroll-to` → `scroll-into-view`). On top:\n\n- **Replies say what changed**: fetches started, lines added or removed, dialogs, popups, downloads, console errors. No snapshot after every step, so far fewer tokens.\n- **Refs last** while the element is on the page.\n- **`ask`** hands the tab to you for a login, MFA code or CAPTCHA, without taking focus.\n- **Actions wait** for the fetches they caused, so agents rarely sleep.\n- **`text`** returns the page's article as markdown.\n- **Shared logins**: agents on one profile run at once; a Chrome profile opens in one browser only.\n\n## Limits\n\n- WebKit only: no Chrome DevTools Protocol, so Playwright and Chrome extensions can't attach, and Chrome-only sites may misbehave.\n- `route` mocks fetch and XHR only; `requests` lists images, scripts and styles by URL only (`--static`).\n- The ad blocker can't run uBlock's scripts, so YouTube ads and some \"turn off your ad blocker\" walls get through.\n- For what it can't do, use Playwright.\n\n## Develop\n\n`.\u002Fscripts\u002Fselftest.sh` runs every command against a local page in a separate instance; `swift test` runs the unit tests. `AGWEB_ROOT=\u002Ftmp\u002Fdir` starts a second instance beside your own that keeps everything in that folder. [Defuddle](https:\u002F\u002Fgithub.com\u002Fkepano\u002Fdefuddle) (MIT) is bundled for `text`.\n","agweb 是一款专为自动化代理（agents）设计的 macOS 浏览器，基于 WebKit 引擎，主打无焦点干扰、低资源占用与多代理协同操作。其核心功能包括：全局仪表盘实时展示所有代理的标签页与操作日志；闲置标签页自动挂起以降低 CPU 和内存占用；通过命令行工具 `agweb` 驱动浏览器行为，支持快照比对、元素持久引用、密码安全注入及 uBlock Origin 级广告拦截；所有交互模拟真实用户（原生 macOS 事件、指针移动、拖放等）。适用于本地运行多个 AI 编程代理（如 Claude Code）、网页自动化测试、RPA 调试及需可视化验证的 headless 场景。","2026-11-24 04:49:03","CREATED_QUERY"]