Upgrading from claude-fleet-monitor
tongs-agents replaces claude-fleet-monitor 0.9.x. It uses its own runtime names from its first release, so an old install is cleaned up rather than migrated. Session records are live status that goes stale within minutes, so nothing in them is carried over.
What changed
Section titled “What changed”| claude-fleet-monitor 0.9.x | tongs-agents | |
|---|---|---|
| Commands | claude-fleet, claude-fleet-hook |
tongs-agents, tongs-agents-hook |
| Session records | ~/.claude/fleet/ (FLEET_DIR) |
$XDG_STATE_HOME/tongs-agents/sessions/ (~/.local/state/tongs-agents/sessions/; TONGS_AGENTS_STATE_DIR overrides the state directory). FLEET_DIR is not read |
| Claude Code MCP | mcpServers.fleet in ~/.claude/settings.json (Claude Code does not load user MCP servers from there) |
tongs-agents, registered with claude mcp add --scope user |
| Codex MCP | fleet via codex mcp add |
tongs-agents, written as [mcp_servers.tongs-agents] in config.toml by tongs-agents itself (install) |
| Pi config and marker | claude-fleet-monitor.json, owner claude-fleet-monitor |
tongs-agents.json, owner tongs-agents |
| Pi runtime symbol and package | claude-fleet-monitor.pi.runtime.v1, claude-fleet-monitor-pi |
tongs-agents.pi.runtime.v1, tongs-agents-pi |
| tongs entry point | fleet-monitor ([plugins.fleet-monitor]) |
agents ([plugins.agents]) |
| Python module | claude_fleet_monitor |
tongs_agents |
The MCP tool names (fleet_status, fleet_focus, …) are unchanged.
tongs-agents is not on PyPI yet, so install it from source:
git clone https://github.com/andre-motta/tongs-agents.gitcd tongs-agentspip install -e . # once released: pip install tongs-agentstongs-agents install # or: tongs-agents install --agent allpip uninstall claude-fleet-monitor # or pipx uninstall, matching how you installed ittongs-agents doctorRestart running agent sessions afterwards. In Codex, review the new hooks with
/hooks; Codex trusts each hook command separately, so the old trust entries
do not carry over.
What install and uninstall clean up
Section titled “What install and uninstall clean up”tongs-agents install and tongs-agents uninstall remove, for the agents
they act on:
- each hook command that runs
claude-fleet-hookor the older~/.claude/bin/fleet-hook.sh, one command at a time, including the unquoted form the old installer wrote when the home directory contains a space. Other commands in the same hook group stay; - a
fleetMCP entry only when it startsclaude_fleet_monitor.mcp_serverortongs_agents.mcp_serverwith Python, or is the oldestuv run --directory ~/.claude/fleet-mcp server.pyform: thesettings.jsonentry, a Claude Code user-scope entry and the Codex entry. Afleetserver that runs anything else is yours and is kept; - with
--agent pior--agent all, the Pi extension paths recorded inclaude-fleet-monitor.jsonwith theclaude-fleet-monitormarker, followed by that file. A failed removal keeps the file so a later run can retry, and a file without the marker is left alone.
Uninstall also removes the entries tongs-agents itself installed, and the
old ~/.claude/bin/fleet-*.sh scripts and ~/.claude/fleet-mcp directory.
The directory is kept, with the command to run, while a Claude Code entry
still starts it (for example when the claude CLI was not found), so no MCP
registration is left pointing at a removed directory.
A full uninstall deletes only tongs-agents session records
(fleet-v<N>-<digest>.json) and its lock and temp files from the sessions
directory; other files there are kept.
What is never removed automatically
Section titled “What is never removed automatically”~/.claude/fleet/ stays where it is. tongs-agents neither reads nor deletes
it. tongs-agents doctor reports it together with the command to remove it,
for example:
$ tongs-agents doctorSession directory: /home/user/.local/state/tongs-agents/sessions
Unused claude-fleet-monitor session directory: /home/user/.claude/fleet tongs-agents never reads or deletes it. Its records are stale; remove it with: rm -r -- /home/user/.claude/fleetDoctor also reports a claude-fleet-monitor package or command that is still installed, and any old hook, MCP or Pi entry that install has not cleaned up yet. It only reads; it changes nothing.
The tongs plugin entry point is now agents. Move any [plugins.fleet-monitor]
settings in your tongs config to [plugins.agents].