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🔗

KeyAction
qQuit after confirmation
aCheck hooks, then open the session creation selector
sSync active project branch
rSync all running and review-ready sessions
cCancel selected session after confirmation
EnterOpen session, or load more / show less archive rows
j / kNavigate sessions
pOpen project switcher popup
Tab / Shift+TabSwitch 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🔗

KeyAction
qQuit after confirmation
sSync active project branch
aAdd project by path
dDiscover projects in a folder
EnterSelect active project
j / kNavigate projects
Tab / Shift+TabSwitch 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🔗

KeyAction
qClose an editor or selector first; otherwise quit
sSync project
j / kNavigate rows or options
EnterOpen selection, advance a role picker, or save
EscClose selection or cancel an edit
aAdd a launch command
eEdit selected launch command
dDelete selected launch command
J / KMove launch command down / up
Tab / Shift+TabNext / 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.

KeyAction
qQuit after confirmation
sSync active project branch
EnterSign in and connect, cancel a sign-in, check the account, or start/stop
oOpen the sign-in page or the pairing link in this browser
cCopy the sign-in page link or the pairing link
aTurn keep on on or off once the account check has answered
pChoose the active project's Sync project while Sync is on
lSign out
yApprove the oldest pairing request
xDeny the oldest pairing request
nReplace the pairing code
j / kMove between paired devices
dRemove the selected device
Tab / Shift+TabSwitch 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:

KeyAction
qBack to list
EnterCompose a reply
/Open composer with / prefilled
oRun a launch configuration in the worktree (tmux)
pPublish branch and create or refresh review request
cShow linked review-request comments
dShow diff in any state, including live edits
wInspect saved execution graphs
NShow the session's shared notes
nReply to the next waiting graph item instead
uShow token usage and estimated cost
fShow, generate, or regenerate focused review
FFork session with copied transcript history
WWatch an open review request, or stop watching
mAdd to merge queue or merge ready PR, if confirmed
rSync session branch
j / kScroll output
g / GScroll to top / bottom
Ctrl+d / Ctrl+uHalf page down / up
TInspect the ag-harness trajectory
?Help

State-specific differences:

  • AgentReview: r cancels the pending review and starts sync.
  • Watching: Same as Review; W stops watching. See Watching a Review Request.
  • InProgress: Enter, r, and p queue a message, sync, or publishing. Ctrl+C retracts the newest queued message, then stops the turn. Ctrl+s sends 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: Enter and p queue work; cancellation is unavailable.
  • Draft: Enter stages, s starts, and image-paste keys open the composer.
  • Waiting on the platform's Sync: after a conflict, t takes the task over and n starts separate work; after a restart that interrupted the check, s asks again. See Sync.
  • Question: Answer through the question panel; r is hidden.
  • Several graph items waiting for a reply: n moves the reply the composer title names to the next waiting item, wrapping around; see Several Graphs. After a Sync conflict, n starts separate work instead.
  • Linked review request: c opens comments. m merges 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: c confirms a continuation draft and linked comments are hidden; d shows 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.

KeyAction
yConfirm the shown addresses, or take the project's
kKeep the project's remote, when the prompt offers it
n / EscCancel; the prompt starts focused on cancel
Tab / Shift+Tab, ← / →Move the focus between the options
EnterPick the focused option

Usage Panel🔗

Press u from session view or run /usage in the composer; see Session Usage.

KeyAction
j / ↓Scroll down one line when the panel overflows
k / ↑Scroll up one line
PgDn / PgUpScroll down / up one page
EscClose and return to the view or composer

Session Notes Panel🔗

Press N from session view or the execution graph inspector; see Session Notes.

KeyAction
j / ↓Scroll down one line when the panel overflows
k / ↑Scroll up one line
PgDn / PgUpScroll down / up one page
xClear the whole document after typing clear
EnterConfirm clearing once the input reads clear
EscCancel clearing, or close and return to the page
qClose and return to the page, outside the input

Trajectory Page🔗

Press T from session view; see Session Trajectory.

KeyAction
j / kMove through the tree, or scroll the focused inspector
h / lCollapse / expand a node, or go to its parent / child
EnterToggle a turn or tool call; inspect any other node
H / LCollapse / expand every node
g / GJump to the first / last row
PgDn / PgUpMove or scroll by a page
Tab / Shift+TabSwitch focus between the tree and the inspector
/Filter rows by text; Enter keeps it, Esc clears it
EscLeave the inspector, then clear the filter, then go back
qBack to the session view

