# go-hass-agent を Homebrew, Nix でインストール

go-hass-agent のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。

## インストール

```sh
sudo av install brew:go-hass-agent
```

追加のインストールコマンド:

### macOS

- Homebrew (100%):

```sh
brew install go-hass-agent
```

  証拠: local Homebrew formula metadata

### Linux

- Nix (92%):

```sh
nix profile install nixpkgs#go-hass-agent
```

  証拠: 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

## パッケージ情報

- **パッケージキー:** brew:go-hass-agent
- **パッケージマネージャ:** Homebrew
- **パッケージマネージャページ:** <https://formulae.brew.sh/formula/go-hass-agent>
- **バージョン:** 14.15.0
- **ソース概要:** Native Home Assistant agent for desktop/laptop devices
- **ホームページ:** <https://github.com/joshuar/go-hass-agent>
- **リポジトリ:** <https://github.com/joshuar/go-hass-agent>
- **ライセンス:** MIT
- **ソースアーカイブ:** <https://github.com/joshuar/go-hass-agent/archive/refs/tags/v14.15.0.tar.gz>
- **最終更新:** 2026-07-27T14:57:50+02:00
- **生成日時:** 2026-08-04T22:13:35+00:00

## 実行可能ファイル

- go-hass-agent (cli)
- go-hass-agent (エイリアス)

## ビルド依存関係

- go
- node

## インストール挙動

- post-install フック: 未定義
- サービス: declared
- Bottle: 利用可能 対象 arm64_linux, x86_64_linux

## バージョンと鮮度

- ページ生成日: 2026-08-04
- マネージャ版: 14.15.0
- マネージャ更新日: 2026-07-27
- ローカルデータ: OK
- 上流リポジトリ: https://github.com/joshuar/go-hass-agent
- 検出された最新: v14.15.0 (最新)
## プロジェクトの歴史と使われ方

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

### ソース

- <https://community.home-assistant.io/t/go-hass-agent-a-native-app-integration-for-desktop-laptop-devices/559250>
- <https://formulae.brew.sh/formula/go-hass-agent>
- <https://github.com/joshuar/go-hass-agent>
- <https://github.com/joshuar/go-hass-agent/releases>
- <https://pkg.go.dev/github.com/joshuar/go-hass-agent>


## セキュリティノート

formula declares a Homebrew service.

- **Geiger リスク:** orange / 中
- formula declares a Homebrew service


## 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

- 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

- Linux: ~/.config/go-hass-agent/preferences.toml
- macOS: ~/Library/Application Support/go-hass-agent/preferences.toml
- Windows: %LocalAppData%\go-hass-agent\preferences.toml
## ソースデータベース詳細

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** go-hass-agent
- **Version Scheme:** 0
- **Revision:** 0
- **Requirements:** linux
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** no
- **Disabled:** no
- **Keg Only:** no
- **URL Keys:** stable

## 他のパッケージマネージャ記録

- Nix - go-hass-agent: normalized package name match | 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


## 関連リンク

- [Source-control packages](https://pkg.so/ja/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://pkg.so/ja/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://pkg.so/ja/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://pkg.so/ja/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [node](https://pkg.so/ja/brew/node/) - Build dependency declared by Homebrew.
- [go](https://pkg.so/ja/brew/go/) - Build dependency declared by Homebrew.
- [homeassistant-cli](https://pkg.so/ja/brew/homeassistant-cli/) - Shares pkgdb curated category or tags: cli, home-assistant, productivity.
- [teslamate](https://pkg.so/ja/brew/teslamate/) - Shares pkgdb curated category or tags: cli, mqtt, productivity.
- [slacknimate](https://pkg.so/ja/brew/slacknimate/) - Shares pkgdb curated category or tags: cli, monitoring, productivity.
- [tmux](https://pkg.so/ja/brew/tmux/) - Shares pkgdb curated category or tags: cli, productivity.
- [vim](https://pkg.so/ja/brew/vim/) - Shares pkgdb curated category or tags: cli, productivity.
- [himalaya](https://pkg.so/ja/brew/himalaya/) - Shares pkgdb curated category or tags: cli, productivity.
- [yazi](https://pkg.so/ja/brew/yazi/) - Shares pkgdb curated category or tags: cli, productivity.
- [emacs](https://pkg.so/ja/brew/emacs/) - Shares pkgdb curated category or tags: cli, productivity.
- [wonjang-agent](https://pkg.so/ja/npm/wonjang-agent/) - Local package facts share a topical domain. Shared terms: agent, assistant, cli, productivity.

## Combined YAML source

View the package source record on GitHub. [combined/go-hass-agent.yml](https://github.com/mxcl/pkgdb/blob/main/combined/go-hass-agent.yml)


## ソース

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