Kilobat

app.kilobat由 kilobat.app 發布v0.7.0更新於 Oct 30, 2026

Mac networking for agents: per-app traffic, Wi-Fi, latency, DNS, why a host fails and keep-awake.

概覽

AI 產生的概覽

給 AI 助理用的本機 macOS 網路診斷工具:依應用程式查看流量、Wi-Fi、DNS、延遲、連線失敗原因,並可讓 Mac 保持喚醒。

可以做什麼
  • 查看即時流量、依程序列出連線、區網裝置與已知網路
  • 診斷主機或 API 無法連線的原因,追蹤路由、測量網址耗時、比較 DNS 解析器
  • 檢查 Wi-Fi 訊號、頻道、Mesh 節點、強制入口網頁,並切換到較近的節點
  • 執行速度、緩衝膨脹、卡頓、區網及特定服務測速,並產生用量報告
  • 管理規則、DNS 設定、流量預算、應用程式配額、封鎖以及 VPN/代理檢查
  • 在任務期間讓 Mac 保持喚醒,並產生支援報告與每週摘要
適用情境
適合在 Mac 上工作的助理需要解釋網路變慢或連線失敗、在大檔案下載前判斷是否為計費網路、確認 VPN 或 DNS 行為,或在長時間建置與測試期間讓機器保持喚醒的情境。
執行需求
需要 macOS 14 或更新版本並已安裝 Kilobat CLI(Homebrew 或使用 Swift 6 從原始碼建置);MCP 伺服器透過 kilobat mcp 指令以本機 stdio 方式執行。不需帳號、API 金鑰或遙測。部分功能依賴選用的 Kilobat Mac 應用程式、其授權等級、macOS 定位權限或已核准的 Network Extension。
安裝前請注意
許多工具會變更系統狀態:DNS 伺服器、應用程式規則、封鎖、預算、配額、VPN 斷網開關、AirDrop 可見性與保持喚醒。變更設定的指令可能需要確認與管理員授權,權限提示由用戶端控制。網路檢查會連線測試端點,測速會傳輸資料;透過 CLI 儲存規則本身並不會啟用過濾。歷史記錄可被清除。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Kilobat,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

README

Kilobat CLI

Network diagnostics for macOS, in your terminal and your AI agent. Find which apps use your connection, diagnose Wi-Fi and DNS problems, trace a failing API request, and keep your Mac awake through a long build.

Free and open source under GPL-3.0-only. No account or telemetry. The CLI runs on its own; the optional Kilobat Mac app adds a menu-bar interface, recorded history, and network filtering.

Quick start · Mac app · AI agents · Build from source · Tool reference

Quick start

Requires macOS 14 or later. Homebrew builds from source and requires Xcode 16 or newer.

sh
brew install seifip/kilobat/kilobatkilobat diagnose

Homebrew also installs kb as a short alias for kilobat.

Find out…Command
Which apps are using the connectionkilobat status --watch
Why a host or API won't connectkilobat why api.github.com
How strong the Wi-Fi signal iskilobat wifi
Which Wi-Fi channels are less crowdedkilobat channels
Whether traffic leaves through a VPNkilobat ip
Whether this connection suits a long jobkilobat conditions

Keep your Mac awake until a command finishes:

sh
kilobat awake -- make test

Use --json for structured diagnostic output, or --watch --json for a live traffic stream:

sh
kilobat diagnose --jsonkilobat why api.github.com --jsonkilobat status --watch --json

Run kilobat --help or kilobat <command> --help for more options. Commands that change system settings may require confirmation and administrator authorization. Network checks contact test endpoints; speed tests transfer data.

Kilobat for Mac

Prefer a view you can glance at? Kilobat puts live traffic in your menu bar and brings diagnostics, usage history, Wi-Fi tools, and app-level network controls into a native Mac app.

[Kilobat for Mac: Wi-Fi networks and the menu-bar dashboard with live traffic, data budget, and per-app controls]

Explore the Mac app →

The app is a separate product with free and paid features, under its own terms. You don't need it for standalone CLI diagnostics or MCP setup.

CapabilityWhat it needs
Live traffic, connection diagnostics, Wi-Fi signal and channelsCLI alone
Wi-Fi network namesRunning app with macOS Location permission; otherwise names appear hidden
Recorded history and per-network budgetsData recorded or supplied by the app
Enforcing app and destination blockingApp with its signed Network Extension activated and approved in macOS

Some app-backed features also depend on the app's license tier and configuration. Saving a rule through the CLI does not by itself enable filtering.

Use with AI agents (MCP)

kilobat mcp runs a local stdio Model Context Protocol server. Install the CLI first, then connect your agent:

Claude Code

sh
claude mcp add kilobat -- kilobat mcp

Codex CLI

sh
codex mcp add kilobat -- kilobat mcp

Claude Desktop: configure a local stdio server with the full executable path returned by /usr/bin/which kilobat and argument mcp. See the local-server setup guide.

Cursor, Windsurf, Zed, Gemini CLI, Cline, and other MCP clients: add a stdio server with command kilobat and argument mcp.

