Ask a question to get started
Enter to sendā¢Shift+Enter new line
AgentSelectorScreen( self, current_agent: str | None, agent_names: list[str] )
ModalScreen[str | None]
current_agent
str | None
The name of the currently active agent (to highlight).
May be None when no agent is active.
None
agent_names
list[str]
Sorted list of available agent names to display.
Key bindings for the selector.
Esc dismisses without switching agents. Arrow keys, Enter, and letter navigation are handled natively by the embedded OptionList; Tab / Shift+Tab are bound here to advance the cursor for consistency with other selector screens.
OptionList
Styling for the centered modal shell, title, option list, and help footer.
Compose the screen layout.
Apply ASCII border if needed.
Dismiss with the selected agent name.
Cancel without switching agents.
Move the option list cursor down (Tab).
Move the option list cursor up (Shift+Tab).
Modal dialog for switching between available agents.
Displays agents found in ~/.deepagents/ in an OptionList. Returns the selected agent name on Enter, or None on Esc (no change).
~/.deepagents/