Feature Request: Agent Command Center & Persistent Background Execution for Antigravity CLI
Motivation
As a heavy user of terminal-based AI coding agents, I frequently use Antigravity CLI for long-running software engineering, research, code reviews, and multi-agent orchestration on headless Linux servers.
I would like to propose two closely related features inspired by OpenAI’s Codex CLI:
- A centralized Agent Command Center.
- Persistent, daemon-backed background execution.
These features would significantly improve the usability of Antigravity CLI for professional engineering and autonomous agent workflows.
1. Agent Command Center
Introduce a centralized, interactive TUI accessible by pressing the Right Arrow key when the input composer is empty, similar to Codex CLI.
The Command Center should support:
- Viewing all agent sessions across workspaces.
- Monitoring running, idle, completed, failed, and approval-pending sessions.
- Switching between sessions without interrupting ongoing execution.
- Inspecting subagent status, live output, and tool execution.
- Managing pending permission requests.
- Creating, resuming, renaming, stopping, and archiving sessions.
This would provide a unified interface for managing multiple concurrent agent tasks.
2. Persistent Background Execution
When pressing Ctrl+C during an active task, AGY should display an interactive menu with the following options:
- Run in background
- Stop task and exit
- Cancel
Selecting “Run in background” should detach the TUI while preserving the entire agent execution lifecycle, including:
- Active agent tasks and conversation state.
- Subagents and orchestration workflows.
- Running shell commands and tool calls.
- Pending permission requests.
- Execution logs and event streams.
Users should be able to close their terminals, disconnect from SSH, and later reattach to the same running session through the Agent Command Center.
3. Suggested Architecture
Consider introducing a shared, user-level background daemon that separates the interactive TUI lifecycle from the agent execution runtime.
Terminal A Terminal B Remote Client
| | |
+-------------+-------------+
|
AGY Shared Daemon
|
+-------------+-------------+
| | |
Agent A Agent B Agent C
Running Running Idle
The daemon could be responsible for:
- Agent session lifecycle management.
- Multi-agent orchestration.
- Persistent tool execution.
- Event streaming and state synchronization.
- Client attachment and detachment.
- Permission and approval management.
Individual TUI instances would act as clients connecting to the shared runtime.
Ideally, the daemon should support automatic startup, configurable idle shutdown, explicit task cancellation, and reliable session reattachment.
4. Open-Source Implementation References
OpenAI’s Codex CLI provides useful architectural and interaction design references:
- App Server Daemon: main:codex-rs/app-server-daemon
- App Server: main:codex-rs/app-server
- TUI implementation: main:codex-rs/tui
There is also a related Antigravity CLI feature request concerning daemon-backed execution:
This proposal complements that request by defining a centralized session management experience and explicit background execution controls.
5. Existing Alternatives
I have considered the following approaches:
- Using tmux or GNU Screen to preserve terminal sessions.
- Using AGY’s existing Remote Control functionality.
- Managing multiple AGY instances through separate terminal windows.
These approaches provide partial solutions, with limited integration into agent lifecycle management, subagent orchestration, and centralized execution monitoring.
Native integration would provide a more consistent and efficient workflow.
6. Expected Benefits
- Improved support for long-running autonomous tasks.
- More efficient management of concurrent agent sessions.
- Better visibility into multi-agent orchestration.
- Reliable execution in remote SSH and headless Linux environments.
- Reduced dependence on external terminal multiplexers.
- Improved productivity for professional engineering and research workflows.
Antigravity CLI already offers powerful multi-agent orchestration capabilities, including Orchestrator, Swarm, Boost, and Teamwork.
A native, daemon-backed Agent Command Center would make these capabilities substantially more practical for continuous, concurrent, and long-running engineering workloads.
I would appreciate hearing whether persistent agent execution and centralized session management are currently being considered for the Antigravity CLI roadmap.