Keybindings
Keyboard shortcuts across lists, session view, diff mode, prompt input, and question input.
This page lists keyboard shortcuts for each Agentty view. In the app, press ?, shown as ?: help in the top bar, to list the shortcuts available on the current page; close it with Esc or q, and scroll long lists with j / k.
For session states and behavior, see Workflow.
Session List🔗
| Key | Action |
|---|---|
q | Quit after confirmation |
a | Check hooks, then open the session creation selector |
s | Sync active project branch |
r | Sync all running and review-ready sessions |
c | Cancel selected session after confirmation |
Enter | Open session, or load more / show less archive rows |
j / k | Navigate sessions |
p | Open project switcher popup |
Tab / Shift+Tab | Switch to next / previous tab |
? | Help |
The archive shows the 10 most recently updated sessions; Load more... adds 10 more and Show less... returns to the first 10. The archive heading counts all archived sessions in the project. Switching projects resets the archive window.
If configured hooks are missing, a warns first: Enter continues and Esc / q cancels. See Session Types and Project Sync.
The p popup lists projects in most-recently-opened order, marks the active one with * , and shows ▶ N for projects with running sessions. Use j / k to move, Enter to switch projects, and Esc or q to close.
Project List🔗
| Key | Action |
|---|---|
q | Quit after confirmation |
s | Sync active project branch |
a | Add project by path |
d | Discover projects in a folder |
Enter | Select active project |
j / k | Navigate projects |
Tab / Shift+Tab | Switch to next / previous tab |
? | Help |
In path popups, Enter submits and Esc cancels. In discovery results, j / k navigate, Space selects a repository, Enter saves the selection, and Esc discards it. In the startup discovery popup, y scans your home directory and n / Esc skips. See Projects and Discovery.
The active project has a * prefix and accented row text.
Settings🔗
| Key | Action |
|---|---|
q | Close an editor or selector first; otherwise quit |
s | Sync project |
j / k | Navigate rows or options |
Enter | Open selection, advance a role picker, or save |
Esc | Close selection or cancel an edit |
a | Add a launch command |
e | Edit selected launch command |
d | Delete selected launch command |
J / K | Move launch command down / up |
Tab / Shift+Tab | Next / previous tab |
? | Help |
Role pickers ask for model, reasoning, and, for Claude or Codex, speed. See Settings Scope.
Platform🔗
See Agentty Platform and Remote Control.
| Key | Action |
|---|---|
q | Quit after confirmation |
s | Sync active project branch |
Enter | Sign in and connect, cancel a sign-in, check the account, or start/stop |
o | Open the sign-in page or the pairing link in this browser |
c | Copy the sign-in page link or the pairing link |
a | Turn keep on on or off once the account check has answered |
p | Choose the active project's Sync project while Sync is on |
l | Sign out |
y | Approve the oldest pairing request |
x | Deny the oldest pairing request |
n | Replace the pairing code |
j / k | Move between paired devices |
d | Remove the selected device |
Tab / Shift+Tab | Switch to next / previous tab |
? | Help |
While signing in, o and c act on the sign-in page. Once this Agentty is registered, Enter starts or stops remote control through the platform's relay for this launch, y and x answer pairing requests, j / k or the arrow keys and d act on the paired devices, and, while remote control runs, n, o, and c act on its pairing link. With keep on, remote control through the platform starts whenever Agentty starts; see Keep Remote Control On.
In the Sync project picker that p opens, j / k or the arrow keys move, Enter chooses the highlighted row, and Esc or q closes it; see Choose a Sync project.
Session View🔗
Available actions depend on the session state. The full set in Review, subject to session and forge availability:
| Key | Action |
|---|---|
q | Back to list |
Enter | Compose a reply |
/ | Open composer with / prefilled |
o | Run a launch configuration in the worktree (tmux) |
p | Publish branch and create or refresh review request |
c | Show linked review-request comments |
d | Show diff in any state, including live edits |
w | Inspect saved execution graphs |
N | Show the session's shared notes |
n | Reply to the next waiting graph item instead |
u | Show token usage and estimated cost |
f | Show, generate, or regenerate focused review |
F | Fork session with copied transcript history |
W | Watch an open review request, or stop watching |
m | Add to merge queue or merge ready PR, if confirmed |
r | Sync session branch |
j / k | Scroll output |
g / G | Scroll to top / bottom |
Ctrl+d / Ctrl+u | Half page down / up |
T | Inspect the ag-harness trajectory |
? | Help |
State-specific differences:
- AgentReview:
rcancels the pending review and starts sync. - Watching: Same as Review;
Wstops watching. See Watching a Review Request. - InProgress:
Enter,r, andpqueue a message, sync, or publishing.Ctrl+Cretracts the newest queued message, then stops the turn.Ctrl+ssends queued chat into the running turn when the harness supports it; see Active Turns. - InProgress / Rebasing: Slash commands offer only settings and
/usage; see Active Turns. - Rebasing:
Enterandpqueue work; cancellation is unavailable. - Draft:
Enterstages,sstarts, and image-paste keys open the composer. - Waiting on the platform's Sync: after a conflict,
ttakes the task over andnstarts separate work; after a restart that interrupted the check,sasks again. See Sync. - Question: Answer through the question panel;
ris hidden. - Several graph items waiting for a reply:
nmoves the reply the composer title names to the next waiting item, wrapping around; see Several Graphs. After a Sync conflict,nstarts separate work instead. - Linked review request:
copens comments.mmerges the pull request instead of adding the session to the local merge queue, only while it shows[ready]or[ready (bypass)]; see Merging a Pull Request. - Merged: Read-only chat, comments, and diff until manual target sync completes.
- Done / Canceled:
cconfirms a continuation draft and linked comments are hidden;dshows the archived diff. - Queued / Merging: Navigation, scrolling, diff, and help only.
Remote Confirmation🔗
Publishing, syncing on a fetched base, merging a pull request, and syncing the project's branch with s ask first when the remote is not confirmed; see Confirming the remote.
| Key | Action |
|---|---|
y | Confirm the shown addresses, or take the project's |
k | Keep the project's remote, when the prompt offers it |
n / Esc | Cancel; the prompt starts focused on cancel |
Tab / Shift+Tab, ← / → | Move the focus between the options |
Enter | Pick the focused option |
Usage Panel🔗
Press u from session view or run /usage in the composer; see Session Usage.
| Key | Action |
|---|---|
j / ↓ | Scroll down one line when the panel overflows |
k / ↑ | Scroll up one line |
PgDn / PgUp | Scroll down / up one page |
Esc | Close and return to the view or composer |
Session Notes Panel🔗
Press N from session view or the execution graph inspector; see Session Notes.
| Key | Action |
|---|---|
j / ↓ | Scroll down one line when the panel overflows |
k / ↑ | Scroll up one line |
PgDn / PgUp | Scroll down / up one page |
x | Clear the whole document after typing clear |
Enter | Confirm clearing once the input reads clear |
Esc | Cancel clearing, or close and return to the page |
q | Close and return to the page, outside the input |
Trajectory Page🔗
Press T from session view; see Session Trajectory.
| Key | Action |
|---|---|
j / k | Move through the tree, or scroll the focused inspector |
h / l | Collapse / expand a node, or go to its parent / child |
Enter | Toggle a turn or tool call; inspect any other node |
H / L | Collapse / expand every node |
g / G | Jump to the first / last row |
PgDn / PgUp | Move or scroll by a page |
Tab / Shift+Tab | Switch focus between the tree and the inspector |
/ | Filter rows by text; Enter keeps it, Esc clears it |
Esc | Leave the inspector, then clear the filter, then go back |
q | Back to the session view |
Execution Graph Inspector🔗
Press w from session view. Actions appear only when the displayed snapshot supports them; see Workflow.
| Key | Action |
|---|---|
[ / ] | Previous / next graph |
p | Return to the pending proposal |
j / k, Down / Up | Select node |
r | Refresh graph state |
N | Show the session's shared notes |
o | Inspect next output |
J / K, PageDown / PageUp | Scroll details |
Home | Scroll to top |
a | Accept the displayed output version |
e | Reply to or revise the selected task |
t | Retry selected failed node, or only the commit of an uncommitted one |
d | Withdraw unstarted node, or discard its worktree |
c | Confirm stopping the selected running node |
s | Resume paused graph dispatch |
b | Add provider calls to a spent budget, or raise the chat's call pool when none is selected |
x | Confirm cancellation of the whole graph |
f | List ignored worktree directories to free |
v | Open the selected node's pull request in the browser |
O | Switch the session's orchestrator, and its automatic turns, off or on |
Enter | Submit graph input |
Ctrl+r | Refresh and reconcile a rejected draft |
PageUp / PageDown in input | Scroll the editor notice |
Alt+Enter / Shift+Enter | Insert newline in graph input |
Esc | Cancel graph input, or return to session view |
q | Return to session view while outside graph input |
On a stopped standalone node, or on any standalone node once its session has merged or been canceled, d discards its worktree and branch instead, asking you to type discard first when it holds commits or uncommitted changes.
v opens the pull request of the selected standalone node, or its merge request on GitLab, only at the address your repository's own remote gives that number; any other stored address is refused with a notice. See Generated Graph Proposals.
f lists the ignored directories your committed .gitignore files name in the session's parked worktrees, with their sizes, and deletes them only once you type reclaim; see Generated Graph Proposals.
Review Comments in Diff Mode🔗
Press c in session view to open linked review comments, grouped as unresolved, outdated, resolved, and standalone. The right pane shows the selected conversation and any available line context.
| Key | Action |
|---|---|
q / Esc | Return to session view |
j / k | Select previous/next comment |
f | Focus the Files section |
Up / Down | Scroll selected comment info |
Space | Toggle the selected actionable thread |
Enter | Submit all selected threads to the agent |
[ ] marks an actionable thread and [x] a selected one. Submitting needs a reply-capable session. See Addressing Review Comments.
Diff Mode🔗
d opens Files. Focus a patch with Enter or l, comment on changed lines, then submit all comments with s.
| Key | Action |
|---|---|
q | Back to session |
Esc | Focus Files, or leave from Files |
j / k | Select a file, changed line, or inline comment |
Shift+j / Shift+k | Scroll selected file, or select a diff row |
Shift+C | Comment on the selected whole file |
Shift+V | Start visual changed-row selection |
Alt+Enter / Shift+Enter | Insert a comment newline |
Enter | Focus a file, or edit/finish a comment |
l | Focus the selected file's changes |
Up / Down | Scroll file/preview, or select a diff row |
Left / h / f | Return to Files |
p | Toggle markdown preview |
c | Focus linked review comments |
s | Submit all diff comments |
? | Help |
After Shift+V, move to extend the range and press Enter to comment or Esc to cancel. Finish a comment with Enter or Esc; finishing with empty text deletes it. In comments, @ opens file lookup: arrows choose, Tab / Enter insert, and Esc dismisses. Leaving with unsent comments opens a Submit diff comments? preview: Yes submits, No leaves and keeps them, and Esc stays. Read-only diffs hide commenting.
The panel and file tree show added and removed line totals, hidden when names need the space. A, M, D, and R mark added, modified, deleted, and renamed files; binary files show Binary.
For Markdown files, p previews the complete post-change file and stays on while you switch files; other files keep showing diffs.
Shared Text Editing🔗
Prompt, question, graph, publish-branch, and launch-configuration inputs share these keys. Open completion menus and question options take precedence.
| Key | Action |
|---|---|
Left / Right | Move one character |
Option+Left / Shift+Left / Alt+B | Move to previous word |
Option+Right / Shift+Right / Alt+F | Move to next word |
Home / End | Move to start / end of input |
Cmd+Left / Cmd+Right | Move to start / end of current line |
Ctrl+A / Ctrl+E | Move to start / end of current line |
Backspace / Delete, Ctrl+D | Delete backward / forward |
Option+Backspace / Shift+Backspace | Delete previous word |
Ctrl+Backspace / Ctrl+W | Delete previous word |
Cmd+Backspace / Ctrl+U | Delete current line |
Ctrl+K | Delete to end of current line |
Ctrl+Z | Undo |
Ctrl+Y / Ctrl+Shift+Z | Redo |
On macOS, undo uses Ctrl+Z; terminals such as Ghostty may consume Cmd+Z. Cmd, Option, and modified Enter shortcuts need the terminal to forward them. Otherwise use Ctrl+U, Ctrl+W, or Ctrl+J for a newline. Single-line inputs keep only the first line of pasted text.
Inside tmux, Agentty sets the server's extended-keys-format to csi-u and turns extended-keys on when it is off, so modified keys such as Shift+Enter reach the input; an extended-keys change applies after reattaching. tmux cannot forward Cmd, so use the Ctrl alternatives there.
Inside tmux, Agentty also takes mouse reports, so wheel scrolling works whatever the tmux mouse option says. Drag to select screen text; releasing the button copies it through tmux to the terminal clipboard. Pressing a key or scrolling before the release cancels the selection. Click a link to open it. Hold Shift while dragging to use the terminal's own selection instead. Outside tmux, the terminal handles the wheel, selection, and links itself.
Publish Popup🔗
| Key | Action |
|---|---|
Enter | Publish the typed or default branch in the background |
Esc | Cancel and return to session view |
| text keys | Edit the remote branch name, including q |
ChatGPT Sign-In Popup🔗
Opens from the Harness /model list on a chatgpt/ model that needs a sign-in, or when sending a prompt on such a model. It shows the sign-in URL in case the browser does not open.
| Key | Action |
|---|---|
Enter | Open the browser sign-in, or close the finished result |
Esc | Cancel, including a running sign-in, and return to the draft |
API Key Popup🔗
Opens from the Harness /model list on a hosted model whose provider has no stored key. The pasted key stays masked; see Harness API keys.
| Key | Action |
|---|---|
| paste or text keys | Enter the key on one line |
Enter | Save the key, or close the saved result |
Esc | Cancel without saving and return to the composer |
Launch Configuration Selector🔗
| Key | Action |
|---|---|
j / k | Move selection |
Enter | Open worktree and run selected command |
Esc / q | Cancel and return to session view |
Prompt Input🔗
Prompt input also supports shared text editing.
| Key | Action |
|---|---|
Enter | Send prompt or stage it in a draft |
Alt+Enter / Shift+Enter | Insert newline |
Ctrl+J / Ctrl+M | Insert newline (terminal fallback) |
Up / Down | Move between lines, then browse history |
Ctrl+V / Ctrl+Shift+V / Alt+V | Paste image as [Image #n] |
Esc / Ctrl+C | Cancel |
Tab | Focus chat output for scrolling |
@ | Open file picker |
/ | Open slash commands |
j / k / Up / Down | Navigate and wrap slash menu |
/graph arms the composer: Enter submits your task and Esc disarms it, keeping the draft. See Generated Graph Proposals.
With chat focused, scroll with j / k or arrows, jump with g / G, or move half a page with Ctrl+D / Ctrl+U. d previews changes, Tab returns to input, and q returns to the list with the draft saved. Other keys, including Ctrl+C, are ignored. See Prompt Input Extras for images and file lookup.
Question Input — Option Selection🔗
When predefined options are shown:
| Key | Action |
|---|---|
j / k / Up / Down | Navigate options |
Enter | Send highlighted option |
Tab | Focus chat output for scrolling |
q | Return to sessions list |
Ctrl+C | End turn or close graph panel |
Question Input — Free Text🔗
After moving past the option list, or when there are no options, the answer input supports shared text editing and:
| Key | Action |
|---|---|
Enter | Send response; blank means no answer |
Alt+Enter / Shift+Enter | Insert newline |
Ctrl+J / Ctrl+M | Insert newline (terminal fallback) |
Ctrl+V / Ctrl+Shift+V / Alt+V | Paste image as [Image #n] |
@ | Look up files |
Ctrl+C | End turn or close graph panel |
Tab | Focus chat output for scrolling |
In file lookup, arrows select a match, Tab / Enter insert it without sending, and Esc dismisses. Every other printable character, including q, goes into the answer; to leave without answering, press Tab and then q, or press Ctrl+C.
Question Input — Chat Scroll🔗
When chat output is focused (press Tab to switch):
| Key | Action |
|---|---|
j / k / Up / Down | Scroll chat output |
g / G | Scroll to top / bottom |
Ctrl+d / Ctrl+u | Half page down / up |
d | Open diff or diagnostic |
Tab | Return focus to answer input |
q | Return to sessions list |
After the last answer, Agentty sends one follow-up with every question and response. Leaving with q keeps the session in Question with submitted answers and the current draft, so reopening resumes at the next unanswered question.