Automic VaultAutomic Vault

brew

使用 Homebrew, Nix 安装 go-hass-agent

查看 go-hass-agent 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install go-hass-agent

local Homebrew formula metadata

Linux

Nix已验证 · 92%
nix profile install nixpkgs#go-hass-agent

nixpkgs 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

历史

项目历史与用法

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.

时间线

  • 2023: The GitHub repository was created.
  • 2023: The author shared the project on the Home Assistant community forum.
  • 2023: v5.0.x releases appeared on GitHub.
  • 2026: v14.x releases showed ongoing packaging and sensor work.

Related projects

  • Home Assistant
  • Home Assistant Companion App
  • HASS.Agent
  • MQTT

安全态势

风险级别:orange

formula declares a Homebrew service.

风险分类器

orange 风险 · 中 置信度 · infrastructure

原因

  • formula declares a Homebrew service

信号

  • metadata:service

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • formula 元数据声明了服务或守护进程块。
  • Homebrew bottle 元数据适用于 2 个平台目标。
  • 构建元数据列出 2 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

local files

Configuration and credential file locations

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.

Configuration files

Config paths the tool may read or write during local use.

Linux
~/.config/go-hass-agent/preferences.toml~/.config/go-hass-agent/commands.toml
macOS
~/Library/Application Support/go-hass-agent/preferences.toml~/Library/Application Support/go-hass-agent/commands.toml
Windows
%LocalAppData%\go-hass-agent\preferences.toml%LocalAppData%\go-hass-agent\commands.toml

Credential files

Credential-bearing paths to review before unattended agent runs.

Linux
~/.config/go-hass-agent/preferences.toml
macOS
~/Library/Application Support/go-hass-agent/preferences.toml
Windows
%LocalAppData%\go-hass-agent\preferences.toml

可执行文件

已安装的可执行文件

命令类型暴露范围备注
go-hass-agentcli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-26
管理器版本14.15.0
管理器更新时间2026-07-25
本地数据OK
上游当前
检测到的最新版本v14.15.0

https://github.com/joshuar/go-hass-agent

  • OK没有生成新鲜度警告。

安装元数据

软件包元数据

软件包键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
Pulseupdated
构建依赖go, node
Bottle可用 (于 arm64_linux, x86_64_linux)
Homebrew post-install未定义
服务declared

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Namego-hass-agent
Version Scheme0
Revision0
Requirements
  • linux
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Nix95%

go-hass-agent

nix profile install nixpkgs#go-hass-agent
  • normalized package name match
  • 匹配方式:Go Hass Agent
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/go/go-hass-agent/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated configuration and credential file locations
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment