Repository navigation
agyscope v0.2.0
rex-agy-subagent is now agyscope: an unofficial, read-only subagent viewer for the Antigravity agent CLI (agy), packaged as a standard Python tool, with Rex support as an optional integration.
Install
uv tool install git+https://github.com/daehyeok/agyscopeThis gives two commands: agyscope (the viewer) and agyscope-rex-hook (the optional Rex PostToolUse hook).
Highlights
- Textual panel: full-screen list and view screens. The subagent list lines up role, state, model, age and last step at every depth; press Enter to open a subagent's live steps, Esc/q to go back. Follows the session, has a pager and refreshes every second.
- Standalone viewer:
agyscope --pid PID,--conversation ID,--once(plain-text list, no Textual needed),--view CHILD. - Rex integration: Lua plugin (
require("plugins.agyscope"), action"agyscope") plusagyscope-rex-hook, which auto-opens the panel when the first subagent starts. All Rex code lives inagyscope.integrations.rexand is only loaded with--rex-block. - Settings: command-line flags, then
~/.config/agyscope/config.json(override the path withAGYSCOPE_CONFIG). - Python 3.10+; tests on pytest via uv; CI on Python 3.10, 3.13 and 3.x.
Breaking changes since v0.1.0
- Repository renamed
rex-agy-subagent→agyscope(GitHub redirects the old URL). - Commands
agy-subagent/agy-subagent-hook→agyscope/agyscope-rex-hook; thebin/launchers and symlink install are gone. Useuv tool install. - Config
~/.config/rex-agy-subagent/config.json→~/.config/agyscope/config.json; state dir →$XDG_STATE_HOME/agyscope/. Old paths are not migrated. AGY_SUBAGENT_*environment variables removed.--block→--rex-block.- Lua module
agy_subagent→agyscope; Rex action"agy_subagent"→"agyscope"; plugin dirplugins/rex-agy-subagent→plugins/agyscope. - Hook entry in
~/.gemini/config/hooks.jsonmust now call~/.local/bin/agyscope-rex-hook(seeintegrations/rex/hooks.json).
Full changelog: v0.1.0...v0.2.0