All posts

10 Antigravity CLI Commands You Should Know

Learn 10 Antigravity CLI commands to inspect plans, models, context & saved work.

6 min read
On this page

Antigravity CLI lets you inspect a plan, ask a side question and review changes without leaving a development task. These ten commands cover settings, models, quota, context and saved work, following the practical approach of our Codex CLI command guide.

1. /help: Learn the Controls Available in Your Session

Run /help to find commands and keyboard shortcuts for your installed build. Its tabs collect general guidance, commands and navigation controls.

The shortcuts view below shows how to expand tool output, move through history and close panels. Check these hints when switching terminals or learning a new build.

/help

Antigravity CLI keyboard shortcuts reference with arrow keys highlighted.

The help command opens the keyboard-shortcuts reference, including navigation and editor controls.

2. /config: Adjust the Terminal Experience

Use /config to open settings rather than searching through a configuration file for every small adjustment. The panel lets you find an option, inspect its choices and change it from the CLI. It is a useful first stop for rendering, editor and display preferences.

Review the current permission settings carefully; the choices visible in an earlier build may differ from those in your installed release.

/config

Terminal settings panel displaying various options like animation speed, color scheme, and tool permissions.

The settings panel exposes editor, rendering, permission and display options in one place.

3. /model: Change the Model Without Leaving the Session

Run /model when the next task needs a different model or reasoning option. The picker shows choices available to the signed-in account. Select one, then check the confirmation before continuing so you know which model will answer the next request.

The picker below shows the current High option and highlights Medium. Choose deliberately before continuing; the available models and reasoning levels depend on your account and installed build.

/model

Model selection dropdown showing available models for AI tasks.

The model picker shows the current model and the available alternatives before selection.

4. /usage: Check Your Remaining Model Quota

Use /usage before committing to a long task or when a request stops because of a quota limit. It displays model quota information so you can see the account's available allowance instead of guessing from the length of the conversation.

The recording shows model quota bars after the command runs. Read the current limits and reset information in your own account. A quota display is different from the context window occupied by one conversation.

/usage

Model quota panel displaying available allowances for different models.

The quota panel shows a separate remaining allowance for each available model.

5. /btw: Ask a Side Question While Work Continues

Use /btw for a side question while the agent is busy with the main task. It is useful when you want an explanation or a progress update without replacing the original request. Keep the question specific so the reply helps you make the next decision.

In the demonstrated run, the agent explains what it is doing while building a small journal application. Use the main conversation for a change to the task itself; a side question serves a different purpose.

/btw what are you doing?

Code snippet displaying a Python script and terminal UI interaction.

The side reply explains the work completed and the next step while the main task continues.

6. /context: Inspect the Conversation's Working Space

Run /context when a session has accumulated substantial history. It shows token usage and the categories contributing to it. The view also links the conversation to its checkpoints and artifact files, making it easier to understand what the agent is carrying forward.

Use the breakdown to judge whether to continue the same conversation or simplify the next task. These figures describe working context; they do not tell you how much account quota remains.

/context

Context usage breakdown showing token allocation by category.

The context view separates messages, tool calls, system instructions and free space.

7. /artifact: Read the Work the Agent Has Written

Use /artifact when you want to inspect a plan, walkthrough or other artifact produced during the task. Opening the file is more useful than relying on a short completion message. Check whether the stated decisions and deliverables match the work you requested.

The example opens walkthrough.md for a journal and to-do application. Read the content before approving it, and use comments where a correction is needed. An artifact records the agent's explanation of its work.

/artifact

Terminal displaying an artifact viewer with walkthrough information including file structure.

The artifact viewer opens the generated walkthrough with its file structure and implementation notes.

8. /diff: Review the Actual File Changes

Run /diff after the agent edits files. It opens a change-review interface where you can inspect the patch, rather than taking a completion message as proof that the right change was made. Look for unexpected files and alterations outside the requested scope.

The example opens the Git diff and then a patch in jtodo.py. Compare the change with the requirement and run the appropriate checks before accepting it; the viewer shows edits, not their correctness.

/diff

Code snippet showing Python import statements within a file.

The change viewer highlights the two imported modules added to jtodo.py.

9. /agents: Inspect Delegated Work

Use /agents when a task involves additional agents and you need to inspect the available or active work. The panel gives you a place to see the agents involved instead of trying to infer their state from a stream of tool messages.

Open a delegated task to inspect its brief, status and available tools. Here the research agent is still working, with eleven steps recorded. Connected capabilities matter too, as our guide to how LLMs use external tools explains.

/agents

Research task details view showing running status, steps, and tools.

The research task is running; its detail view shows elapsed time, step count, the brief and its available tools.

10. agy -c: Continue the Previous Conversation

Run agy -c from your normal shell when you want to continue the previous conversation after leaving the CLI. It is useful when you close a terminal and later return to the same task. You do not have to paste the earlier discussion into a new prompt.

The example restores the journal-application conversation and its prior output. Check that the restored task and workspace are the ones you intended before issuing another request. Use the printed conversation-specific resume command when you need a particular session.

agy -c

Command line prompt showing how to run jtodo.py application.

The resumed conversation restores the earlier run instructions and links to the application, tests and walkthrough.

Keep the Task Easy to Inspect

Start with the settings and model you want, then keep /usage and /context separate in your mind: one concerns quota, the other the conversation's working space. During the task, /btw and /agents help you understand what is happening. At the end, inspect /artifact and /diff before accepting the work. Keep agy -c handy for the next time you return.

Frequently Asked Questions

Where do I enter slash commands?

Inside the Antigravity CLI prompt. Start agy first.

Are /usage and /context the same?

No. /usage concerns model quota; /context shows the current conversation's token use.

Does /btw stop the main task?

It asks a side question while the agent continues working.

How do I continue after closing the terminal?

Run agy -c for the previous conversation, or use its printed conversation-specific resume command.

Last updated: Nov 30, 2026

Build your teammate team in 30 seconds.

Build teammate teams that work along with your team. Free to start, no card required.