macOS
brew install go-hass-agentlocal Homebrew formula metadata
安装
brew install go-hass-agentlocal Homebrew formula metadata
nix profile install nixpkgs#go-hass-agentnixpkgs package indexes · pkgs/by-name/go/go-hass-agent/package.nix · 来源: api.github.com
概览
Native Home Assistant agent for desktop/laptop devices
历史
Go Hass Agent is a native Home Assistant companion-style agent for desktop and laptop devices. It exposes local sensors, controls, and events from a machine to Home Assistant so they can be used in dashboards and automations.
The repository was created in April 2023, and the author introduced the project to the Home Assistant community the same month as a native app integration for desktop and laptop devices. The README frames it as analogous to the Home Assistant mobile companion app, but aimed at desktops, servers, Raspberry Pi devices, and other systems that can run Go.
The tool serves a focused Home Assistant niche: users who want desktop or server state inside automations without depending on a mobile companion app. Its Homebrew and Nix packaging broaden installation beyond manual Go builds, while the README's platform tables document a Linux-heavy sensor set plus cross-platform script and MQTT extension points.
Practitioners run Go Hass Agent on a device they want Home Assistant to observe or control. The agent reports sensors such as battery, CPU, memory, disk, network, media, screen lock, user sessions, and hardware information where the operating system supports them; it can also expose custom script sensors, MQTT sensors and controls, D-Bus controls, notifications, and Home Assistant events.
For package catalogs, Go Hass Agent is a useful example of a desktop-adjacent automation agent packaged as a Go binary. Its value comes from bridging local OS APIs, MQTT, and Home Assistant's native app integration model rather than from being a general-purpose developer tool.
安全态势
formula declares a Homebrew service.
orange 风险 · 中 置信度 · infrastructure
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
local files
These source-backed paths show where this package keeps local settings or durable credentials. Automic Vault can use them as review targets for secret scanning, migration, and command approval.
Config paths the tool may read or write during local use.
~/.config/go-hass-agent/preferences.toml~/.config/go-hass-agent/commands.toml~/Library/Application Support/go-hass-agent/preferences.toml~/Library/Application Support/go-hass-agent/commands.toml%LocalAppData%\go-hass-agent\preferences.toml%LocalAppData%\go-hass-agent\commands.tomlCredential-bearing paths to review before unattended agent runs.
~/.config/go-hass-agent/preferences.toml~/Library/Application Support/go-hass-agent/preferences.toml%LocalAppData%\go-hass-agent\preferences.toml可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
go-hass-agent | cli | 全局可执行文件 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/joshuar/go-hass-agent
安装元数据
| 软件包键 | brew:go-hass-agent |
|---|---|
| 版本 | 14.15.0 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/go-hass-agent |
| 主页 | https://github.com/joshuar/go-hass-agent |
| 仓库 | https://github.com/joshuar/go-hass-agent |
| 上游文档 | https://github.com/joshuar/go-hass-agent#readme |
| 许可证 | MIT |
| 源码归档 | https://github.com/joshuar/go-hass-agent/archive/refs/tags/v14.15.0.tar.gz |
| 最后更新 | 2026-07-25T06:49:29Z |
| Pulse | updated |
| 构建依赖 | go, node |
| Bottle | 可用 (于 arm64_linux, x86_64_linux) |
| Homebrew post-install | 未定义 |
| 服务 | declared |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | go-hass-agent |
| Version Scheme | 0 |
| Revision | 0 |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
源数据库匹配
匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。
go-hass-agent
nix profile install nixpkgs#go-hass-agent来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.