Skip to content
Ozone
Browse the docs
On this page

Messages and context

Give the agent a task in the composer. Add files, quote a previous response, or include a skill when the task needs more context.

Messages can contain up to 120,000 characters. Longer drafts stay in the composer so you can shorten them or split them into several messages.

Pasting 32 KiB or more of text adds that fragment as a text-file attachment so the agent can inspect it without filling the model context. A smaller paste also becomes an attachment when inserting it would exceed the message limit. Use Cmd+Shift+V on macOS or Ctrl+Shift+V elsewhere to keep a large paste editable in the composer instead.

Formatting

The composer writes Markdown and shows it styled as you type. When your cursor is on styled text, its Markdown shows instead, such as **bold**, and the markers edit like any other text: delete them to remove the style, or change ** to * for italic. The style updates when your cursor leaves. To write plain Markdown with no styling, turn off Settings → Chat → Rich text composer. Lines starting with - , 1. , - [ ] , > , # or --- become lists, task lists, quotes, headings and rules; ``` followed by Enter opens a code block. What you typed is what the agent receives, markers and numbering included, and #1234 without a space still looks up a pull request.

Some styled text containing or touching literal Markdown characters, such as a bold path\ or 2*3, keeps its styling without showing markers. Use formatting shortcuts or turn off rich text to edit the formatting of those ranges.

