Open History to see the last commit
1# Messages and context
2
3Give the agent a task in the composer. Add files, quote a previous response, or
4include a skill when the task needs more context.
5
6Messages can contain up to 120,000 characters. Longer drafts stay in the composer
7so you can shorten them or split them into several messages.
8
9Pasting 32 KiB or more of text adds that fragment as a text-file attachment so
10the agent can inspect it without filling the model context. A smaller paste also
11becomes an attachment when inserting it would exceed the message limit. On a
12hardware keyboard, use `Cmd+Shift+V` on Apple devices or `Ctrl+Shift+V` elsewhere
13to keep a large paste editable in the composer instead.
14
15## Formatting
16
17The composer writes Markdown and shows it styled as you type. Markers such as
18`**` stay in the text and show beside the styled words when your cursor is on
19them. Lines starting with `- `, `1. `, `- [ ] `, `> `, `# ` or `---` become lists,
20task lists, quotes, headings and rules; ` ``` ` followed by Enter opens a code
21block. What you typed is what the agent receives, markers and numbering
22included, and `#1234` without a space still looks up a pull request.
23
24Enter sends. In a list or quote, **Shift+Enter** continues it, and Shift+Enter
25on an empty line moves out one level, then leaves it; **Tab** nests a list item
26under the one above and **Shift+Tab** moves it back out. In a code block, Enter
27starts a new line at the current indentation, **Tab** and **Shift+Tab** indent
28the selected lines, and a closing ` ``` ` followed by Enter, or two blank lines
29at the end, leave the block. **Backspace** at the start of a code block turns it
30back into plain lines. Choose the language in a code block's corner to change
31it. Very large code blocks are shown without syntax highlighting.
32
33## Attach files
34
35Attach up to 100 files per message. Each image can be up to 10 MiB, with at most
3680 MiB of images in one message. Other files, including videos, can be up to
3750 MiB each, subject to the environment's upload support and limit. The agent
38receives them on the environment's machine. Provider and model limits still
39apply, including images already in the conversation. A video attachment gives
40the agent a file path; only [Antigravity](./providers-antigravity.md#skills-and-attachments)
41sends supported videos to Gemini models as video.
42
43Uploads begin when you add an attachment. All uploads must finish before the
44message can send. Retry or remove a failed upload. On web and desktop, reloading
45before an upload finishes requires you to attach that file again.
46
47You can drag or paste images into the web or desktop composer. HEIC and HEIF
48photos are converted to JPEG there and when selected from the mobile photo
49library; photos over the image limit are also resized to fit. On mobile, you can
50also send files to T3 Code through another app's system share sheet.
51On Android, you can also drag images from another app into the message input
52in split screen.
53
54See [images and videos](#images-and-videos-in-messages) for previewing and saving media.
55
56## Send while the agent is working
57
58On web and desktop, choose **Settings → Chat → Follow-up behavior** to queue
59new messages for a later turn or steer the running turn immediately. The setting
60applies to this client; already queued messages keep their place. Queued messages
61are saved on the server and can be edited or removed before they send.
62When Enter sends, `Cmd+Enter` on macOS or `Ctrl+Enter` on Windows and Linux uses
63the opposite action: it steers when your default is Queue and queues when your
64default is Steer.
65If your **Send shortcut** requires `Cmd+Enter` or `Ctrl+Enter`, that shortcut uses
66your default follow-up behavior; add **Shift** to use the opposite action. This
67applies only to multiline messages when you choose the multiline send option.
68
69Use `Cmd+Shift+Enter` on macOS or `Ctrl+Shift+Enter` on Windows and Linux to send
70the oldest queued message as a steer. This leaves the current draft intact and
71requires an active turn that supports steering. If that shortcut sends the opposite
72action for your draft, move focus outside the composer to steer the queued message. Change
73`thread.steerQueuedMessage` in **Settings → Keybindings** to use another shortcut.
74
75Press `Option+Up` on macOS or `Alt+Up` on Windows and Linux with the cursor at the
76start of the composer to edit the most recently queued message. Change
77`thread.editQueuedMessage` to use another shortcut.
78
79Mobile has the same choice under **Settings → Chat**. While a turn is
80running the send button shows which action it will take. Long-press it to use the
81other action for a single message, or hold `Cmd` while sending from a hardware
82keyboard. The button only offers Steer when the running agent supports it.
83
84## Queue messages offline on mobile
85
86Mobile keeps local copies of draft attachments, so you can preview them and queue
87messages while disconnected. Uploads resume when you reconnect. Drafts and queued
88messages survive app restarts. Signing out of T3 Connect keeps that work on your
89device until you sign back into the same account.
90
91## Custom models
92
93On web and desktop, use Settings → Providers → **Models** to add an unlisted model with a custom
94name and options. Only options supported by the provider integration affect turns. Antigravity
95uses its account catalog and does not support custom models.
96
97To rename a built-in model on every client, edit the server's `settings.json` in its `userdata`
98directory. Add a custom model entry with the built-in model ID and a new name under that provider
99instance:
100
101```json
102{
103 "providerInstances": {
104 "codex": {
105 "driver": "codex",
106 "config": { "customModels": [{ "slug": "gpt-5.5", "name": "Team GPT" }] }
107 }
108 }
109}
110```
111
112## Model defaults
113
114T3 Code remembers your provider, model, and model options for new threads. A
115project's configured model takes precedence; resetting that project setting
116returns to the remembered selection.
117
118Leaving reasoning level or service tier unset uses the provider's own configuration.
119
120## Quote an assistant response
121
122On web and desktop, select text within one assistant response and choose
123**Cite in composer**. You can add a comment about the quote and write instructions
124around it.
125
126Select the quote in a draft or sent message to return to its source. If the source
127is unavailable or has changed, the saved quote remains readable.
128
129The chip shows your comment when it has one, or a short quote preview otherwise. Use the pencil
130button to add or change the comment. To remove the citation, place the caret beside its chip and
131delete it like other inline context. Copying, reloading, and restoring a
132[stashed prompt](#prompt-stash) keep each comment
133with its quote, and sending tells the agent which words were quoted and which comment you wrote.
134The quoted text and comment count toward the message limit.
135
136Mobile displays saved quotes and comments, but does not create citations or
137navigate to their sources.
138
139## Recall a sent prompt
140
141Press `ArrowUp` in an empty composer to bring back the last prompt you sent in this thread. Press
142`ArrowUp` again to go further back, and `ArrowDown` to come forward. Moving forward past the newest
143prompt clears the composer. Recall walks the prompts loaded in the thread. Attachments, terminal
144context, and other extras from the original message are not restored, only the text you typed. A
145composer that holds an attachment or a picked element does not count as empty.
146
147When the composer has text, the arrow keys move the caret as usual. Recall takes over only while
148the text is an unedited recalled prompt, with the caret on the first visual line for `ArrowUp` or
149the last visual line for `ArrowDown`, counting wrapped lines. Editing a recalled prompt turns it
150into a normal draft.
151
152## Edit an earlier prompt
153
154On web and desktop, choose **Edit from here** beneath a sent message to rewind
155the conversation to before that message. Choose **Revert and keep changes** to
156leave workspace files as they are, or **Revert files too** to put the workspace back
157to its checkpoint from before that message. That also undoes edits you made yourself.
158File restore is only offered for threads running in a worktree, and it is
159refused when another thread or agent session also uses that directory, a folder
160inside it, or a folder that contains it, since
161restoring would erase their changes. A thread that works in the project directory
162rewinds the conversation only. The selected prompt and its attachments return to the composer for editing and
163resending. Any unsent draft stays above the restored prompt.
164
165This removes the selected message and later conversation from the active thread
166and provider history. It does not undo external actions or separate provider
167memory. The action is available only when the provider supports rewind.
168
169## Prompt stash
170
171On web and desktop, press `Cmd+S` on macOS or `Ctrl+S` on Windows and Linux to save
172the current prompt and its attachments for later. Wait for uploads to finish first.
173With an empty composer, the same shortcut restores a single stash or opens the
174stash menu when there are several.
175
176Stashes containing uploaded files must be restored in their original environment.
177Those files are retained for 24 hours. After an upload expires, restore the prompt
178and use **Attach again** or remove the missing file before sending.
179
180## Voice input on mobile
181
182On supported iPhones with iOS 26 or later and Android devices with Android 12 or
183later, use the composer's microphone to record, then confirm to transcribe. Text is
184inserted where your selection was when recording started, ready for you to review
185and edit before sending.
186
187Voice input uses on-device speech transcription: Apple's on iOS, and compatible
188Google speech services on Android. When it is unavailable for the device or its
189language, the composer has no microphone button and **Settings → Microphone** says
190voice input isn't available. On Android, keep T3 Code open while recording and
191transcribing.
192
193The first use may download a speech model and needs a network connection.
194Later transcription works offline for that language. On Android, transcription
195processes the full recording at roughly its original duration. Recordings can be up to five
196minutes long. Canceling or an audio interruption discards the recording and
197preserves your existing draft. Navigating to another screen keeps dictation active;
198use the floating controls to finish or cancel. While recording, the screen stays
199awake; it can sleep normally once recording stops.
200
201Choose a preferred order in **Settings → Microphone**. Voice input requests the first
202connected microphone in the list. The list mixes kinds (built-in, other wired, other
203Bluetooth, and CarPlay on iOS) with wired and Bluetooth devices you have dictated
204with, listed by name. Drag to rank them together:
205for example, put **Other Bluetooth** above your AirPods so a new headset is preferred
206while the AirPods microphone stays low. By default, CarPlay comes after the built-in
207microphone on iOS. Swipe a device left to forget it. Android may use another input
208when the preferred microphone cannot be routed. Devices with the same name may share
209a saved preference, but simultaneous same-name inputs remain separately selectable.
210
211Transcription runs on your device. T3 Code deletes the temporary audio after
212transcription or cancellation; only the message text is sent when you submit.
213
214## Queued messages
215
216On web and desktop, the composer shows **Interrupt** while the agent is working and the draft is
217empty. Adding text or attachments replaces it with a send button that shows your
218[Follow-up behavior](#send-while-the-agent-is-working): a queue icon for Queue or a steer arrow for
219Steer. Click it or press your send shortcut to use that action. Hold `Cmd` on macOS or `Ctrl` on
220Windows and Linux to switch the button to the opposite action, then click, or use the opposite-action
221shortcut described above.
222
223On web and desktop, queued messages appear at the end of the thread as dashed messages that have
224not been sent yet. On mobile they appear above the composer. Each shows its text and any attached
225images. **Send now** sends a message right away, into the running turn if there is one. You can
226also edit or remove it.
227
228If you stop the agent or the server restarts, queued messages keep their order and are held.
229Press **Resume** in an empty composer to continue. **Resume** also continues a stopped
230run or one that hit a usage limit, even with nothing queued. Sending a new message also resumes the queue, unless it steers a turn that is already
231running. You can edit or remove held messages without starting them.
232
233The pencil on a queued message opens it in the composer for editing. The original message
234stays in the queue until you save, and it is highlighted while you edit. The message's
235attachments appear above the text with a remove control, and new images can be added the usual way.
236The checkmark saves the queued message in place; **Cancel** next to it leaves it unchanged. Whatever
237you had typed in the composer before starting the edit is restored afterwards. If the queued
238message starts or is removed while you are editing, the edit ends: changed content moves into the
239composer when it is empty, and is discarded otherwise.
240
241## Commands and skills
242
243Type `/` for commands or `$` to add a skill from the selected environment and
244provider. On mobile, both are also available before starting a thread on
245**New task**.
246
247The slash menu also includes skills unless you turn off **Settings → Chat →
248Show skills in slash menu**, under Advanced. Only skills enabled for the provider are listed.
249
250After you add or change skills, plugins, or MCP servers, use **Restart agent
251session** in the command palette on web and desktop. The conversation continues,
252and your next message starts the agent again with the new setup.
253
254Provider commands must start the message to run. T3 Code commands such as
255`/model` and `/plan`, and skill mentions, work on any line.
256
257Send `/compact` in an existing conversation to reduce context usage when the
258provider supports it, even with the context meter turned off.
259
260On web and desktop, turn on **Settings → Labs → Legacy → Context
261window indicator (legacy)** to see context usage. The meter is off by default
262and appears once the provider reports usage. Open it for usage details and
263**Compact context** when the provider supports compaction.
264
265Claude instances can also compact idle threads for you. See
266[compact long conversations](./providers-claude.md#compact-long-conversations).
267
268## Goals
269
270With Codex and Claude, send `/goal` followed by what "done" means, for example
271`/goal all tests in packages/api pass`. The agent keeps working across turns
272until it judges the goal met. The thread shows **Goal** while it works, and a
273line at the end of the thread (above the composer on mobile) shows the goal and
274its progress.
275
276- `/goal` alone shows the current goal. `/goal clear` removes it.
277- Codex also supports `/goal pause` and `/goal resume`. Stopping a Codex goal
278 pauses it, and so does Codex ending its work without meeting the goal.
279- Stopping Claude ends the current turn, but the goal stays set. Claude checks it
280 again at the end of your next message.
281- Sending a new goal, or `/goal resume`, while the agent works stops the current
282 turn and starts the goal, unless you queue it. `/goal clear` and `/goal pause`
283 stop the turn only when it is working on the goal. Other goal commands wait for
284 the turn to end.
285
286## Context in your message
287
288Context you attach lands where your cursor is, as a chip inside your text: a terminal excerpt,
289a review comment from a diff or file, a preview annotation, or a file. You can type before and
290after a chip, move it by cutting and pasting, and delete it like a character. Hover a chip for
291its brief details. Select a terminal excerpt to open its captured output, or select a review
292comment, picked element, or preview annotation to open its full details. Chips read as "Terminal
293excerpt, Terminal 1 lines 3-4" and similar to screen readers.
294
295A pull request appears as its icon and number. Its color reflects whether it was open, draft,
296merged, or closed when it was attached. Select it to inspect the captured title and branches,
297then choose **Open pull request** to visit the pull request. On web and desktop, type `#` to browse the newest
298pull requests in the current project's repository. Pull requests linked to the thread are included
299from any repository and listed first, after any exact number match. Continue typing digits to filter the recent list
300by any part of its pull request numbers. A complete number is also resolved directly, even when that
301pull request is older than the recent list. Type a single word after `#` to search pull requests in
302the repository by text. Choose a result to insert it as a chip.
303
304Another thread can be context too. Type `@` followed by part of its title to pick one from
305the same server, or from a machine it links to while the Linked environments beta is on; those
306show the machine's name. On web and desktop you can also drag a thread out of the sidebar and
307drop it on the composer; a multi-selection drops together. On any client, **Copy thread** copies a
308link to the thread that pastes into a composer as its chip. The chip shows the thread's
309current title and opens it when selected. Your prompt only carries a reference: the agent reads the thread's
310history on demand, so attaching a long thread costs nothing until the agent looks. Attaching a
311thread does not change it, and the agent cannot send messages to it unless you ask.
312
313A thread from a linked machine, picked, pasted or dropped, stays a reference that the agent reads
314on that machine. A pasted link to a thread on any other machine stays a link. Dropping a thread
315from any other environment attaches a saved transcript file. The source
316environment must be connected and up to date. The transcript includes the visible history and
317saved text context at the time of the drop; later messages and the contents of attached files
318are not copied. The agent can read the saved transcript after the source disconnects. Normal
319file attachment limits apply.
320
321Images keep their thumbnail shelf above the text and also get a chip at your cursor, so you can
322say exactly which image you mean. Deleting an image chip leaves the image on the shelf; removing
323the thumbnail asks first when the image is still mentioned in your text, then removes both. Files
324exist only as chips: deleting a file's last chip removes the file from the message.
325
326Copy text that holds chips and paste it into another draft, in the same thread or another one,
327and the chips come along with what they point to. Images and files are fetched again from the
328environment they came from; while that happens the chip shows a dashed outline, and if it cannot
329complete T3 Code tells you and leaves the chip for you to remove or replace. A chip whose
330context is no longer available shows the same dashed outline; hover it for what to do.
331
332Copying a message with the copy button, or copying text out of it, gives other apps readable
333Markdown with a link in place of each chip. Older messages that were sent before chips still
334show their context. Stashing a prompt keeps its chips and what they point to; restoring brings
335them back.
336
337On mobile, tap a chip to inspect its content. File references open the current file; attached
338files show the copy that was attached to the message.
339
340## Attached files
341
342Select a file chip in your draft or a sent message to preview it. Code and JSON use syntax
343highlighting; Markdown, HTML, CSV, and TSV offer rendered and raw views. Audio files have
344playback controls. Large text files show a limited preview; save the file to read it in full.
345
346On web and desktop, files open beside the conversation with the same controls as a workspace
347file: a header row with the view toggle, **Copy contents** and **Save file**. On mobile, documents
348open in the same file screen as workspace files; its menu holds **Copy contents**, **Save or
349share** and **Open in file viewer**. Pictures, videos and PDFs keep their native viewers, and
350other document formats such as Word or Pages open in the device's own viewer when it has one.
351If nothing on the device can show a format, save or share it to open it elsewhere. A ZIP up to
35250 MB opens as a folder list on every surface; on mobile, select a file inside it to preview,
353save, or add it to chat.
354
355## Images and videos in messages
356
357Select an image or video attachment or link to preview it. Playback support depends
358on your browser or device; save an unsupported video to open it in another app.
359
360On web and desktop, right-click media to save it or copy its path or URL. On mobile,
361touch and hold an image or video thumbnail and choose **Save or share**. On iOS,
362return to the thumbnail to open this menu after watching a full-screen video.
363
364File links refer to the environment's machine, including when you connect remotely.
365Previews use the original file, even outside the workspace. Moving or deleting it
366can break the preview, so save a copy if you need to keep it.
367
368## Files outside the workspace
369
370Follow an agent's file link to read a report or other file outside the workspace.
371These files open read-only. An HTML file outside the workspace cannot load scripts,
372styles, or images from neighboring files.
373
374## HTML and PDF files in the file viewer
375
376On web and desktop, HTML and PDF files open as rendered pages. Switch an HTML
377file to source view to read its markup; a link to a specific line opens source
378automatically. HTML previews cannot access your T3 Code session.
379
380The file viewer recognizes images, HTML, and PDF files by their filename extension,
381including filenames or folders containing `#` or `?`.
382
383On mobile, select a PDF attachment or link to open it. iOS uses the native viewer;
384Android opens a compatible installed file viewer.