Try asking:

  • “Why is my internet slow?”
  • “Is this a metered connection before I download 5 GB?”
  • “Why can't this API connect from my Mac?”
  • “Keep the Mac awake until this build finishes.”

Tools that change settings carry confirmation requirements in their descriptions; the client controls permission prompts. Connected clients discover available tools, input schemas, and annotations with tools/list.

See the agent setup guides for client-specific instructions. Optional agent skills teach agents when and how to use Kilobat:

sh
npx skills add seifip/kilobat-skills

Build from source

Requires macOS 14 or later and Swift 6.

sh
git clone https://github.com/seifip/kilobat-cli.gitcd kilobat-cliswift build -c release.build/release/kilobat --help

Run the tests with swift test.

MCP tool reference

The following names and titles are defined in v0.45.1. Use your installed server's tools/list for its full descriptions, input schemas, and annotations. Availability and returned data can depend on the companion app, its license tier, permissions, and configuration.

Browse the MCP tools
ToolPurpose
get_statusLive traffic snapshot
diagnose_networkDiagnose connection
scan_wifiNearby Wi-Fi networks
run_speedtestSpeed and bufferbloat test
get_usage_reportUsage history
compare_usageCompare with a router or provider
list_rulesProfile rules
set_profileSet profile
set_app_ruleAllow or block an app
set_dnsSet DNS servers
get_fastest_dnsFastest DNS for this network
set_fastest_dnsSwitch to the fastest DNS automatically
set_dns_fallbackSet the fallback DNS
get_wifiWi-Fi connection
get_wifi_nodesWi-Fi mesh nodes
reconnect_wifiMove to the closer Wi-Fi node
suggest_wifi_channelLeast crowded channel
get_network_historyNetwork history
benchmark_dnsCompare DNS resolvers
check_urlTime one website
list_connectionsOpen connections by process
list_devicesDevices on the local network
trace_routeTrace the route to a host
get_route_historyRoute to a host over time
compare_speed_testsWhy two speed tests differ
get_plan_checkSpeed against the plan
get_router_checkupRouter check-up
get_weekly_digestWeekly digest
get_outage_creditOutage credit from the provider
get_service_speedReal speed to GitHub, iCloud, Steam and more
get_hotspot_throttlingIs the carrier capping the phone hotspot?
get_exit_pathWhere traffic leaves: VPN and public IP
run_lan_testThroughput to a device on the network
list_networksKnown networks
get_conditionsConditions for a long run
get_updatersUpdaters paused on metered networks
get_uploadsBig uploads and held ones
diagnose_connectionWhy something can't connect
list_sessionsAwake sessions and agent runs
agent_network_logAgent network log
create_support_reportReport for an ISP or IT desk
get_proxy_statusProxy apps and routes
test_proxy_nodesTest proxy nodes
check_vpnVPN leak and conflict check
check_vpn_leaksVPN leak test
get_call_reportsCall quality reports
get_remote_session_reportsSSH and remote desktop session reports
get_stream_reportsOBS stream reports
check_stream_readinessCheck before going live
get_cloud_gamingCloud gaming sessions
get_householdPaired Macs on the home network
get_home_usageEvery device's usage at home
check_smart_homeMatter, Thread and HomeKit check
service_statusIs it them or me?
explain_connectionWhat is this process or host?
get_captive_portalWi-Fi sign-in page (captive portal)
get_starlink_statusStarlink dish status
keep_awakeKeep the Mac awake
release_awakeLet the Mac sleep again
set_budgetSet the data budget
get_data_packData packs and when they run out
set_data_packAdd, correct or end a data pack
set_network_costSet a network's data cost
set_updater_pausePause updaters on metered networks
set_kill_switchVPN kill switch
hold_uploadSend an upload later
set_app_quotaSet an app's data quota
get_app_bandwidthOne app's bandwidth over time
get_access_policyConnections an app declares
set_new_app_modeHow new apps are treated
list_approvalsApps waiting for approval
decide_approvalAllow or block a waiting app
block_destinationBlock a domain or IP
list_blocked_connectionsRecently blocked connections
explain_verdictWhy Kilobat allows or blocks a connection
clear_historyClear history or forget a site
check_host_reputationIs a host known to be malicious?
get_protection_statusProtection status
set_protectionChange Protection
run_stutter_testFind latency spikes
get_game_pingPing game data centers
get_nearby_radiosAirDrop and Bluetooth
get_bluetooth_audioBluetooth audio: why headphones crackle
check_local_networkCan I cast or print here?
set_airdrop_visibilityChange AirDrop visibility

License

Kilobat CLI code is licensed under the GNU General Public License version 3.0 only; see LICENSE. Bundled geolocation and device-manufacturer data have additional licenses documented in THIRD_PARTY_NOTICES.md. Kilobat's name and artwork are not licensed for use as trademarks. The separate Kilobat desktop app is distributed under its own terms.

來源:README.md,提交 ce040d4

工具

0
SourceWeft 曾在隔離沙箱中以無憑證方式啟動該軟體包一次,以列出其工具,但未能完成:該軟體包類型無法在沙箱中執行。

版本歷史

1
  1. v0.7.0最新Oct 30, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分