This issue tracks a safe, phased migration plan to absorb useful behavior from Antigravity CLI and Gemini CLI packaging into OpenAI CLI.
Scope:
- Antigravity CLI terminal-agent behaviors
- Antigravity SDK concepts that are reusable in a CLI
- Gemini CLI packaging/command-distribution lessons
- OpenAI Apps SDK alignment where applicable
Read-only facts gathered so far:
openai-cli is a Go CLI with cmd/openai, internal, pkg/cmd, and scripts.
- The CLI already supports resource-based commands, file arguments, auth env vars, and a Go SDK link path.
- Antigravity CLI emphasizes permissioned edits, command execution, SSH sessions, and Google Sign-In/keyring auth.
- The Antigravity Python SDK exposes agent/session/tooling primitives, triggers, hooks, and MCP integration.
Planned phases:
- File-map the CLI surface in
cmd/openai, internal, pkg/cmd, and scripts.
- Identify reusable agent-session abstractions and OpenAI-native telemetry events.
- Separate auth, install, and deploy path changes from agent behavior changes.
- Draft a minimal first PR that only adds the new abstractions and compatibility seams.
- Follow with telemetry, auth, and UX PRs.
Non-goals for the first PR:
- No package rename.
- No destructive behavior changes.
- No unrelated refactors.
- No attempt to mirror Google-only auth or telemetry.
Deliverables:
- A file-level migration map.
- A PR sequence.
- A list of compatibility gaps and adapter requirements.
- A clear boundary between OpenAI CLI core behavior and imported agent ergonomics.
This issue tracks a safe, phased migration plan to absorb useful behavior from Antigravity CLI and Gemini CLI packaging into OpenAI CLI.
Scope:
Read-only facts gathered so far:
openai-cliis a Go CLI withcmd/openai,internal,pkg/cmd, andscripts.Planned phases:
cmd/openai,internal,pkg/cmd, andscripts.Non-goals for the first PR:
Deliverables: