RedditPP Mascot

RedditPP

r/PowerShell • … • u/khalon23

agent-manager runs natively on windows now (psmux + pwsh 7), a keyboard tui for running all your ai coding agents [OC, i'm the dev]

i'm the dev, so this is a show and tell. ai disclosure per rule 11, built largely with claude code, i review and test everything. agent-manager is a local terminal app that connects to your existing subscriptions and tools and runs your ai coding clis side by side, each in its own session, in one list with live status (working, waiting on you, finished, errored). it supports claude code, codex, opencode, grok build, gemini cli, antigravity cli, pi, hermes agent, muse code and oh my pi natively on windows. the 11th, command code, only works under wsl2 because its name clashes with cmd.exe.

until last week it was tmux only, so windows meant wsl. as of 0.42 you get both. natively, psmux 3.4+ stands in for tmux and powershell 7.3+ is the pane shell (a contributor, larroy, did most of the port). or keep using wsl2 like before, on tmux inside the distro.

the native install is one line, read the script first if piping to iex bothers you

irm https://raw.githubusercontent.com/YoanWai/agent-manager/main/install.ps1 | iex

it goes to %LOCALAPPDATA%\Programs\agent-manager, adds itself to your user path, and tells you the winget command for psmux, git or pwsh 7 if one is missing. windows powershell 5.1 is refused on purpose, it splits prompts containing quotes into several arguments.

what you get once it's running is keyboard driven. space sends a prompt into any agent without attaching, x kills a session to free its ram and v revives it on the same conversation, and ctrl+r opens a full-file diff review where c comments a line and C sends every comment back to the agent. it's one go binary, no electron or browser.

there's also `agent-manager settings list/get/set` for scripting your setup, and notify_command runs a powershell command every time an agent needs you (docs have an ntfy push example using $env:AM_BODY).

known gaps on native windows: previews poll instead of stream, and agent clis installed only as .cmd/.bat are refused (npm installs are fine). if it misbehaves with your profile or psmux version i'd like to hear about it.

https://github.com/YoanWai/agent-manager

— 0