Skip to content

Agent Office v0.4.0

Choose a tag to compare

@github-actions github-actions released this 04 Nov 15:39
c84c70e

Agent Office is now open source under Apache-2.0. This release also fixes a startup bug that
affected every install.

Fixed: the app appeared to hang on startup

The desktop app checked whether its collector was alive by sending a Host header without the
port. The collector's host allowlist requires the port to match its listener, so every health
check came back 403
and the app never recognised a collector that was in fact running and
serving normally. It waited out a 30 second deadline and then showed an error.

The wait also happened before the window was created, so there was nothing on screen at all while
it ran. The window now opens on its loading page immediately and the wait happens in the
background, which also restores reusing a collector already listening on port 4747 (handy if you
run bun run start inside WSL).

Collector hardening

  • Requests carrying X-Forwarded-For, Forwarded or Via are never treated as loopback for
    authorization, so a reverse proxy cannot borrow loopback trust.
  • /api/remote, which toggles phone and device sharing, now requires a direct loopback Host and
    Origin, and is disabled entirely whenever ALLOWED_HOSTS is set.
  • ALLOWED_HOSTS without a TOKEN of at least 16 characters stops the collector from starting.
  • Host and Origin are checked against local, Tailscale and configured hostnames, including the
    port.

These rules live in apps/collector/src/security.ts and have unit and integration tests.

Open source

Apache-2.0, plus a security policy, contributing guide and
code of conduct. CI runs typecheck and the test suite on every pull request.

Adapters for new agents are the most useful contribution, and CONTRIBUTING.md walks through
adding one.

Install

Platform File
Windows Agent.Office_0.4.0_x64-setup.exe or _x64_en-US.msi
Debian/Ubuntu Agent.Office_0.4.0_amd64.deb
Fedora/RHEL Agent.Office-0.4.0-1.x86_64.rpm
Any Linux Agent.Office_0.4.0_amd64.AppImage
Android (viewer) Agent.Office_0.4.0_android-arm64.apk

Arch users: agent-office-bin on the AUR.

Installers are not code-signed yet, so Windows SmartScreen will ask on first run
("More info" → "Run anyway").

A note on what this reads

Agent Office reads the session logs your coding agents already write to your home directory.
Those logs contain your prompts, file contents and command output. The collector only ever
reads them, changes no agent's configuration, and binds to 127.0.0.1 unless you explicitly set a
TOKEN and widen it.