misc/agtop: New port: Terminal UI for monitoring AI coding agents #583

Closed
MBrassey opened 7:39am on August 15, 2026 wanted to merge 32 Ξ” into freebsd/freebsd-ports main from
agtop
Code line content in this commit was purged after it aged past our code retention window of at most three months for this repo. We have insufficient quota to grab the code content at this time, please try back later.

If you receive this message over several days, please consider adding more users to your account (whose quota we can use to grab commit content), or contact [email protected] with error #33NFNE
Diff Delta:
32
About 6 Diff Delta/hour
Classified as:  General

MBrassey's Description of Work

New port: misc/agtop, a top-like terminal UI for monitoring AI coding agents (CPU, memory, tokens, estimated spend, session activity), written in Rust.

Upstream: https://github.com/MBrassey/agtop (v2.5.0, MIT)

Notes on the port:
- CATEGORIES=misc, per prior review guidance for AI tooling
- CARGO_CRATES generated with make cargo-crates into a separate Makefile.crates; distinfo generated with make makesum, both run on FreeBSD
- Single binary; PLIST_FILES=bin/agtop, no pkg-plist
- No post-install target (stripping is automatic under USES=cargo)

Testing was done on an AWS EC2 instance running FreeBSD 15.1-RELEASE-p2, with poudriere jails for both supported releases and both ports branches.

poudriere testport -j 151amd64 -p local -o misc/agtop

building for: FreeBSD 151amd64-local 15.1-RELEASE-p2 FreeBSD 15.1-RELEASE-p2 amd64
build of misc/agtop | agtop-2.5.0 ended at Sat Aug 15 06:34:09 UTC 2026
build time: 00:01:22

poudriere testport -j 144amd64 -p local -o misc/agtop

building for: FreeBSD 144amd64-local 14.4-RELEASE-p8 FreeBSD 14.4-RELEASE-p8 amd64
build of misc/agtop | agtop-2.5.0 ended at Sat Aug 15 05:45:59 UTC 2026
build time: 00:01:23

poudriere testport -j 151amd64 -p quarterly -o misc/agtop (2026Q3)

building for: FreeBSD 151amd64-quarterly 15.1-RELEASE-p2 FreeBSD 15.1-RELEASE-p2 amd64
build of misc/agtop | agtop-2.5.0 ended at Sat Aug 15 07:18:54 UTC 2026
build time: 00:01:19

poudriere testport -j 144amd64 -p quarterly -o misc/agtop (2026Q3)

building for: FreeBSD 144amd64-quarterly 14.4-RELEASE-p8 FreeBSD 14.4-RELEASE-p8 amd64
build of misc/agtop | agtop-2.5.0 ended at Sat Aug 15 08:03:33 UTC 2026
build time: 00:01:19

portlint -A

looks fine.

portclippy Makefile and portfmt -D Makefile produced no findings.

make stage && make stage-qa && make check-plist && make package, followed by install, run, deinstall, pkg add of the built package, run again, and reinstall: all clean.

Upstream test suite built and run natively with the ports rust:

test result: ok. 93 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out

Runtime check of the packaged binary (TUI, --once, --json) on:

FreeBSD 15.1-RELEASE-p2 releng/15.1-n283596-aadd58dddcbc GENERIC amd64

5 total changed files
(2 files ignored)
Loading changes...
Loading changes...
Loading changes...
You've made it to the end of the scroll.
You have reached the final β€œwhy is this here?”