[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-116296":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":15,"subscribersCount":15,"size":15,"stars1d":15,"stars7d":16,"stars30d":16,"stars90d":15,"forks30d":15,"starsTrendScore":15,"compositeScore":17,"rankGlobal":10,"rankLanguage":10,"license":18,"archived":19,"fork":19,"defaultBranch":20,"hasWiki":19,"hasPages":19,"topics":21,"createdAt":10,"pushedAt":22,"updatedAt":23,"readmeContent":24,"aiSummary":25,"trendingCount":15,"starSnapshotCount":15,"syncStatus":26,"lastSyncTime":27,"discoverSource":28},116296,"ABeast","10ef\u002FABeast","10ef","Lightweight exit monitoring and protection for AI agents.","",null,"Go",52,3,51,0,1,42.41,"MIT License",false,"main",[],"2026-11-23 06:52:57","2026-11-18 22:54:35","\u003Ch1>\u003Cimg src=\"resources\u002Ficon.png?v=cc65a0fb50d8\" width=\"48\" height=\"48\" align=\"absmiddle\" alt=\"ABeast icon\"> ABeast\u003C\u002Fh1>\n\n\u003Cp>\n  \u003Ca href=\"LICENSE\">\u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Flicense-MIT-blue.svg\" alt=\"MIT license\">\u003C\u002Fa>\n  \u003Cimg src=\"https:\u002F\u002Fimg.shields.io\u002Fbadge\u002Fplatform-macOS%20%7C%20Windows-lightgrey\" alt=\"macOS and Windows\">\n  &nbsp; · &nbsp; English · \u003Ca href=\"README.zh-CN.md\">简体中文\u003C\u002Fa>\n\u003C\u002Fp>\n\n**Lightweight exit monitoring and protection for AI agents.**\n\nThe macOS app is under **25 MB** and the Windows executable under **13 MB**, with roughly **11 to 28 MB of memory** depending on platform, and **0.4% of one CPU core** on average. ABeast works with Mihomo (Clash Meta) to monitor exit IPs and countries for Claude Code and Codex, pin nodes, close abnormal connections, and send alerts.\n\n## Features\n\n- **Real exit per API.** Probes `https:\u002F\u002Fapi.anthropic.com\u002Fcdn-cgi\u002Ftrace` and `https:\u002F\u002Fchatgpt.com\u002Fcdn-cgi\u002Ftrace` through the same proxy rules as the agents: exit IP, country, city, ISP, latency and the node in use.\n- **Protection mode — one switch:**\n  - **Pin the node (no leak).** Selects the agents' current node in the manual group their rule goes through. When that node dies or jitters, requests fail inside the proxy — they never move to another node, region, or DIRECT. Agents just retry.\n  - **Hold the agents.** When the proxy cannot contain the traffic — client quit or crashed while the exit is wrong, `direct` mode, TUN explicitly off, or a probe using a DIRECT outbound — ABeast pauses `claude` \u002F `codex` (SIGSTOP \u002F NtSuspendProcess) within about 1–2 s, and resumes them seconds after the exit checks out again — usually before the prompt cache expires. Their sessions stay intact; at most the interrupted request is retried.\n  - **Cut stray connections.** Every 500 ms, closes AI connections going through DIRECT or a node in a blocked region.\n  - **Optional REJECT.** With the bundled [override script](clash\u002Fexitguard-override.js), unsafe routes are also switched to `REJECT` in the proxy.\n  - ABeast cannot currently intercept traffic if the proxy client exits unexpectedly.\n- **Network checks.** Flag `direct` mode, gaps in TUN settings reported by Clash, and observed or possible DIRECT paths. DNS leaks and system IPv6 routing require separate verification.\n- **Alerts.** Notifications on exit changes, new high risks, lost proxy controller, and paused\u002Fresumed agents; six tray states.\n- **Native panel.** Clicking the icon opens a panel with a card per route, the protection switch and the environment check; right-click for the full menu and advanced settings.\n- **Environment check.** Scores 0–100 how China-like this computer's timezone, UTC offset, preferred languages and region format look. The score describes local settings only. It does not estimate account-ban probability or network safety. Inspired by [fuck-claude.com](https:\u002F\u002Ffuck-claude.com\u002F).\n\n## Performance and size\n\n| | |\n|---|---|\n| macOS (universal DMG) | ≈ 10 MB download · \u003C 25M installed |\n| Windows x64 \u002F ARM64 (ZIP) | ≈ 5.7 \u002F 5.4 MB download · \u003C 13M exe |\n| Memory | ≈ 28 MB on macOS (memory footprint) · ≈ 11 MB on Windows (Task Manager) |\n| CPU | ≈ 0.4% of one core on average (one probe round every 30 s), idle in between |\n\nPure Go, no cgo, no WebView or Electron; the panel is native UI. Protection mode adds a local Clash API poll every 500 ms.\n\n## Usage\n\n1. Download from [Releases](https:\u002F\u002Fgithub.com\u002F10ef\u002FABeast\u002Freleases). macOS: drag **ABeast.app** to Applications (macOS 12+). Windows: unzip the whole archive and run **ABeast.exe**. Builds are not notarized\u002Fcode-signed; approve them through the system prompt.\n2. Start your proxy client, preferably in **TUN** mode (plus strict-route on Windows).\n3. Click the dog icon: check the Claude and Codex exits in the panel. Right-click it for the full menu.\n4. Turn on **Protection mode**. It requires the Clash API controller. Clash Verge Rev and mihomo are detected automatically; in FlClash, enable **External controller** and restart the client. The menu shows the pinned group and node.\n\nSettings live in `~\u002FLibrary\u002FApplication Support\u002FExitGuard\u002Fconfig.json` (Windows: `%AppData%\\ExitGuard\\config.json`): blocked\u002Fallowed countries, targets, controller. See [configuration](docs\u002Fconfiguration.md).\n\n## Build\n\nRequires the Go version in [go.mod](go.mod).\n\n```sh\ngit clone https:\u002F\u002Fgithub.com\u002F10ef\u002FABeast.git && cd ABeast\ngo test .\u002F...\ngo tool mygo dev                                         # run from source\ngo tool mygo build -platform darwin\u002Funiversal            # macOS app + DMG (on macOS)\ngo tool mygo build -platform windows\u002Famd64,windows\u002Farm64 # Windows\n```\n\nOutput goes to `build\u002F`. Release packaging: [docs\u002Freleasing.md](docs\u002Freleasing.md).\n\n## Contributing\n\nIssues and pull requests are welcome. Run `go test .\u002F...` before submitting, say what you tested on which OS and proxy client, and strip IPs, secrets and subscription URLs from logs.\n\n## License\n\n[MIT](LICENSE)\n","ABeast 是一款轻量级 AI 代理出口监控与防护工具，专为保障 Claude Code、Codex 等 AI 客户端在代理环境下的网络出口稳定性与合规性而设计。它通过实时探测 Anthropic\u002FChatGPT 的 CDN 节点出口 IP、国家、城市及延迟，并结合 Mihomo（Clash Meta）规则，提供节点锁定、AI 进程暂停\u002F恢复、异常直连连接自动切断及安全告警等核心能力；内存占用仅 11–28 MB，CPU 占用约 0.4%。适用于需长期稳定使用境外 AI 服务、且对出口地理位置有严格要求的开发者或合规敏感场景。",2,"2026-11-24 04:53:28","CREATED_QUERY"]