Execution Graph Inspector🔗

Press w from session view. Actions appear only when the displayed snapshot supports them; see Workflow.

KeyAction
[ / ]Previous / next graph
pReturn to the pending proposal
j / k, Down / UpSelect node
rRefresh graph state
NShow the session's shared notes
oInspect next output
J / K, PageDown / PageUpScroll details
HomeScroll to top
aAccept the displayed output version
eReply to or revise the selected task
tRetry selected failed node, or only the commit of an uncommitted one
dWithdraw unstarted node, or discard its worktree
cConfirm stopping the selected running node
sResume paused graph dispatch
bAdd provider calls to a spent budget, or raise the chat's call pool when none is selected
xConfirm cancellation of the whole graph
fList ignored worktree directories to free
vOpen the selected node's pull request in the browser
OSwitch the session's orchestrator, and its automatic turns, off or on
EnterSubmit graph input
Ctrl+rRefresh and reconcile a rejected draft
PageUp / PageDown in inputScroll the editor notice
Alt+Enter / Shift+EnterInsert newline in graph input
EscCancel graph input, or return to session view
qReturn 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.

KeyAction
q / EscReturn to session view
j / kSelect previous/next comment
fFocus the Files section
Up / DownScroll selected comment info
SpaceToggle the selected actionable thread
EnterSubmit 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.

KeyAction
qBack to session
EscFocus Files, or leave from Files
j / kSelect a file, changed line, or inline comment
Shift+j / Shift+kScroll selected file, or select a diff row
Shift+CComment on the selected whole file
Shift+VStart visual changed-row selection
Alt+Enter / Shift+EnterInsert a comment newline
EnterFocus a file, or edit/finish a comment
lFocus the selected file's changes
Up / DownScroll file/preview, or select a diff row
Left / h / fReturn to Files
pToggle markdown preview
cFocus linked review comments
sSubmit 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.

KeyAction
Left / RightMove one character
Option+Left / Shift+Left / Alt+BMove to previous word
Option+Right / Shift+Right / Alt+FMove to next word
Home / EndMove to start / end of input
Cmd+Left / Cmd+RightMove to start / end of current line
Ctrl+A / Ctrl+EMove to start / end of current line
Backspace / Delete, Ctrl+DDelete backward / forward
Option+Backspace / Shift+BackspaceDelete previous word
Ctrl+Backspace / Ctrl+WDelete previous word
Cmd+Backspace / Ctrl+UDelete current line
Ctrl+KDelete to end of current line
Ctrl+ZUndo
Ctrl+Y / Ctrl+Shift+ZRedo

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🔗

KeyAction
EnterPublish the typed or default branch in the background
EscCancel and return to session view
text keysEdit 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.

KeyAction
EnterOpen the browser sign-in, or close the finished result
EscCancel, 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.

KeyAction
paste or text keysEnter the key on one line
EnterSave the key, or close the saved result
EscCancel without saving and return to the composer

Launch Configuration Selector🔗

KeyAction
j / kMove selection
EnterOpen worktree and run selected command
Esc / qCancel and return to session view

Prompt Input🔗

Prompt input also supports shared text editing.

KeyAction
EnterSend prompt or stage it in a draft
Alt+Enter / Shift+EnterInsert newline
Ctrl+J / Ctrl+MInsert newline (terminal fallback)
Up / DownMove between lines, then browse history
Ctrl+V / Ctrl+Shift+V / Alt+VPaste image as [Image #n]
Esc / Ctrl+CCancel
TabFocus chat output for scrolling
@Open file picker
/Open slash commands
j / k / Up / DownNavigate 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:

KeyAction
j / k / Up / DownNavigate options
EnterSend highlighted option
TabFocus chat output for scrolling
qReturn to sessions list
Ctrl+CEnd 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:

KeyAction
EnterSend response; blank means no answer
Alt+Enter / Shift+EnterInsert newline
Ctrl+J / Ctrl+MInsert newline (terminal fallback)
Ctrl+V / Ctrl+Shift+V / Alt+VPaste image as [Image #n]
@Look up files
Ctrl+CEnd turn or close graph panel
TabFocus 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):

KeyAction
j / k / Up / DownScroll chat output
g / GScroll to top / bottom
Ctrl+d / Ctrl+uHalf page down / up
dOpen diff or diagnostic
TabReturn focus to answer input
qReturn 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.