Enter sends. In a list or quote, Shift+Enter continues it, and Shift+Enter on an empty line moves out one level, then leaves it; Tab nests a list item under the one above and Shift+Tab moves it back out. In a code block, Enter starts a new line at the current indentation, Tab and Shift+Tab indent the selected lines, and a closing ``` followed by Enter, or two blank lines at the end, leave the block. Backspace at the start of a code block turns it back into plain lines. Choose the language in a code block's corner to change it. Very large code blocks are shown without syntax highlighting.

Attach files

Attach up to 100 files per message. Each image can be up to 10 MiB, with at most 80 MiB of images in one message. Other files, including videos, can be up to 50 MiB each, subject to the environment's upload support and limit. The agent receives them on the environment's machine. Provider and model limits still apply, including images already in the conversation. A video attachment gives the agent a file path; only Antigravity sends supported videos to Gemini models as video.

Uploads begin when you add an attachment. All uploads must finish before the message can send. Retry or remove a failed upload. Reloading before an upload finishes requires you to attach that file again.

You can drag or paste images into the composer. HEIC and HEIF photos are converted to JPEG; photos over the image limit are also resized to fit.

See images and videos for previewing and saving media.

Plan before the work

Turn on Plan beside the model picker and the agent reads the project and proposes a plan without changing anything. Plan stays on for the thread, so you can ask for changes to the plan.

When the agent needs a decision from you, its question appears as a card in the conversation: pick an option, or type your own answer in Other, then Next or Submit. The number keys pick options, and what you type in the message box is the same typed answer.

The plan appears as a card too. View plan opens the whole plan beside the conversation. Approve leaves plan mode and has the agent do the work, Keep planning stays in plan mode so you can ask for changes, and Decline leaves plan mode and sends nothing. An app's thread has Plan first above the message box instead, which plans every request the same way.

Send while the agent is working

Choose Settings → Chat → Follow-up behavior to queue new messages for a later turn or steer the running turn immediately. The setting applies to this client; already queued messages keep their place. Queued messages are saved on the server and can be edited or removed before they send. When Enter sends, Cmd+Enter on macOS or Ctrl+Enter on Windows and Linux uses the opposite action: it steers when your default is Queue and queues when your default is Steer. If your Send shortcut requires Cmd+Enter or Ctrl+Enter, that shortcut uses your default follow-up behavior; add Shift to use the opposite action. This applies only to multiline messages when you choose the multiline send option.

Use Cmd+Shift+Enter on macOS or Ctrl+Shift+Enter on Windows and Linux to send the oldest queued message as a steer. This leaves the current draft intact and requires an active turn that supports steering. If that shortcut sends the opposite action for your draft, move focus outside the composer to steer the queued message. Change thread.steerQueuedMessage in Settings → Keybindings to use another shortcut.

Press Option+Up on macOS or Alt+Up on Windows and Linux with the cursor at the start of the composer to edit the most recently queued message. Change thread.editQueuedMessage to use another shortcut.

Custom models

Use Settings → Providers → Models to add an unlisted model with a custom name and options. Only options supported by the provider integration affect turns. Antigravity uses its account catalog and does not support custom models.

To rename a built-in model, edit the server's settings.json in its userdata directory. Add a custom model entry with the built-in model ID and a new name under that provider instance:

json

Could not copy. Select the text instead.

{
  "providerInstances": {
    "codex": {
      "driver": "codex",
      "config": { "customModels": [{ "slug": "gpt-5.5", "name": "Team GPT" }] }
    }
  }
}

Model defaults

Ozone remembers your provider, model, and model options for new threads. A project's configured model takes precedence; resetting that project setting returns to the remembered selection.

Leaving reasoning level or service tier unset uses the provider's own configuration.

Quote an assistant response

Select text within one assistant response and choose Cite. You can add a comment about the quote and write instructions around it.

Select the quote in a draft or sent message to return to its source. If the source is unavailable or has changed, the saved quote remains readable.

The chip shows your comment when it has one, or a short quote preview otherwise. Use the pencil button to add or change the comment. To remove the citation, place the caret beside its chip and delete it like other inline context. Copying, reloading, and restoring a stashed prompt keep each comment with its quote, and sending tells the agent which words were quoted and which comment you wrote. The quoted text and comment count toward the message limit.

Recall a sent prompt

Press ArrowUp in an empty composer to bring back the last prompt you sent in this thread. Press ArrowUp again to go further back, and ArrowDown to come forward. Moving forward past the newest prompt clears the composer. Recall walks the prompts loaded in the thread. Attachments, terminal context, and other extras from the original message are not restored, only the text you typed. A composer that holds an attachment or a picked element does not count as empty.

When the composer has text, the arrow keys move the caret as usual. Recall takes over only while the text is an unedited recalled prompt, with the caret on the first visual line for ArrowUp or the last visual line for ArrowDown, counting wrapped lines. Editing a recalled prompt turns it into a normal draft.

Suggested next prompt

Turn on Suggest next prompt in Settings > Labs. After a Claude or Codex turn completes, the empty composer shows a predicted next message. Press Tab to fill it in, then edit or send it, or press Escape to dismiss it. Each suggestion is one extra request that reuses the turn's prompt cache, so it uses a little of your plan's usage. Claude skips suggestions on the first turn of a thread and near usage limits. Codex needs version 0.165 or later; if Ozone manages Codex, update it in Settings > Providers. Codex follows a change to the setting at once; open Claude threads follow it after they restart.

Edit an earlier prompt

Choose Edit from here beneath a sent message to rewind the conversation to before that message. Choose Revert and keep changes to leave workspace files as they are, or Revert files too to put the workspace back to its checkpoint from before that message. That also undoes edits you made yourself. File restore is only offered for threads running in a worktree, and it is refused when another thread or agent session also uses that directory, a folder inside it, or a folder that contains it, since restoring would erase their changes. A thread that works in the project directory rewinds the conversation only. The selected prompt and its attachments return to the composer for editing and resending. Any unsent draft stays above the restored prompt.

This removes the selected message and later conversation from the active thread and provider history. It does not undo external actions or separate provider memory. The action is available only when the provider supports rewind.

Prompt stash

Press Cmd+S on macOS or Ctrl+S on Windows and Linux to save the current prompt and its attachments for later. Wait for uploads to finish first. With an empty composer, the same shortcut restores a single stash or opens the stash menu when there are several.

Stashes containing uploaded files must be restored in their original environment. Those files are retained for 24 hours. After an upload expires, restore the prompt and use Attach again or remove the missing file before sending.

Voice input

Use the composer's microphone or mod+shift+d to dictate into your draft. Audio is transcribed on an environment you choose in Settings → Voice; nothing is sent until you choose one. See Voice input.

Queued messages

The composer shows Interrupt while the agent is working and the draft is empty. Adding text or attachments replaces it with a send button that shows your Follow-up behavior: a queue icon for Queue or a steer arrow for Steer. Click it or press your send shortcut to use that action. Hold Cmd on macOS or Ctrl on Windows and Linux to switch the button to the opposite action, then click, or use the opposite-action shortcut described above.

Queued messages appear at the end of the thread as dashed messages that have not been sent yet. Each shows its text and any attached images. Send now sends a message right away, into the running turn if there is one. You can also edit or remove it.

If you stop the agent or the server restarts, queued messages keep their order and are held. Press Resume in an empty composer to continue. For stopped runs and usage limits, this uses the provider's native continuation without sending a new prompt. If the provider does not support it, send a message to continue instead. If the original request never reached the provider, Resume sends that request again.

Sending a new message also resumes the queue, unless it steers a turn that is already running. You can edit or remove held messages without starting them.

The pencil on a queued message opens it in the composer for editing. The original message stays in the queue until you save, and it is highlighted while you edit. The message's attachments appear above the text with a remove control, and new images can be added the usual way. The checkmark saves the queued message in place; Cancel next to it leaves it unchanged. Whatever you had typed in the composer before starting the edit is restored afterwards. If the queued message starts or is removed while you are editing, the edit ends: changed content moves into the composer when it is empty, and is discarded otherwise.

Commands and skills

Type / for commands or $ to add a skill from the selected environment and provider.

The slash menu also includes skills unless you turn off Settings → Chat → Show skills in slash menu, under Advanced. Only skills enabled for the provider are listed.

After you add or change skills, plugins, or MCP servers, use Restart agent session in the command palette. The conversation continues, and your next message starts the agent again with the new setup.

Provider commands must start the message to run. Ozone commands such as /model and skill mentions work on any line.

Send /compact in an existing conversation to reduce context usage when the provider supports it.

Send /clear on its own, or pick it from the slash menu, to start a fresh session in the same thread. Your next message goes to a new provider session that doesn't see the earlier messages, and the thread marks where it began with New session. Earlier messages and diffs stay in the thread. Dismiss the notice above the composer to keep the current session instead.

Turn on Context window in Settings → Appearance → Thread details to see context usage in the thread details card. It appears once the provider reports usage.

Claude instances can also compact idle threads for you. See compact long conversations.

Goals

With Codex, Claude, and OpenCode 2.2.5 or later, send /goal followed by what "done" means, for example /goal all tests in packages/api pass. The agent keeps working across turns until it judges the goal met. The thread shows Goal while it works, and a line at the end of the thread shows the goal and its progress.

  • /goal alone shows the current goal. /goal clear removes it.
  • Codex and OpenCode also support /goal pause and /goal resume. Stopping their goal pauses it. Codex also pauses when its work ends without meeting the goal.
  • Stopping Claude ends the current turn, but the goal stays set. Claude checks it again at the end of your next message.
  • Sending a new goal, or /goal resume, while the agent works stops the current turn and starts the goal, unless you queue it. /goal clear and /goal pause stop the turn only when it is working on the goal. Other goal commands wait for the turn to end.

Context in your message

Context you attach lands where your cursor is, as a chip inside your text: a terminal excerpt, a review comment from a diff or file, a preview annotation, or a file. You can type before and after a chip, move it by cutting and pasting, and delete it like a character. Hover a chip for its brief details. Select a terminal excerpt to open its captured output, or select a review comment, picked element, or preview annotation to open its full details. Chips read as "Terminal excerpt, Terminal 1 lines 3-4" and similar to screen readers.

A pull request appears as its icon and number. Its color reflects whether it was open, draft, merged, or closed when it was attached. Select it to inspect the captured title and branches, then choose Open pull request to visit the pull request. Type # to browse the newest pull requests in the current project's repository. Pull requests linked to the thread are included from any repository and listed first, after any exact number match. Continue typing digits to filter the recent list by any part of its pull request numbers. A complete number is also resolved directly, even when that pull request is older than the recent list. Type a single word after # to search pull requests in the repository by text. Choose a result to insert it as a chip.

Another thread can be context too. Type @ followed by part of its title to pick one from the same server, or from a machine it links to while the Linked environments beta is on; those show the machine's name. You can also drag a thread out of the sidebar and drop it on the composer; a multi-selection drops together. Copy thread copies a link to the thread that pastes into a composer as its chip. The chip shows the thread's current title and opens it when selected. Your prompt only carries a reference: the agent reads the thread's history on demand, so attaching a long thread costs nothing until the agent looks. Attaching a thread does not change it, and the agent cannot send messages to it unless you ask.

A thread from a linked machine, picked, pasted or dropped, stays a reference that the agent reads on that machine. A pasted link to a thread on any other machine stays a link. Dropping a thread from any other environment attaches a saved transcript file. The source environment must be connected and up to date. The transcript includes the visible history and saved text context at the time of the drop; later messages and the contents of attached files are not copied. The agent can read the saved transcript after the source disconnects. Normal file attachment limits apply.

Type @ and part of a model or provider name, such as @opus, to name that model for the agent, for example when delegating. It does not change the thread's model. Join words with :, / or -, as in @opus:opencode.

Images keep their thumbnail shelf above the text and also get a chip at your cursor, so you can say exactly which image you mean. Deleting an image chip leaves the image on the shelf; removing the thumbnail asks first when the image is still mentioned in your text, then removes both. Files exist only as chips: deleting a file's last chip removes the file from the message.

Copy text that holds chips and paste it into another draft, in the same thread or another one, and the chips come along with what they point to. Images and files are fetched again from the environment they came from; while that happens the chip shows a dashed outline, and if it cannot complete Ozone tells you and leaves the chip for you to remove or replace. A chip whose context is no longer available shows the same dashed outline; hover it for what to do.

Copying a message with the copy button, or copying text out of it, gives other apps readable Markdown with a link in place of each chip. Older messages that were sent before chips still show their context. Stashing a prompt keeps its chips and what they point to; restoring brings them back.

Attached files

Select a file chip in your draft or a sent message to preview it. Code and JSON use syntax highlighting; Markdown, HTML, CSV, and TSV offer rendered and raw views. Audio files have playback controls. Large text files show a limited preview; save the file to read it in full.

Files open beside the conversation with the same controls as a workspace file: a header row with the view toggle, Copy contents and Save file. A ZIP up to 50 MB opens as a folder list.

Images and videos in messages

Select an image or video attachment or link to preview it. Playback support depends on your browser; save an unsupported video to open it in another app.

Right-click media to save it or copy its path or URL.

File links refer to the environment's machine, including when you connect remotely. Previews use the original file, even outside the workspace. Moving or deleting it can break the preview, so save a copy if you need to keep it.

Files outside the workspace

Follow an agent's file link to read a report or other file outside the workspace. These files open read-only. An HTML file outside the workspace cannot load scripts, styles, or images from neighboring files.

HTML and PDF files in the file viewer

HTML and PDF files open as rendered pages. Switch an HTML file to source view to read its markup; a link to a specific line opens source automatically. HTML previews cannot access your Ozone session.

The file viewer recognizes images, HTML, and PDF files by their filename extension, including filenames or folders containing # or ?.