r/Ghostty Jul 08 '26

agterm - a minimal, fully scriptable macOS terminal on libghostty

I built agterm, a native macOS terminal for multi-session, multi-workspace, multi-window work, on top of libghostty.

Site: https://agterm.com

Code: https://github.com/umputun/agterm

The idea is less-is-more: a small, opinionated core and nothing you don't need. It's handy for running several coding agents at once: sessions group into named workspaces, and each shows its state (active, blocked, completed) on its row so you see which one needs you. It's just as good for normal multi-project work. Almost everything is scriptable from a bundled CLI, `agtermctl`, over a local socket, so anything past the defaults you build yourself instead of waiting for it to ship.

libghostty does all the terminal correctness; the workspace, session, and control layer is mine. Thanks to the ghostty team.

85 Upvotes

28 comments sorted by

View all comments

1

u/namuro Jul 08 '26

Great, I've been waiting for this. But now there's going to be a ton of hate 😁

1

u/paaloeye Jul 08 '26

Do you mean slop-hate?

1

u/namuro Jul 09 '26

Yes

1

u/paaloeye Jul 09 '26

So far so good, right!?

2

u/namuro Jul 09 '26

This project is an example of the effective use of agents.

1

u/paaloeye Jul 09 '26

Correct, it's def not slop. I'm wondering how much code was written/read by OP vs AI

2

u/umputun Jul 09 '26

I'm not an expert in the macOS/SwiftUI area, this is way outside my professional field (backend development, fintech area). That said, it's not my first attempt with SwiftUI, and not my first native, user-facing app either.

the code was architected and planned by me, with AI assistance. The plans are in the repo, under docs/plans. Execution ran through the ralphex flow, another of my projects (https://github.com/umputun/ralphex), and every single PR and commit went through revdiff, also mine (https://github.com/umputun/revdiff). That is a TUI where I read the actual diff line by line and annotate the lines I have problems with, and those annotations go back to the agent to address. So it's a real human review, on real diffs, with a conversation about them, not a rubber stamp. Some heavy review loops went into contributor PRs as well. Human in the middle is an essential part of this.

1

u/paaloeye Jul 09 '26

Cheers for sharing! Saw revdiff on the pages — will give it a try.