# Install go-hass-agent with Homebrew, Nix

Native Home Assistant agent for desktop/laptop devices. Version 14.14.1 via Homebrew; verified 2026-06-23.

## Install

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

Additional install commands:

### macOS

- Homebrew (100%):

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

  Evidence: local Homebrew formula metadata

### Linux

- Nix (92%):

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

  Evidence: 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

## Package facts

- **Package key:** brew:go-hass-agent
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/go-hass-agent>
- **Version:** 14.14.1
- **Source summary:** Native Home Assistant agent for desktop/laptop devices
- **Homepage:** <https://github.com/joshuar/go-hass-agent>
- **Repository:** <https://github.com/joshuar/go-hass-agent>
- **Upstream docs:** <https://github.com/joshuar/go-hass-agent#readme>
- **License:** MIT
- **Source archive:** <https://github.com/joshuar/go-hass-agent/archive/refs/tags/v14.14.1.tar.gz>
- **Last updated:** 2026-06-23T03:18:34Z
- **Generated:** 2026-07-08T18:08:21+00:00

## Executables

- go-hass-agent (cli)
- go-hass-agent (alias)

## Build dependencies

- go
- node

## Install behavior

- Post-install hook: not defined
- Service: declared
- Bottle: available on arm64_linux, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 14.14.1
- Package-manager updated: 2026-06-23
- Local data: ok
- Upstream repository: https://github.com/joshuar/go-hass-agent
- Upstream latest detected: v14.14.1 (current)
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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

### Sources

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


## Security Notes

formula declares a Homebrew service.

- **Geiger risk:** orange / medium
- 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 Details

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

## Other Package-Manager Records

- 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


## Related links

- [Source-control packages](https://www.automicvault.com/pkg/source-control-tools/) - Belongs to a source-control command family.
- [Secret-risk packages](https://www.automicvault.com/pkg/secret-risk-packages/) - Has protected-tool coverage, approval-gate, or non-low Geiger security signals.
- [Terminal utility packages](https://www.automicvault.com/pkg/terminal-utilities/) - Matched terminal and command-line workflow metadata.
- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [go](https://www.automicvault.com/pkg/brew/go/) - Build dependency declared by Homebrew.
- [node](https://www.automicvault.com/pkg/brew/node/) - Build dependency declared by Homebrew.
- [homeassistant-cli](https://www.automicvault.com/pkg/brew/homeassistant-cli/) - Shares av.db curated category or tags: cli, home-assistant, home-automation, productivity.
- [teslamate](https://www.automicvault.com/pkg/brew/teslamate/) - Shares av.db curated category or tags: cli, home-automation, mqtt, productivity.
- [slacknimate](https://www.automicvault.com/pkg/brew/slacknimate/) - Shares av.db curated category or tags: cli, monitoring, productivity.
- [a2ps](https://www.automicvault.com/pkg/brew/a2ps/) - Shares av.db curated category or tags: cli, productivity.
- [abook](https://www.automicvault.com/pkg/brew/abook/) - Shares av.db curated category or tags: cli, productivity.
- [acronym](https://www.automicvault.com/pkg/brew/acronym/) - Shares av.db curated category or tags: cli, productivity.
- [ad](https://www.automicvault.com/pkg/brew/ad/) - Shares av.db curated category or tags: cli, productivity.
- [aerc](https://www.automicvault.com/pkg/brew/aerc/) - Shares av.db curated category or tags: cli, productivity.
- [organize-tool](https://www.automicvault.com/pkg/brew/organize-tool/) - Local package facts share a topical domain. Shared terms: automation, cli, desktop, productivity.

## Combined YAML source

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


## Sources

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