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## Attach files
16
17Attach up to 100 files per message. Each image can be up to 10 MiB, with at most
1880 MiB of images in one message. Other files, including videos, can be up to
1950 MiB each, subject to the environment's upload support and limit. The agent
20receives them on the environment's machine. Provider and model limits still
21apply, including images already in the conversation. A video attachment gives
22the agent a file path; it does not enable native video input.
23
24Uploads begin when you add an attachment. All uploads must finish before the
25message can send. Retry or remove a failed upload. On web and desktop, reloading
26before an upload finishes requires you to attach that file again.
27
28You can drag or paste images into the web or desktop composer. HEIC and HEIF
29photos are converted to JPEG there and when selected from the mobile photo
30library; photos over the image limit are also resized to fit. On mobile, you can
31also send files to T3 Code through another app's system share sheet.
32
33See [images and videos](#images-and-videos-in-messages) for previewing and saving media.
34
35## Send while the agent is working
36
37On web and desktop, choose **Settings → General → Follow-up behavior** to queue
38new messages for a later turn or steer the running turn immediately. The setting
39applies to this client; already queued messages keep their place. Queued messages
40are saved on the server and can be edited, reordered, or removed above the composer.
41`Cmd+Enter` on macOS or `Ctrl+Enter` on Windows and Linux uses the opposite action:
42it steers when your default is Queue and queues when your default is Steer.
43
44Use `Cmd+Shift+Enter` on macOS or `Ctrl+Shift+Enter` on Windows and Linux to send
45the oldest queued message as a steer. This leaves the current draft intact and
46requires an active turn that supports steering. Change
47`thread.steerQueuedMessage` in **Settings → Keybindings** to use another shortcut.
48
49Press `Option+Up` on macOS or `Alt+Up` on Windows and Linux with the cursor at the
50start of the composer to edit the most recently queued message. Change
51`thread.editQueuedMessage` to use another shortcut.
52
53Mobile has the same choice under **Settings → Follow-ups**. While a turn is
54running the send button shows which action it will take. Long-press it to use the
55other action for a single message, or hold `Cmd` while sending from a hardware
56keyboard. The button only offers Steer when the running agent supports it.
57
58## Queue messages offline on mobile
59
60Mobile keeps local copies of draft attachments, so you can preview them and queue
61messages while disconnected. Uploads resume when you reconnect. Drafts and queued
62messages survive app restarts. Signing out of T3 Connect keeps that work on your
63device until you sign back into the same account.
64
65## Custom models
66
67On web and desktop, use Settings → Providers → **Models** to add an unlisted model with a custom
68name and options. Only options supported by the provider integration affect turns. Antigravity
69uses its account catalog and does not support custom models.
70
71## Model defaults
72
73T3 Code remembers your provider, model, and model options for new threads. A
74project's configured model takes precedence; resetting that project setting
75returns to the remembered selection.
76
77Leaving reasoning level or service tier unset uses the provider's own configuration.
78
79## Quote an assistant response
80
81On web and desktop, select text within one assistant response and choose
82**Cite in composer**. You can add a comment about the quote and write instructions
83around it.
84
85Select the quote in a draft or sent message to return to its source. If the source
86is unavailable or has changed, the saved quote remains readable.
87
88The chip shows your comment when it has one, or a short quote preview otherwise. Use the pencil
89button to add or change the comment. To remove the citation, place the caret beside its chip and
90delete it like other inline context. Copying, reloading, and restoring a
91[stashed prompt](#prompt-stash) keep each comment
92with its quote, and sending tells the agent which words were quoted and which comment you wrote.
93The quoted text and comment count toward the message limit.
94
95Mobile displays saved quotes and comments, but does not create citations or
96navigate to their sources.
97
98## Recall a sent prompt
99
100Press `ArrowUp` in an empty composer to bring back the last prompt you sent in this thread. Press
101`ArrowUp` again to go further back, and `ArrowDown` to come forward. Moving forward past the newest
102prompt clears the composer. Recall walks the prompts loaded in the thread. Attachments, terminal
103context, and other extras from the original message are not restored, only the text you typed. A
104composer that holds an attachment or a picked element does not count as empty.
105
106When the composer has text, the arrow keys move the caret as usual. Recall takes over only while
107the text is an unedited recalled prompt, with the caret on the first visual line for `ArrowUp` or
108the last visual line for `ArrowDown`, counting wrapped lines. Editing a recalled prompt turns it
109into a normal draft.
110
111## Edit an earlier prompt
112
113On web and desktop, choose **Edit from here** beneath a sent message to rewind
114the conversation to before that message. Choose **Revert and keep changes** to
115leave workspace files as they are, or **Revert files too** to restore them as well.
116File restore is only offered for threads running in a worktree, and it is
117refused when another thread or agent session also uses that directory, a folder
118inside it, or a folder that contains it, since
119restoring would erase their changes. A thread that works in the project directory
120rewinds the conversation only. The selected prompt and its attachments return to the composer for editing and
121resending. Any unsent draft stays above the restored prompt.
122
123This removes the selected message and later conversation from the active thread
124and provider history. It does not undo external actions or separate provider
125memory. The action is available only when the provider supports rewind.
126
127## Prompt stash
128
129On web and desktop, press `Cmd+S` on macOS or `Ctrl+S` on Windows and Linux to save
130the current prompt and its attachments for later. Wait for uploads to finish first.
131With an empty composer, the same shortcut restores a single stash or opens the
132stash menu when there are several.
133
134Stashes containing uploaded files must be restored in their original environment.
135Those files are retained for 24 hours. After an upload expires, restore the prompt
136and use **Attach again** or remove the missing file before sending.
137
138## Voice input on iPhone
139
140On supported iPhones with iOS 26 or later, use the composer's microphone to record,
141then confirm to transcribe. Text is inserted where your selection was when
142recording started, ready for you to review and edit before sending.
143
144The first use may download Apple's speech model and needs a network connection.
145Later transcription works offline for that language. Recordings can be up to five
146minutes long. Canceling, leaving the screen, or an audio interruption discards the
147recording and preserves your existing draft. While recording, the screen stays
148awake; it can sleep normally once recording stops.
149
150Transcription runs on your device. T3 Code deletes the temporary audio after
151transcription or cancellation; only the message text is sent when you submit.
152
153## Queued messages
154
155On web and desktop, the composer shows **Interrupt** while the agent is working and the draft is
156empty. Adding text or attachments replaces it with a steer arrow. Click it to send a message into
157the active turn, or press `Enter` on desktop. Hold `Cmd` on macOS or `Ctrl` on Windows and Linux to
158switch the button to a queue icon. Click while holding that key, or press `Cmd+Enter` or
159`Ctrl+Enter` on desktop, to queue the message for after the active turn.
160
161Queued messages appear above the composer. Rows show a thumbnail of any attached image alongside
162the text. Drag a row by its handle to reorder it, use the handle's arrow keys, promote the message
163to a steer, or remove it.
164
165If the server restarts, saved queued messages keep their order and are held. Press
166**Resume** in an empty composer on web or desktop, or **Resume queue** in the queue
167sheet on mobile, to continue. You can edit, reorder, or remove held messages without starting them.
168
169The pencil on a queued row opens that message in the composer for editing. The original message
170stays in the queue until you save, and its row is highlighted while you edit. The message's
171attachments appear above the text with a remove control, and new images can be added the usual way.
172The checkmark saves the queued message in place; **Cancel** on its row leaves it unchanged. Whatever
173you had typed in the composer before starting the edit is restored afterwards. If the queued
174message starts or is removed while you are editing, the edit ends: changed content moves into the
175composer when it is empty, and is discarded otherwise.
176
177## Commands and skills
178
179Type `/` for commands or `$` to add a skill from the selected environment and
180provider. On mobile, both are also available before starting a thread on
181**New task**.
182
183The slash menu also includes skills unless you turn off **Settings → General →
184Show skills in slash menu**. Only skills enabled for the provider are listed.
185
186After you add or change skills, plugins, or MCP servers, use **Restart agent
187session** in the command palette on web and desktop. The conversation continues,
188and your next message starts the agent again with the new setup.
189
190Provider commands must start the message to run. T3 Code commands such as
191`/model` and `/plan`, and skill mentions, work on any line.
192
193Send `/compact` in an existing conversation to reduce context usage when the
194provider supports it. Web and desktop also offer compaction from the context meter.
195
196## Context in your message
197
198Context you attach lands where your cursor is, as a chip inside your text: a terminal excerpt,
199a review comment from a diff or file, a preview annotation, or a file. You can type before and
200after a chip, move it by cutting and pasting, and delete it like a character. Hover a chip for
201its brief details. Select a terminal excerpt to open its captured output, or select a review
202comment, picked element, or preview annotation to open its full details. Chips read as "Terminal
203excerpt, Terminal 1 lines 3-4" and similar to screen readers.
204
205A pull request appears as its icon and number. Its color reflects whether it was open, draft,
206merged, or closed when it was attached. Select it to inspect the captured title and branches,
207then choose **Open pull request** to visit the pull request. On web and desktop, type `#` to browse the newest
208pull requests in the current project's repository. Continue typing digits to filter the recent list
209by any part of its pull request numbers. A complete number is also resolved directly, even when that
210pull request is older than the recent list. Type a single word after `#` to search pull requests in
211the repository by text. Choose a result to insert it as a chip.
212
213Another thread can be context too. Type `@` followed by part of its title to pick one from
214the same server, or on web and desktop drag a thread out of the sidebar and drop it on the
215composer; a multi-selection drops together. The chip shows the thread's current title and
216opens it when selected. Your prompt only carries a reference: the agent reads the thread's
217history on demand, so attaching a long thread costs nothing until the agent looks. Attaching a
218thread does not change it, and the agent cannot send messages to it unless you ask.
219
220Images keep their thumbnail shelf above the text and also get a chip at your cursor, so you can
221say exactly which image you mean. Deleting an image chip leaves the image on the shelf; removing
222the thumbnail asks first when the image is still mentioned in your text, then removes both. Files
223exist only as chips: deleting a file's last chip removes the file from the message.
224
225Copy text that holds chips and paste it into another draft, in the same thread or another one,
226and the chips come along with what they point to. Images and files are fetched again from the
227environment they came from; while that happens the chip shows a dashed outline, and if it cannot
228complete T3 Code tells you and leaves the chip for you to remove or replace. A chip whose
229context is no longer available shows the same dashed outline; hover it for what to do.
230
231Copying a message with the copy button, or copying text out of it, gives other apps readable
232Markdown with a link in place of each chip. Older messages that were sent before chips still
233show their context. Stashing a prompt keeps its chips and what they point to; restoring brings
234them back.
235
236On mobile, tap a chip to inspect its content. File references open the current file; attached
237files show the copy that was attached to the message.
238
239## Attached files
240
241Select a file chip in your draft or a sent message to preview it. Code and JSON use syntax
242highlighting; Markdown, HTML, CSV, and TSV offer rendered and raw views. Audio files have
243playback controls. Large text files show a limited preview; save the file to read it in full.
244
245On web and desktop, files open beside the conversation with the same controls as a workspace
246file: a header row with the view toggle, **Copy contents** and **Save file**. On mobile, documents
247open in the same file screen as workspace files; its menu holds **Copy contents**, **Save or
248share** and **Open in file viewer**. Pictures, videos and PDFs keep their native viewers, and
249other document formats such as Word or Pages open in the device's own viewer when it has one.
250If nothing on the device can show a format, save or share it to open it elsewhere.
251
252## Images and videos in messages
253
254Select an image or video attachment or link to preview it. Playback support depends
255on your browser or device; save an unsupported video to open it in another app.
256
257On web and desktop, right-click media to save it or copy its path or URL. On mobile,
258touch and hold an image or video thumbnail and choose **Save or share**. On iOS,
259return to the thumbnail to open this menu after watching a full-screen video.
260
261File links refer to the environment's machine, including when you connect remotely.
262Previews use the original file, even outside the workspace. Moving or deleting it
263can break the preview, so save a copy if you need to keep it.
264
265## Files outside the workspace
266
267Follow an agent's file link to read a report or other file outside the workspace.
268These files open read-only. An HTML file outside the workspace cannot load scripts,
269styles, or images from neighboring files.
270
271## HTML and PDF files in the file viewer
272
273On web and desktop, HTML and PDF files open as rendered pages. Switch an HTML
274file to source view to read its markup; a link to a specific line opens source
275automatically. HTML previews cannot access your T3 Code session.
276
277On mobile, select a PDF attachment or link to open it. iOS uses the native viewer;
278Android opens a compatible installed file viewer.