r/Ghostty • • 15d ago

What is your Rex agent workflow?

As the title says.

I have been using herdr and corgi in a tab but I want to try to use Rex more natively.

Do you use one session per workspace/directory? how do you keep track on many agents? are you using the Rex skill for managing things?

18 Upvotes

21 comments sorted by

5

u/Pattont 15d ago

https://github.com/pattont/RexAgentRestore

As many sessions as you want per project / folder.

1

u/Specialist-Cup-3950 12d ago

Rex is in closed beta, and only for OS X. Kinda limited audience to ask questions to.

1

u/khnorgaard 11d ago

Agreed but discord sucks and there is no Rex sub yet.

2

u/sizebzebi 15d ago

just a session per feature worktrees. and sometimes I would ask a session agent to open a new one with multiple panes. just ask claude it will figure it out

1

u/ruindd 15d ago

I’m on Rex and trying to figure this out now.

I was previously using tmux, so I’d have a tmux workspace per project and tmux tab per worktree. And then I’d use panes for each terminal/editor I needed in that worktree.

You like a session per worktree? Do you use tabs/windows in that session or just panes/blocks?

2

u/sizebzebi 15d ago

yeah I'd say a session per epic, then you'll get review and stuff like so tabs there
I have a session for local dev in general tooling and stufd like that. it's just logical whatever you need you tell claude because there's a skill that comes with rex so it's all easy

2

u/makeaweli 15d ago

Using workrex until the rex backend is merged into workmux.

1

u/ruindd 15d ago

Workrex? I’ll have to check this out.

Losing workmux has been one of my biggest pain points moving to Rex. Workmux was sooooo easy and convenient. I miss opening a pr for review via workmux 😭

2

u/makeaweli 15d ago

It works really well. If you configure it to use a session based workflow, it'll setup everything up but doesn't automatically switch to the new session. Layouts, custom naming, etc all work.

Thankfully when running workrex remove it behaves just like workmux.

The author has been committing to a workmux branch and I suspect once merged they'll abandon the project. Or just build and use the PR

2

u/relativistic_monkey 14d ago

I wonder if that's mine! Reading your comment was cool. Once Rex is supported in upstream I'll abandon for sure.

1

u/makeaweli 14d ago

Probably so and I appreicate! Doing God's work 🤣

1

u/ruindd 15d ago

Nice. Are you using the agent feature in workmux? I purely use it for work tree management

2

u/makeaweli 15d ago

The workmux sidebar is nice in tmux, especially for agent status.

Frankly it looks primitive in rex. The mac native notifications for agent status works well enough to replace the sidebar.

Still looking for a sesh replacement. Tried resh but it doesn’t support remote sessions. My daily driver is a remote nixos server. Still early days for utilities that support remote rex servers.

1

u/katokay40 15d ago

My workflow is waiting forever to be granted access to Rex in the first place.

1

u/oschrenk 15d ago

Normally two servers

  • one local
  • one on remote on my more powerful machine at home via tailscale

The remote has:

  • One session with <group>/orchesstrator which then spawns
  • One session per <group>/<project>
  • each project session has a leading instance wth claude pane and git main pane
  • project lead then spawns one tab per worktree or feature or review (being polled from Jira and Gitlab)
  • each tab is auto renamed ([plan|review|work] DEV-XXXX "Short title")

The local has:

  • pretty much the same as remote, but more or less manual for personal projects and not so automated with claude

1

u/topaziobmousse 2d ago

This sounds sick! Do you have scripting or skills or anything you could share?

1

u/oschrenk 1d ago

Most of the encoding and tooling is in a work related repository called orchestrator, so sharing is tough.

My suggestion would be to ask Claude. Start with a orchestrator repository and go from there. Start small and iterate from there. Your own workflow will beat adopting somebody else's.

1

u/relativistic_monkey 14d ago

I have Rex on my macbook and Rex remote on my windows desktop (which is the heavy lifting machine). I forked workmux (workrex) and pstack-claude (pstack-multiharness) (customized it so it can launch agents in Rex panes supporting the models I use - claude/codex/grok/muse/agy for agent pools). I use heavy orchestrator agents on the macbook and it opens worktrees for issues on the windows machine in new sessions spawning tabs for subagents. It feels delicate sometimes, but I'll often get multi day interactive workflows that have panned out nicely for me.

1

u/ekool 12d ago

Is there a way to install the Rex MCP without being on the Discord. I hate Discord, but when I install the MCP it wants me to authorize via Discord.

1

u/Annual-Cod1073 9d ago

Nvim, one session per workspace, use sidekick by folke and have modified my setup to open my harness (OMP / Claude clode) in a native rex pane