[Feature Request]: Agent Command Center with Persistent Background Session Management

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.

I’ve also submitted this proposal as a GitHub feature request: [Feature Request]: Agent Command Center with Persistent Background Session Management · Issue #1982 · google-antigravity/antigravity-cli · GitHub

I would appreciate feedback from the Antigravity team and other developers who rely on long-running, concurrent agent workflows. Hopefully, this feature can be considered for the future roadmap.

Background sessions make approval state the part to test. Start a session that reaches a pending permission request, detach the terminal, restart the daemon, and assert that the request is still pending, that no tool call ran while it waited, and that approving it from the command center runs exactly one call. A second check: a subagent’s status in the dashboard should match its last recorded tool result, so a failed step never shows as completed. The approval and state items in AiEnsured agentest, an Agentic AI Testing platform (165 tests) are written out in a public checklist:huggingfaceco Glad to hear what it caught or missed.

Thanks for the suggestions and for sharing the checklist.

Codex’s open-source App Server architecture is a useful reference for this proposal. It already supports detached daemon processes, persistent threads, client reconnection, remote approval handling, and structured subagent status tracking.

However, recovering pending approvals across daemon restarts appears to remain an open challenge in Codex itself, as discussed here: [Codex App Server] Support durable input requests across restarts · Issue #42622 · openai/codex · GitHub

I agree that durable approval state, duplicate execution prevention, and accurate subagent status reporting should be explicit acceptance criteria for Antigravity’s Command Center.

Ideally, Antigravity could build on a similar architecture while addressing these limitations from the outset.

Agreed, and the open issue you link shows why these belong in the acceptance criteria rather than a later release. A pending approval that survives a restart is easy to claim and easy to test: count tool executions in the log and assert that approving after the restart produces exactly one. Writing the three criteria as runnable checks in the feature request would make it clear when Command Center meets them.