π OpenHands: AI-Driven Development
F13 β Agent profiles
Settings β Agent is a library of named agent profiles. Each profile is either an
OpenHands agent (an LLM profile, a system prompt, a Model Router, a tool set,
parallel tool calls, MCP-server and secret scopes, condenser, verification and
skills) or an ACP external agent (a preset such as Claude Code, Codex, Gemini
CLI, Pi or OpenCode, its launch command, a model the agent itself reports, and
provider credentials). One profile is active; new conversations started from
Home launch from it by id, the seeded default included. On a local backend the
OpenHands default shares its LLM, MCP servers, secrets and skills with the
global pages (the active LLM profile, the servers switched on in MCP Servers,
every secret, the Skills page list), cannot be renamed or deleted, and is the
template a new profile copies its other settings from.
Source: src/routes/agent-profiles-settings.tsx, src/routes/agent-settings.tsx, src/components/features/settings/agent-profiles/, src/components/features/settings/acp-credentials-section.tsx, src/components/features/settings/acp-conflict-warnings.tsx, src/components/features/settings/acp-auth-status-banner.tsx, src/constants/acp-providers.ts, src/constants/acp-brand-marks.ts, src/hooks/query/use-acp-model-discovery.ts, src/hooks/query/use-skill-catalog.ts, src/hooks/mutation/use-create-conversation.ts, src/hooks/mutation/resolve-conversation-launch.ts, src/hooks/mutation/use-new-conversation-command.ts, src/hooks/mutation/sync-agent-profiles.ts, src/hooks/use-chat-input-llm-profile-state.ts, src/api/agent-profiles-service/profile-field-support.ts.
Sub-features
F13.list: under Available Profiles, rows (sorted by name) show the profile name, then its LLM profile (OpenHands) orACP (external subprocess), an Active badge on the active profile and a...menu (Edit, Set as active, Delete).F13.create: Add agent profile opens the editor; Save toastsProfile "<name>" createdand the row is listed after a reload. A new OpenHands profile starts fromdefault's system prompt, Model Router, parallel tool calls, tools, condenser, verification and skills; its MCP servers and secrets start unrestricted and its LLM picker on the active LLM profile.F13.name-validation: a fresh Add editor's empty name is not flagged (Save disabled); once typed, an empty or malformed name marks the field invalid (red rule) and disables Save; a name another profile already has also marks the field invalid, shows a red taken-name message about agent profiles under it (the rule stays grey) and disables Save (Edit accepts the profile's own name).F13.editor-no-llm: with no LLM profiles, an OpenHands profile showsCreate an LLM profile first to define an OpenHands agent.and Save toastsSelect an LLM profile for this agent.without creating anything.F13.openhands-options: OpenHands profiles offer an LLM profile dropdown right under the agent type (the active LLM profile by default), a System prompt choice (OpenHands default,Default + your instructionsorCustom persona, each saved on the profile), Parallel tool calls (default 1, minimum 1) and Tools:Standard tools(default) lists the server's standard set read-only,Choose toolsturns the server's tool catalog into switches; values persist and reopen.F13.edit: Edit reopens the stored values with Save disabled until something changes; renaming keeps the profile id; Back and Cancel leave without saving. On a local backend thedefaultname field is disabled withThe default profile can't be renamed or deleted.under it.F13.stale-llm-ref: editing a profile whose LLM profile no longer exists preselects the active LLM profile and enables Save, so saving heals the reference; launching it unhealed keeps the profile and runs the active LLM profile (launched_agent_profile.llm_profile_ref).F13.set-active: Set as active toastsSwitched to profile "<name>", moves the Active badge and is disabled on the active row.F13.active-drives-conversation: a conversation started from Home, or with/newtyped in a conversation's composer, after activation launches from that profile (its id and settings are stamped on the conversation:launched_agent_profile.agent_profile_id, tools, parallel tool calls, condenser, router, skills); with an ACP profile active,/newstarts an ACP agent. The seeded OpenHandsdefaultlaunches by id the same way, on the active LLM profile.F13.llm-pill-precedence: the Home LLM pill shows the active agent profile's LLM. On a named profile it shows that profile's own LLM profile, a pick there saves to the profile (the active LLM profile is unchanged) and the launch runs it; ondefaultit shows the active LLM profile and a pick activates another one, whichdefaultthen runs.F13.default-shared: on a local backend the OpenHandsdefaulteditor shows every section, with notes where it shares a global page: LLM (The default profile uses the active LLM profile. Picking another one here makes it active.), MCP servers (The default profile uses the servers switched on in MCP Servers. β¦), Secrets (The default profile always has every secret., no picker) and Skills (The default profile's skills are the Skills page list. β¦).F13.profile-router: an OpenHands profile has a Model Router dropdown:Off(default for a new profile whendefaulthas none) or one of the saved routers; saving storesmeta_profile_refandenable_classify_and_switch_llm_tool, and a launch getsroute_task_to_model(plus the first-message instruction while F12's Run on first message is on). A router that no longer exists stays selected with a red warning; a profile with routing on but no router named opens onAlphabetically first router. Deleting a router on the Model Router page detaches it from every profile. Local only.F13.profile-skills: an OpenHands profile has a Skills section listing the server's skill catalog (each labelledCatalogorYour skill) with a search box; switches savepublic_skills/disabled_skills, and a launch loads only the switched-on skills (repository skills always load). Local only.F13.mcp-scope: MCP servers offers All servers (every configured server listed, switched on and disabled) or Choose servers (a switch per configured server); the choice persists; a chosen server that was removed stays listed with a red warning, and launching with it is refused.F13.secrets-scope: Secrets offers No profile restriction (every switch on and disabled) or Choose secrets; on an ACP profile, Choose preselects that provider's secret names; the selection persists.F13.acp-form: choosing ACP (external subprocess) shows Preset, Command, Credentials and Model; each preset prefills its command and its model choice (Agent default, or Gemini CLI's preferredgemini-2.5-pro), Custom empties the command and disables Save until one is typed, typing a preset's exact command selects that preset, and the Model list's Custom opens a free-text model field.F13.acp-local-presets: on a local backend the Preset list also offers Pi and OpenCode (with their own commands and credentials); a profile saved on them storesacp_serverpi/opencodewithacp_commandnull. On Cloud both are hidden (blocked here).F13.acp-model-discovery: for a built-in preset with its default command the Model list comes from the agent:Asking <agent> which models it offersβ¦while the agent-server asks it, then its models withAgent default (<model>)first; an agent that wants a login saysSign in or add credentials above to see the models <agent> offers., one that cannot start says<agent>'s models appear here after your first conversation with it. β¦; a picked model is saved asacp_modeland reopens selected.F13.acp-credentials: built-in presets show a Credentials section (password fields), an auth banner (signed in / configured), a conflict warning for mutually exclusive Claude credentials, andAlready saved β leave blank to keepfor stored values. Credentials are saved as global secrets.F13.acp-preset-credentials: the Credentials fields follow the preset: Claude CodeCLAUDE_CODE_OAUTH_TOKEN,ANTHROPIC_API_KEY,ANTHROPIC_BASE_URL; CodexOPENAI_API_KEY,CODEX_AUTH_JSON(multi-line),OPENAI_BASE_URL; Gemini CLIGOOGLE_APPLICATION_CREDENTIALS_JSON(multi-line),GOOGLE_CLOUD_PROJECT,GOOGLE_CLOUD_LOCATION,GOOGLE_GENAI_USE_VERTEXAI,GEMINI_API_KEY,GEMINI_BASE_URL; PiPI_AUTH_JSON(multi-line),ANTHROPIC_API_KEY; OpenCodeOPENCODE_AUTH_CONTENT(multi-line),OPENCODE_API_KEY; Custom has no Credentials section. With no host login and no stored credential (Gemini here) no auth banner shows.F13.menu-keyboard: opening the row's...menu focuses Edit; ArrowDown/ArrowUp move focus between the enabled items (wrapping, and skipping the disabled Set as active on the active row and the disabled Delete on the localdefault), Enter runs the focused item, and Tab, Escape or a click outside close the menu.F13.delete: Delete asks for confirmation; Cancel keeps the row, Delete removes it. Deleting the active profile selectsdefaultimmediately. On a local backenddefault's Delete is disabled (its title readsThe default profile can't be renamed or deleted.).F13.phone: the list, row menu and editor fit a 390 px viewport without horizontal overflow.F13.acp-conversation: a conversation launched from an active ACP profile runs the external agent. Blocked without an approved provider account.F13.cloud-read-only: on a Cloud backend, organization members see rows without the...menu or Add agent profile. Blocked without a Cloud account.
How to get to it (user POV)
- Sidebar settings gear (
backend-selector-settings-link): on desktop/settingsredirects to/settings/agents. In the settings navigation, Agent (sidebar-settings-/settings/agents). - Direct URL
/settings/agents; the retired/settings/agentredirects there. - Command menu (
Control+k/Meta+korcommand-menu-trigger): Agent settings. - Getting-started checklist Customize your agent and the composer + β Switch agent profile β Manage agent profiles (both mapped in F09/F05).
- On Home, the composer + β Switch agent profile list activates a profile like Set as active (F05.agent-profile-switch).
- All per-profile actions are in the row's
...menu (agent-profile-menu-trigger). The editor has no route: it replaces the list in place.
Driving it with control-openhands
Preconditions:
Baseline state (launched, doctored,
onboard --skipdone) on a fresh run.F13.editor-no-llmmust run beforecontrol-openhands llm preset deepseek; everything fromF13.stale-llm-refon needs the preset (deepseek-flashactive,deepseek-pro).A fresh run has one profile,
default, active, whose LLM profile isdefault(which does not exist).control-openhands api GET /api/agent-profilesshows it. On first load the UI migrates the global settings into it once (misc_settings.app_preferences.default_profile_migratedtrue;api GET /api/agent-profiles/defaultthen carriespublic_skills,condenserandverification).F13.profile-routerneeds two routers: createQA_router(classifierdeepseek-flash, theF12.create-firstprompt and a two-line table namingdeepseek-flashanddeepseek-pro) andQA_router_2through Settings β Model Router (F12).F13.mcp-scopeneeds two configured MCP servers. Arrange them withcontrol-openhands api POST /api/settings/mcp/qa_mcp_a --data '{"transport":"stdio","command":"qa-no-such-command","enabled":false}' --writeand the same forqa_mcp_b.F13.acp-conversationneeds the provider's agent CLI and an approved account;F13.cloud-read-onlyneeds a Cloud organization member login. Both are blocked here.Dropdowns are autocompletes. Pick an option with
control-openhands browser choose 'testid=<testid>' '<label>'(proven onagent-type-selector,agent-preset-selector,agent-model-selector(Custom),agent-profile-llm-selector,agent-settings-mcp-modeandagent-settings-secrets-mode). The manual opener,control-openhands browser click 'div:has(> div > input[data-testid=<testid>]) >> role=button[name="Show suggestions"]'thenbrowser click 'role=option[name="<label>"]', works for most of them but is flaky right after an editor opens (see Gotchas); clicking the input itself can open an empty, filtered list.List (
F13.list). From/runcontrol-openhands browser click 'testid=backend-selector-settings-link' --expect-url '/settings', thencontrol-openhands browser url(/settings/agents) andcontrol-openhands browser text 'testid=agent-profile-row':default, its LLM profiledefault,Activeon three lines. Open its menu (browser click 'testid=agent-profile-menu-trigger'):control-openhands browser snapshot 'testid=agent-profile-actions-menu'isEdit,Set as active [disabled],Delete [disabled], andcontrol-openhands browser attr 'testid=agent-profile-delete' titleisThe default profile can't be renamed or deleted.(screenshot--feature F13.delete --name default-locked-menu);browser press Escape.control-openhands browser count 'testid=agent-profile-active-badge'is1;control-openhands browser screenshot --feature F13.list --name list. Command menu: runcontrol-openhands browser goto /(the browser is on/settings/agents, where the URL wait would pass at once),control-openhands browser press Control+k,control-openhands browser type 'testid=command-menu >> role=combobox' 'Agent settings',control-openhands browser press Enter,control-openhands browser wait-url '/settings/agents(\?|$)'. Legacy URL:control-openhands browser goto /settings/agentreturns.../settings/agents.No LLM profile (
F13.editor-no-llm). Before the preset, runcontrol-openhands browser click 'testid=add-agent-profile', thencontrol-openhands browser text 'testid=agent-profile-no-llm':Create an LLM profile first to define an OpenHands agent.control-openhands browser text 'testid=agent-profile-editor-title'isAdd agent profileandcontrol-openhands browser text 'testid=agent-profile-editor-description'isConfigure the agent below, then click Save to create this profile.. Runcontrol-openhands browser fill 'testid=agent-profile-name-input' QA_NoLlm; Save turns enabled (control-openhands browser enabled 'testid=save-agent-profile-btn'). Clicktestid=save-agent-profile-btnand runcontrol-openhands browser toasts:Select an LLM profile for this agent.api GET /api/agent-profileslists noQA_NoLlm. Leave withcontrol-openhands browser click 'testid=cancel-agent-profile-btn'.Name rules (
F13.name-validation). In a fresh Add editor, before typing,browser attr 'testid=agent-profile-name-input' aria-invalidisfalseand Save is disabled. Then filltestid=agent-profile-name-inputwithQA_ok,'',defaultand'bad name!'in turn; after each runcontrol-openhands browser attr 'testid=agent-profile-name-input' aria-invalidandcontrol-openhands browser enabled 'testid=save-agent-profile-btn'. Results:QA_okβfalse/true;''βtrue/false;default(duplicate) βtrue/false;'bad name!'βtrue/false. An untouched editor does not flag its empty name (false/false). The rule under the field is always shown (grey) and turns the theme danger colour (text-danger, #18199) while the name is invalid; it readsProfile name must start with a letter or digit, and contain only letters, digits, dots, underscores, or hyphens (max 64 characters). For the duplicate,control-openhands browser count 'role=alert >> text=already exists'is1: the alert is the field's description, in the danger colour (rgb(231, 106, 94)on OpenHands-Neutral,rgb(209, 52, 56)on Light+), while the rule text stays grey. It readsAn agent profile with this name already exists. Choose a different name, or edit the existing one.Takecontrol-openhands browser screenshot --feature F13.name-validation --name duplicatewithdefaultfilled. In Edit the same message appears for another profile's name and not for the profile's own name (F13.edit).ACP form (
F13.acp-form). In the Add editor runcontrol-openhands browser click 'testid=agent-type-selector'andcontrol-openhands browser click 'role=option[name="ACP (external subprocess)"]'.control-openhands browser value 'testid=agent-preset-selector'isClaude Code,browser value 'testid=agent-command-input'isnpx -y --prefer-offline @agentclientprotocol/[email protected]andbrowser value 'testid=agent-model-selector'isAgent default;agent-profile-no-llmis gone (ACP needs no LLM profile). The preset list (control-openhands browser click 'div:has(> div > input[data-testid=agent-preset-selector]) >> role=button[name="Show suggestions"]', thencontrol-openhands browser snapshot 'role=listbox') isClaude Code,Codex,Gemini CLI,Pi,OpenCode,Custom(browser press Escape). PickCodexandGemini CLIfromtestid=agent-preset-selector: the command becomesnpx -y --prefer-offline @agentclientprotocol/[email protected]/npx -y --prefer-offline @google/[email protected] --acpand the modelAgent default/gemini-2.5-pro(the models come from the agent since #18131:F13.acp-model-discovery). PickCustom: the command is empty and Save is disabled.control-openhands browser fill 'testid=agent-command-input' 'npx -y qa-custom-acp --stdio'enables Save. Filling the exact Codex command flips the preset toCodex; appending--verboseflips it back toCustom. Model override: with a built-in preset, runcontrol-openhands browser choose 'testid=agent-model-selector' 'Custom'(or open the model list with its toggle button andcontrol-openhands browser click 'role=option[name="Custom"][exact]');control-openhands browser count 'testid=agent-model-input'is1and empty. The Custom preset showsagent-model-inputdirectly (no model list).Create an ACP profile (
F13.create). With presetCustom, filltestid=agent-profile-name-inputwithQA_acp_custom,testid=agent-command-inputwith'npx -y qa-custom-acp --stdio'andtestid=agent-model-inputwithqa-model, clicktestid=save-agent-profile-btn, thencontrol-openhands browser wait-text 'Profile "QA_acp_custom" created' --timeout 10000,control-openhands browser reloadandcontrol-openhands browser text 'testid=agent-profile-row >> has-text=QA_acp_custom':QA_acp_custom/ACP (external subprocess).control-openhands api GET /api/agent-profiles/QA_acp_customshowsacp_servercustom, the command andacp_modelqa-model.Pi and OpenCode presets (
F13.acp-local-presets). For each ofOpenCodeandPi: runcontrol-openhands browser click 'testid=add-agent-profile',control-openhands browser choose 'testid=agent-type-selector' 'ACP (external subprocess)'andcontrol-openhands browser choose 'testid=agent-preset-selector' '<preset>'.browser value 'testid=agent-command-input'isnpx -y --prefer-offline [email protected] acp/npx -y --prefer-offline [email protected] --package=@earendil-works/[email protected] pi-acp(the versions follow@openhands/typescript-client). Filltestid=agent-profile-name-inputwithQA_opencode/QA_pi, runcontrol-openhands browser wait 'testid=agent-model-discovering' --state detached --timeout 120000, clicktestid=save-agent-profile-btnandcontrol-openhands browser wait-text 'Profile "<name>" created' --timeout 10000.control-openhands api GET /api/agent-profiles/<name>hasacp_serveropencode/pi,acp_commandnullandacp_modelnull, and afterbrowser reloadboth rows read<name>/ACP (external subprocess). Cloud hides both presets (blocked here: needs a Cloud backend).Models from the agent (
F13.acp-model-discovery). In a new ACP editor, each built-in preset pick first shows (unless a successful lookup for that preset and secret set is cached, about 5 minutes: OpenCode then skips it)control-openhands browser text 'testid=agent-model-discovering'Asking <agent> which models it offersβ¦(the agent-server runs the agent CLI through npx forPOST /api/acp/models; the first lookup can take a minute while npx downloads it). Wait withcontrol-openhands browser wait 'testid=agent-model-discovering' --state detached --timeout 120000, then readcontrol-openhands browser testids --hidden --filter agent-model. In this sandbox (no Claude, Codex, Gemini or Pi login for the agent-server): Claude Code fails to start and showsagent-model-list-after-first-conversation(Claude Code's models appear here after your first conversation with it. You can also switch models from the chat.); Codex, Gemini CLI and Pi need a login and showagent-model-discovery-needs-auth(Sign in or add credentials above to see the models <agent> offers.), with the model left atAgent default(gemini-2.5-profor Gemini);<run>/private/stack.loglogsACP model discovery failed: server=<key> code=ACPInitError|ACPAuthRequired. OpenCode needs no key:browser value 'testid=agent-model-selector'isAgent default (OpenCode/Big Pickle)and the list (open it withbrowser click 'div:has(> div > input[data-testid=agent-model-selector]) >> role=button[name="Show suggestions"]', thenbrowser snapshot 'role=listbox') has that entry, a non-empty list of the models OpenCode reports live (it follows OpenCode's live catalog, such asOpenCode/Big PickleandOpenCode/Beam Free) andCustom(screenshot--feature F13.acp-model-discovery --name opencode-models). EditQA_opencode: Save is disabled untilcontrol-openhands browser choose 'testid=agent-model-selector' 'OpenCode/Beam Free'(or another listed model than the default); Save (Profile "QA_opencode" updated) storesacp_modelopencode/beam-free, and reopening showsOpenCode/Beam Freewith Save disabled. With a savedOPENAI_API_KEY(even a dummy,F13.acp-credentials) Codex lists its models and showsAgent default (GPT-6-Astra). Lookups never add a conversation to the list (api GET "/api/conversations/search?limit=20"stays empty).Edit and rename (
F13.edit). Runcontrol-openhands browser click 'testid=agent-profile-row >> has-text=QA_acp_custom >> testid=agent-profile-menu-trigger';control-openhands browser snapshot 'testid=agent-profile-actions-menu'listsEdit,Set as active,Delete. Clicktestid=agent-profile-edit: the title isEdit agent profile, the descriptionEditing profile "QA_acp_custom" - save to apply changes, the type/preset/command/model values are the stored ones, and Save is disabled. Note theidfromapi GET /api/agent-profiles, fill the name withQA_acp_renamed, click Save,control-openhands browser wait-text 'Profile "QA_acp_renamed" updated' --timeout 10000andbrowser reload:browser count 'testid=agent-profile-row >> has-text=QA_acp_custom'is0, the renamed row is1andapi GET /api/agent-profilesshows the same id under the new name. Back/Cancel: open any editor, change a field, clicktestid=back-to-agent-profiles(ortestid=cancel-agent-profile-btn);browser count 'testid=add-agent-profile'is1and the API is unchanged.Credentials (
F13.acp-credentials). In a new ACP editor with presetClaude Code,control-openhands browser testids --hidden --filter acplistssettings-acp-secret-CLAUDE_CODE_OAUTH_TOKEN,-ANTHROPIC_API_KEY,-ANTHROPIC_BASE_URLand one banner (settings-acp-auth-detectedwhen the agent-server machine has a Claude CLI login:You're already signed in to Claude Code β you can leave the fields below blank.).control-openhands browser attr 'testid=settings-acp-secret-ANTHROPIC_API_KEY' typeispassword. Fillsettings-acp-secret-CLAUDE_CODE_OAUTH_TOKENwithqa-dummy-oauthandsettings-acp-secret-ANTHROPIC_API_KEYwithqa-dummy-key;control-openhands browser text 'testid=acp-credential-conflict-warning'isSetting ANTHROPIC_API_KEY alongside CLAUDE_CODE_OAUTH_TOKEN breaks its authentication β leave one of them blank.(screenshot--feature F13.acp-credentials --name conflictafterbrowser scroll 'testid=acp-credential-conflict-warning'). In every theme the banner text reaches 4.5:1: the detected banner (settings-acp-auth-detected) uses success text on a success tint (Light+ about 5.2:1) and the configured banner (settings-acp-auth-configured) neutral text on the raised surface (Light+ about 14:1); screenshot--feature F13.acp-credentials --name detected-banner-lightplus. Cancel;api GET /api/settings/secretsgains nothing. Saved credential: new profileQA_codex, ACP, presetCodex, filltestid=settings-acp-secret-OPENAI_API_KEYwithqa-dummy-openai, Save (Profile "QA_codex" created);api GET /api/settings/secretsnow listsOPENAI_API_KEYand the profile hasacp_servercodex,acp_commandnull,acp_modelnull(the agent's own default since #18131). Reopen it:control-openhands browser testids --hidden --filter settings-acp-authshowssettings-acp-auth-configured(Credentials for Codex are configured β you can leave the fields below blank.) andcontrol-openhands browser attr 'testid=settings-acp-secret-OPENAI_API_KEY' placeholderisAlready saved β leave blank to keepwith an empty value.Secrets scope (
F13.secrets-scope). In theQA_codexeditor,control-openhands browser eval "[...document.querySelectorAll('[data-testid=agent-settings-secret-list] input')].map(i=>i.closest('li').innerText.split('\n')[0]+'='+i.checked+(i.disabled?'(disabled)':''))"shows every name=true(disabled)underNo profile restriction. Opentestid=agent-settings-secrets-mode,control-openhands browser click 'role=option[name="Choose secrets"]'and rerun the eval:OPENHANDS_AUTOMATION_API_KEY=false,OPENAI_API_KEY=true,CODEX_AUTH_JSON=true,OPENAI_BASE_URL=true. Save (Profile "QA_codex" updated);api GET /api/agent-profiles/QA_codexhas those three insecret_refs, and afterbrowser reloadand Edit the mode and switches are the same. On an OpenHands profile, Choose starts with nothing selected; a switch toggles by its name: in the Add editor pickChoose secrets, thencontrol-openhands browser click 'testid=agent-settings-secret-list >> text=OPENHANDS_AUTOMATION_API_KEY'turnsdocument.querySelector('[data-testid=agent-settings-secret-OPENHANDS_AUTOMATION_API_KEY]').checkedfromfalsetotrue.Stale LLM reference (
F13.stale-llm-ref). Aftercontrol-openhands llm preset deepseek, runcontrol-openhands browser reload, open[data-testid=agent-profile-row]:has([title="default"]) >> testid=agent-profile-menu-triggerβtestid=agent-profile-edit,control-openhands browser wait 'testid=agent-profile-llm-selector'.browser value 'testid=agent-profile-llm-selector'isdeepseek-flash (deepseek/deepseek-flash)and Save is enabled although nothing was touched. Save (Profile "default" updated),browser reload: the row readsdefault/deepseek-flash/Activeandapi GET /api/agent-profiles/defaulthasllm_profile_refdeepseek-flashwith the same id. Screenshot--feature F13.stale-llm-ref --name fallbackbefore saving.Shared
default(F13.default-shared,F13.edit). In that samedefaulteditor (before saving),control-openhands browser enabled 'testid=agent-profile-name-input'isfalseandcontrol-openhands browser text 'testid=agent-profile-default-locked-note'isThe default profile can't be renamed or deleted..control-openhands browser testids 'testid=agent-settings-screen' --hidden --filter notelistsagent-profile-llm-default-note,agent-settings-mcp-default-note,agent-settings-secrets-default-noteandagent-settings-skills-default-note(texts in Sub-features);browser count 'testid=agent-settings-secrets-mode'is0(no secrets picker), andagent-settings-router-select(Off),agent-settings-condenserandagent-settings-verificationare present (screenshot--feature F13.default-shared --name default-editor).Stale reference at launch (
F13.stale-llm-ref). Launch half: an LLM profile that an agent profile references cannot be deleted (DELETE /api/profiles/<ref>answers 409LLM profile is referenced by 1 agent profile(s)), so arrange a named profile's dangling reference withcontrol-openhands api POST /api/agent-profiles/<name> --writesetting itsllm_profile_refto a missing name, activate it, and start a Home chat:api GET /api/conversations/<id> --pick launched_agent_profilekeeps the profile's id withllm_profile_refset to the active LLM profile.OpenHands options (
F13.openhands-options,F13.create). Clicktestid=add-agent-profile, fill the nameQA_oh. Defaults:browser valueontestid=agent-profile-llm-selectoris the active LLM profile (deepseek-flash (deepseek/deepseek-flash)), ontestid=agent-settings-system-prompt-modeOpenHands default, ontestid=agent-settings-tools-modeStandard toolsand ontestid=sdk-settings-tool_concurrency_limit1;control-openhands browser text 'testid=agent-settings-tool-list'listsfile_editor,task_tracker,terminalandswitch_llmwith their descriptions (the list follows the Agent Server; it also includesbrowser_tool_setwhen usable). Runcontrol-openhands browser choose 'testid=agent-settings-tools-mode' 'Choose tools';control-openhands browser eval "[...document.querySelectorAll('[data-testid=agent-settings-tool-list] input')].map(i=>i.dataset.testid.replace('agent-settings-tool-','')+'='+i.checked)"is the selected standard tools, includingfile_editor=true,task_tracker=true,terminal=trueandswitch_llm=true;task_tool_set=false,glob=falseandgrep=false. Additional rows follow the current server catalog. Click'testid=agent-settings-tool-list >> text=switch_llm'and'testid=agent-settings-tool-list >> text=task_tool_set'(the eval flips both). Filltestid=sdk-settings-tool_concurrency_limitwith0and click Save:browser toastsshowsParallel tool calls must be at least 1andbrowser eval "document.querySelector('[data-testid=sdk-settings-tool_concurrency_limit]').validationMessage"isValue must be greater than or equal to 1.Fill2,control-openhands browser choose 'testid=agent-profile-llm-selector' 'deepseek-pro (deepseek/deepseek-v4-pro)', Save (Profile "QA_oh" created),browser reload: the row readsQA_oh/deepseek-pro, andapi GET /api/agent-profiles/QA_ohhasllm_profile_refdeepseek-pro,toolsretaining the selected standard tools plustask_tool_set(includingtask_tracker),enable_classify_and_switch_llm_toolfalseandtool_concurrency_limit2. Reopening showsChoose toolswith the same switches,2anddeepseek-pro, with Save disabled. (There are no Enable sub-agents or Let the agent switch LLM profiles switches:browser count 'text=Enable sub-agents'is0.) System prompt: reopenQA_oh,control-openhands browser choose 'testid=agent-settings-system-prompt-mode' 'Default + your instructions'and filltestid=agent-settings-system-promptwithUse terse QA answers.. Save,browser reloadand reopen:api GET /api/agent-profiles/QA_ohhassystem_message_suffixUse terse QA answers.andpersonanull, and the editor keeps the mode and text with Save disabled. Then chooseCustom persona, fillYou are the disposable QA persona., Save, reload and reopen:personais that text,system_message_suffixisnull, and the editor keeps the mode and text. ChooseOpenHands defaultand Save (both fieldsnull) before later checks that use this profile.Model Router per profile (
F13.profile-router). WithQA_routerandQA_router_2arranged, EditQA_oh,control-openhands browser wait 'testid=agent-settings-router-select': its value isOff; opening it (browser click 'div:has(> div > input[data-testid=agent-settings-router-select]) >> role=button[name="Show suggestions"]',browser snapshot 'role=listbox') listsOff, then every saved router (QA_router,QA_router_2, β¦) (browser press Escape).control-openhands browser choose 'testid=agent-settings-router-select' 'QA_router', Save (Profile "QA_oh" updated):api GET /api/agent-profiles/QA_ohhasmeta_profile_refQA_routerandenable_classify_and_switch_llm_tooltrue, and reopening showsQA_routerwith Save disabled (screenshot--feature F13.profile-router --name editor-router). The section is absent on ACP profiles. Missing router: arrangeapi POST /api/agent-profiles/QA_oh --writewith the stored profile'smeta_profile_refset toQA_gone_router, reopen: the value isQA_gone_routerandcontrol-openhands browser text 'testid=agent-settings-router-dangling'isQA_gone_router no longer exists. Saving with it selected will stop this agent from starting. Choose another router or turn it off.(screenshot--name dangling); chooseOff(the warning goes), Save:meta_profile_refnull,enable_classify_and_switch_llm_toolfalse. Arranging the flagtruewithmeta_profile_refnullreopens onAlphabetically first routerwith Save disabled. RestoreQA_routerthrough the dropdown beforeF13.active-drives-conversation. Deleting a router on the Model Router page (F12.delete) leaves every profile that used it atmeta_profile_refnull, flagfalse.Skills per profile (
F13.profile-skills). InQA_oh's editor,control-openhands browser eval "[...document.querySelectorAll('[data-testid=agent-settings-skills-list] input')].filter(i=>i.checked).map(i=>i.dataset.testid.replace('agent-settings-skills-',''))"is the Skills page selection (on a fresh run the 13 recommended skills, includinggithub,dockerandcode-review); each row is labelledCatalogorYour skill.control-openhands browser fill 'testid=agent-settings-skills-search' githubnarrows the list;control-openhands browser click 'testid=agent-settings-skills-list >> text="github"'turnsdocument.querySelector('[data-testid=agent-settings-skills-github]').checkedfalse(an unquotedtext=githubcan hit another row). Clear the search, Save:public_skillslacksgithub, and reopening keeps it off. A conversation launched fromQA_ohlists the other skills but notgithubin its system prompt (control-openhands api GET "/api/conversations/<id>/events/search?limit=1" --max-bytes 400000, grep<name>github</name>:0), while one launched fromdefaultlists it.New profiles copy
default(F13.create). Editdefault, set the condensermax_size(All tab) to200and Parallel tool calls to3, Save; clicktestid=add-agent-profile: the new editor opens on200and3,agent-settings-mcp-modeAll servers,agent-settings-secrets-modeNo profile restriction(screenshot--feature F13.create --name new-copies-default). Cancel, and restoredefaultto240and1.Set as active (
F13.set-active). Runcontrol-openhands browser click 'testid=agent-profile-row >> has-text=QA_oh >> testid=agent-profile-menu-trigger',control-openhands browser click 'testid=agent-profile-set-active'andcontrol-openhands browser wait-text 'Switched to profile "QA_oh"' --timeout 10000. Afterbrowser reload,browser count 'testid=agent-profile-row >> has-text=QA_oh >> testid=agent-profile-active-badge'andbrowser count 'testid=agent-profile-active-badge'are both1. Reopen the QA_oh menu:browser enabled 'testid=agent-profile-set-active'isfalse(screenshot--feature F13.set-active --name menu);control-openhands browser press Escapecloses it (browser count 'testid=agent-profile-actions-menu'is0).The profile's LLM on Home (
F13.llm-pill-precedence). WithQA_ohactive (pinned todeepseek-pro) anddeepseek-flashthe active LLM profile,control-openhands browser goto /:browser text 'testid=chat-input-agent-profile'isQA_ohandbrowser text 'testid=chat-input-llm-profile'isdeepseek-pro(screenshot--feature F13.llm-pill-precedence --name home-pills).control-openhands browser click 'testid=chat-input-llm-profile',browser click 'testid=chat-input-llm-profile-option-deepseek-flash':api GET /api/agent-profiles/QA_oh --pick profile.llm_profile_refbecomesdeepseek-flashwhileapi GET /api/profiles --pick active_profilestaysdeepseek-flash; pickdeepseek-prothe same way: the profile is back ondeepseek-proand the active LLM profile is stilldeepseek-flash.control-openhands conversation start --prompt "Reply with only the word pong. Do not run any tools." --wait --timeout 240(with Run on first message off, or no router on the profile) reportsmodeldeepseek/deepseek-v4-pro, andcontrol-openhands api GET /api/conversations/<id> --pick launched_agent_profilehasllm_profile_refnull. Switch todefaultin the agent pill (browser click 'testid=chat-input-agent-profile',browser click 'testid=chat-input-agent-profile-popover >> role=button[name="default"]'): the LLM pill readsdeepseek-flash, the active LLM profile.Profile condenser for the launch check (
F13.active-drives-conversation). InQA_oh's editor,control-openhands browser click 'testid=agent-settings-condenser >> testid=sdk-section-all-toggle'andcontrol-openhands browser fill 'testid=sdk-settings-condenser.max_size' 120, then Save:api GET /api/agent-profiles/QA_oh --pick profile.condenserhasmax_size120. The editor's Condenser and Verification sections themselves areF15.profile-behavior.Active profile drives the launch (
F13.active-drives-conversation). WithQA_ohactive (deepseek-pro, Parallel tool calls2, routerQA_router, condenser120,githuboff) and Run on first message on, runcontrol-openhands conversation start --prompt "Run echo routed in the terminal and tell me its output." --wait --timeout 300.api GET /api/conversations/<id>haslaunched_agent_profile.agent_profile_idequal to QA_oh's id,agent.tool_concurrency_limit2,agent.condenser.max_size120(itsagent.llm.modelis the routed profile's,deepseek/deepseek-flash, onceroute_task_to_modelhas run) andClassifyAndSwitchLLMToolamongagent.tools;control-openhands conversation events <id> --kinds ActionEvent,ObservationEvent,MessageEventstarts withroute_task_to_model(Classified task as 'model: deepseek-flash' and switched to LLM profile 'deepseek-flash' β¦), thenecho routed; the page showsSwitched to profile deepseek-flash(screenshot--feature F13.active-drives-conversation --name qa-oh-conversation). The skills check is inF13.profile-skills. Then switch todefaultin the Home agent pill and runconversation start --prompt "Reply with only: qa-default-ok. Do not run any tools." --wait --timeout 240:launched_agent_profile.agent_profile_idis default's id, the model is the active LLM profile's,agent.tool_concurrency_limit1, no router tool, and the reply isqa-default-ok.MCP scope (
F13.mcp-scope). Withqa_mcp_aandqa_mcp_barranged,browser goto /settings/agents, EditQA_oh:browser value 'testid=agent-settings-mcp-mode'isAll serversand the eval below (with+(i.disabled?'(disabled)':'')appended) shows both=true(disabled). PickChoose serversfromtestid=agent-settings-mcp-mode;control-openhands browser eval "[...document.querySelectorAll('[data-testid=agent-settings-mcp-list] input')].map(i=>i.dataset.testid+'='+i.checked)"shows both=true. Runcontrol-openhands browser click 'testid=agent-settings-mcp-list >> text=qa_mcp_b'(nowfalse), Save;api GET /api/agent-profiles/QA_ohhasmcp_server_refs["qa_mcp_a"]. Dangling: arrangecontrol-openhands api DELETE /api/settings/mcp/qa_mcp_a --write,browser reload, EditQA_oh:control-openhands browser text 'testid=agent-settings-mcp-dangling'isqa_mcp_a is no longer configured. Saving with it selected will stop this agent from starting β clear it or re-add the server.(screenshot--feature F13.mcp-scope --name dangling). Leave without saving,browser goto /,browser reload,control-openhands browser fill 'testid=chat-input' 'Reply with only: qa-dangling',control-openhands browser click 'testid=submit-button' --observe 'role=status' --observe-ms 4000andcontrol-openhands browser toasts --history(QA_oh must still be active): the launch is refused (onePOST /api/conversations422 inbrowser errors --app-only; earlier failures in the session are listed too):browser toasts --historyshowsCreating conversationβ¦, then one toast carrying the server'sdetail.message(MCP server(s) not configured: qa_mcp_aon Agent Server 1.53.0), andbrowser text 'testid=chat-input'still readsReply with only: qa-dangling. Clear the composer withbrowser fill 'testid=chat-input' '', then clear the ref:control-openhands browser goto /settings/agents, EditQA_oh,browser click 'testid=agent-settings-mcp-list >> text=qa_mcp_a'(the warning count drops to0), pickAll servers, Save;mcp_server_refsisnull.Credential fields per preset (
F13.acp-preset-credentials). In the Add editor,control-openhands browser choose 'testid=agent-type-selector' 'ACP (external subprocess)', then for each ofCodex,Gemini CLIandCustomruncontrol-openhands browser choose 'testid=agent-preset-selector' '<preset>'andcontrol-openhands browser testids --hidden --filter settings-acp: Codex listssettings-acp-secret-OPENAI_API_KEY(input),-CODEX_AUTH_JSON(textarea),-OPENAI_BASE_URL; Gemini CLI lists-GOOGLE_APPLICATION_CREDENTIALS_JSON(textarea),-GOOGLE_CLOUD_PROJECT,-GOOGLE_CLOUD_LOCATION,-GOOGLE_GENAI_USE_VERTEXAI,-GEMINI_API_KEY,-GEMINI_BASE_URL; Custom lists nothing andbrowser eval "document.body.innerText.includes('Credentials')"isfalse. For Gemini,control-openhands browser wait 'testid=settings-acp-auth-checking' --state detached --timeout 15000, thenbrowser testids --hidden --filter settings-acp-authhas count0(no login, no stored credential);browser eval "document.querySelector('[data-testid=settings-acp-secret-GEMINI_API_KEY]').type"ispassword,GOOGLE_CLOUD_PROJECTistext. Screenshot--feature F13.acp-preset-credentials --name geminiafterbrowser scroll 'testid=settings-acp-secret-GOOGLE_APPLICATION_CREDENTIALS_JSON'. Cancel (Codex showssettings-acp-auth-configuredinstead whileOPENAI_API_KEYfromF13.acp-credentialsis still saved).Menu keyboard (
F13.menu-keyboard). Runcontrol-openhands browser goto /settings/agents. It needs a non-active row: runcontrol-openhands browser click 'testid=add-agent-profile',control-openhands browser fill 'testid=agent-profile-name-input' QA_kb,control-openhands browser click 'testid=save-agent-profile-btn'andcontrol-openhands browser wait-text 'Profile "QA_kb" created' --timeout 10000. Open its menu withcontrol-openhands browser click 'testid=agent-profile-row >> has-text=QA_kb >> testid=agent-profile-menu-trigger'and right away runcontrol-openhands browser eval "document.activeElement?.dataset?.testid":agent-profile-edit(opening the menu moves focus to its first enabled item, as the LLM profile menu does inF10.actions-menu). Thencontrol-openhands browser press ArrowDownfollowed by that eval four times:agent-profile-set-active,agent-profile-delete,agent-profile-edit,agent-profile-set-active;browser press ArrowUpreturns toagent-profile-edit.control-openhands browser press Escapecloses the menu (control-openhands browser count 'testid=agent-profile-actions-menu'is0) and returns focus to the row's own trigger (control-openhands browser eval "(()=>{const a=document.activeElement;const r=a.closest('[data-testid=agent-profile-row]');return a.dataset.testid+'@'+(r?r.innerText.split('\\n')[0]:'-')})()"isagent-profile-menu-trigger@QA_kb); reopen it andcontrol-openhands browser press Tab: closed, and focus moves on past the trigger to the next row's trigger; keyboard open (control-openhands browser focuson the trigger, thenbrowser press Enter) also lands onagent-profile-edit; reopen it and runcontrol-openhands browser mouse-click 900 600: closed. Re-activateQA_ohfirst (its row menu β Set as active) ifdefaultis active. Active row: open its menu withcontrol-openhands browser click '[data-testid=agent-profile-row]:has([data-testid=agent-profile-active-badge]) >> testid=agent-profile-menu-trigger'(control-openhands browser snapshot 'testid=agent-profile-actions-menu'showsmenuitem "Set as active" [disabled]; focus is already onagent-profile-edit), thencontrol-openhands browser press ArrowDownand the eval, thencontrol-openhands browser press ArrowUpand the eval:agent-profile-delete(the disabled Set as active is skipped), thenagent-profile-edit(control-openhands browser screenshot --feature F13.menu-keyboard --name active-row-menu). The non-activedefaultrow ('[data-testid=agent-profile-row]:has([title="default"]) >> testid=agent-profile-menu-trigger') has Delete disabled: ArrowDown twice goesagent-profile-set-active, then back toagent-profile-edit(screenshot--name default-row-menu), then Escape. Atbrowser viewport phonethe menu opens inside the viewport with the same focus order. With the menu still open, runcontrol-openhands browser focus 'testid=agent-profile-edit'andcontrol-openhands browser press Enter:control-openhands browser text 'testid=agent-profile-editor-title'isEdit agent profile. Leave the editor withcontrol-openhands browser click 'testid=cancel-agent-profile-btn'(browser count 'testid=add-agent-profile'is1). DeleteQA_kb: reopen its menu,control-openhands browser click 'testid=agent-profile-delete',control-openhands browser click 'testid=delete-agent-profile-confirm'andcontrol-openhands browser wait-text 'Profile "QA_kb" deleted' --timeout 10000.Delete (
F13.delete). Runcontrol-openhands browser click 'testid=agent-profile-row >> has-text=QA_acp_renamed >> testid=agent-profile-menu-trigger',control-openhands browser click 'testid=agent-profile-delete';control-openhands browser text 'role=dialog'readsDelete ProfileandAre you sure you want to delete the profile "QA_acp_renamed"? This action cannot be undone.control-openhands browser click 'role=dialog >> role=button[name="Cancel"]'keeps the row (count1). Repeat andcontrol-openhands browser click 'testid=delete-agent-profile-confirm',browser wait-text 'Profile "QA_acp_renamed" deleted' --timeout 10000,browser reload: count0. Delete the activeQA_ohthe same way: afterbrowser reload,browser count 'testid=agent-profile-active-badge'is1, thedefaultrow has that badge, andapi GET /api/agent-profileshasactive_agent_profile_idequal to default's id. DeleteQA_codex,QA_opencodeandQA_pi: the list again shows one row,default/deepseek-flash/Active, with its original id.defaultitself cannot be deleted here (F13.listreads its disabled Delete).Phone (
F13.phone). Runcontrol-openhands browser viewport phone,control-openhands browser goto /settings/agents,control-openhands browser bbox 'testid=agent-profile-row'(insideViewporttrue,pageHorizontalOverflowfalse) andbrowser screenshot --feature F13.phone --name list. Open the row menu:browser bbox 'testid=agent-profile-actions-menu'is inside the viewport.browser press Escape, clicktestid=add-agent-profile:browser bbox 'testid=agent-settings-screen'is 348 px wide at x 16 with no page overflow (insideViewportisfalseonly because the form is taller than the screen).browser scroll 'testid=agent-settings-skills-section'and screenshot--name editor-skills(the search box and switches fit the 348 px column). Switch to ACP,browser scroll 'testid=settings-acp-secret-ANTHROPIC_API_KEY'and screenshot--name acp-credentials. Cancel andcontrol-openhands browser viewport desktop.Errors. After the family,
control-openhands browser errors --app-onlyshows no page errors and no[i18n] Missing translationwarnings (the Parallel tool calls label and description are translated since #18035), only the deliberate 422s from the dangling-MCP launch.Blocked (
F13.acp-conversation,F13.cloud-read-only). Recordcontrol-openhands evidence add --feature F13.acp-conversation --result blocked ...naming the missing provider CLI/account, and the same forF13.cloud-read-onlynaming the Cloud member login.Cleanup. Delete the
OPENAI_API_KEYcredential through Secrets:control-openhands browser goto /settings/secrets,control-openhands browser click 'testid=secret-item >> has-text=OPENAI_API_KEY >> testid=delete-secret-button',control-openhands browser click 'testid=confirmation-modal >> testid=confirm-button'. Removeqa_mcp_bwithcontrol-openhands api DELETE /api/settings/mcp/qa_mcp_b --write. Leavedefaultactive.Active wording (
F13.list,F13.set-active). Runcontrol-openhands browser goto /settings/agents,control-openhands browser text 'testid=agent-profile-active-badge', open the active row'stestid=agent-profile-menu-trigger, andcontrol-openhands browser snapshot 'testid=agent-profile-actions-menu': the badge readsActive, matching the menu's Set as active. Close with Escape; no activation or model call is required.Seeded default key propagation (
F13.active-drives-conversation). With the seededdefaultagent profile active and the disposableQA_LOOPBACKLLM profile active,control-openhands api GET /api/settings --pick llm_api_key_is_setistrue. Runcontrol-openhands conversation start --prompt 'Reply with exactly pong. Do not run tools.' --timeout 60(the dummy endpoint refuses connections). Read only boolean presence ofagent.llm.api_keyin the run-owned persistedbase_state.json, keeping the value private, and inspectconversation status <id>. Expected: the key is populated and initialization reaches the refused loopback endpoint rather than an absent-key error. This checks propagation before provider authentication or a successful reply.Gemini auth file is not sufficient (
F13.acp-credentials). In the isolated run HOME only, create an empty{}file atprivate/home/.gemini/oauth_creds.json(never replace a real host login). Open Add agent profile β ACP β Gemini CLI and readtestid=settings-acp-auth-detected; Cancel and repeat a fresh Add form. Expected: no authenticated banner for an empty file. Known failure, reproduced twice 2026-10-12 (OpenHands/software-agent-sdk#4629):You're already signed in to Gemini CLI β you can leave the fields below blank.No provider or model call is needed. Remove the own dummy auth file; SDK auth-method priority and upstream CLI-version branches remain outside this check.Published stale ACP binary on PATH (
F13.acp-conversation). Install the real published@zed-industries/[email protected]under the owned run'sworkspace/qa-stale-adapter(no global install). Create/activate a real Codex ACP profile through Settings > Agents with only a dummy API-key presence marker and loopback Base URL. Prepend that package'snode_modules/.binonly during the own backendrestart; keep its private HOME, set default OpenAI routes plus HTTP(S)/ALL proxy to refused loopback andNO_PROXY=127.0.0.1,localhost, with cached dependencies offline. Doctor, then start two actual Home chats and inspect the sanitized runtime command and initialization version. Expected: the SDK uses the pinned1.10.0adapter. Known failure, reproduced twice 2026-10-12 (OpenHands/software-agent-sdk#5466):acp_commandbecame barecodex-acp, and actual ACP initialization reportedagent_version=0.16.0; the version warning still wrongly blamed npx fallback. Both then stopped atAuthentication required. This proves selection/warning before authentication, not a usable session, the historical model-cache error or the Claude counterpart. Restore the launcher environment/PATH and default agent, delete the own profile/dummy secrets/package fixture, then doctor and stop.Suffixed profile keeps its identity (
F13.edit). A normal edit preserves the profile UUID and increments its revision. Known failure (reproduced 2026-10-22, OpenHands/software-agent-sdk#5873): two real concurrency-only saves of a.jsonname each minted a new UUID at revision0. SDK 1.55 repaired the active pointer to default; do not claim it remained dangling. The credential-free block checks the revision symptom and cleans its own fixtures.trap 'control-openhands api DELETE /api/agent-profiles/QA_KNOWN_SUFFIX --write >/dev/null' EXIT control-openhands browser viewport desktop control-openhands browser goto /settings/agents control-openhands browser click 'testid=add-agent-profile' control-openhands browser fill 'testid=agent-profile-name-input' QA_KNOWN_SUFFIX.json control-openhands browser click 'testid=save-agent-profile-btn' control-openhands browser wait-text 'Profile "QA_KNOWN_SUFFIX.json" created' --timeout 10000 control-openhands assert --field value --equals 0 -- api GET /api/agent-profiles/QA_KNOWN_SUFFIX --pick profile.revision control-openhands browser click 'testid=agent-profile-row >> has-text=QA_KNOWN_SUFFIX >> testid=agent-profile-menu-trigger' control-openhands browser click 'testid=agent-profile-edit' control-openhands browser fill 'testid=sdk-settings-tool_concurrency_limit' 2 control-openhands browser click 'testid=save-agent-profile-btn' control-openhands browser wait-text 'Profile "QA_KNOWN_SUFFIX.json" updated' --timeout 10000 control-openhands assert --field value --equals 1 --bug-shows 0 -- api GET /api/agent-profiles/QA_KNOWN_SUFFIX --pick profile.revision # bug
Gotchas
- The editor is not a route:
browser urlstays/settings/agentsandbrowser reloaddrops unsaved edits back to the list. The settings page header (settings-page-subtitle) is hidden while it is open. - Autocomplete dropdowns: clicking an input that already shows a value can open an empty listbox (the text filters it), and an option click then times out. The toggle-button opener does not always open the list either: on the Edit editor's
agent-profile-llm-selector(bottom of the form) the option click timed out 5 of 5 times right after opening the editor, and the model list'sCustomoption once detached mid-click after a preset change.browser chooseavoids the input-filtering problem, but an option may still remain unstable immediately after opening an editor. Reload and reopen before retrying; the suffix-identity check can use the already-selected active LLM without changing that dropdown. A listbox also closes if you spend a command (snapshot, eval) in between, so click the option right after opening. - A taken name marks the field invalid with an alert reading
An agent profile with this name already exists. β¦. has-text=defaultmatches any row whose LLM profile or name containsdefault(Playwright's text match ignores case); select the seeded profile with'[data-testid=agent-profile-row]:has([title="default"])'.- Model lookups (
F13.acp-model-discovery) spawn the provider CLI on the agent-server machine through npx with the profile's allowed secrets; they send no prompt. A failed lookup is retried each time the preset is picked again; a successful one is cached for about five minutes per preset and secret set. - Switch rows are
sr-onlycheckboxes inside labels (keyboard reachable): click the label text ('testid=agent-settings-tool-list >> text=<tool>','testid=agent-settings-mcp-list >> text=<name>') and read.checkedwithbrowser eval. A barelabelselector segment is parsed aslabel=, not CSS. - The Active badge, the Set as active item and the
Switched to profiletoast all refer to the same active pointer; the LLM page says Set as default. - The OpenHands row's grey text is the LLM profile name, not the kind. A fresh run's
defaultshowsdefaultthere although no LLM profile of that name exists until it is edited (F13.stale-llm-ref). - Every local launch sends
agent_profile_id,defaultincluded; readlaunched_agent_profileandagenton the conversation. A named profile runs its own LLM profile (launched_agent_profile.llm_profile_refnull);default, or a profile whose LLM reference no longer exists, runs the active LLM profile (llm_profile_refis set to it when it differs from the stored reference, otherwisenull). The Home LLM pill edits the active profile's LLM (F13.llm-pill-precedence)./newand local child conversations launch through the same path. With no active profile a local launch fails with an error instead of falling back to global settings. - On a local backend
defaultshares state with global pages both ways: switching a server in its MCP list switches it in MCP Servers for every profile, its skill switches are the Skills page's, and picking its LLM activates that LLM profile. Arranged API writes (llm preset) do not updatedefault's storedllm_profile_ref; the editor preselects the active LLM profile and enables Save (F13.stale-llm-ref). - An unquoted
text=githubclick in the Skills list can hit another row containing that text; quote the exact name (text="github") or search first. - The ACP auth probe runs the provider CLI on the agent-server machine. If that machine has a Claude CLI login, Claude Code can show "already signed in". Use only an explicitly approved account for authenticated ACP checks.
- ACP credentials are global secrets, not profile fields: cancelling the editor saves nothing, but saving any ACP profile with a typed credential writes it to Settings β Secrets (F14) for every conversation.
- Choose secrets on an ACP profile also selects provider secret names that are not saved (
CODEX_AUTH_JSON,OPENAI_BASE_URL); they show as switches without descriptions. - The empty state (
agent-profiles-empty) and the load-error state (agent-profiles-load-error) are not reachable on a local backend:defaultcannot be deleted, and with the agent-server stopped the app swaps to Manage backends after a reload, or keeps the cached list without one. - The refused-launch toast text comes from the Agent Server and changes between versions (
MCP server(s) not configured: <name>on 1.53.0): assert that one toast names the server and the prompt stays, not the exact wording. - Opening a row menu focuses its first enabled item. Arrows skip disabled Set as active; Escape closes the menu and returns focus to its trigger, while Tab closes it and continues normal tab order.
- The Add agent editor has its own agent description. Parallel tool calls label and description are translated.
- Known issue #16905: An enabled built-in OpenHands skill can be absent from a new Claude Code ACP session. The enabled/disabled instruction-delivery check needs an approved authenticated Claude Code account, its ACP subprocess and the configured Code Review automation; no provider session is authorized here. (
F13.acp-conversation). - Known issue #16296: Claude Code credential fields remain visible below the already-connected banner, leading users to think keys are required. The connected-state check needs an approved existing Claude CLI login on the agent-server host; a dummy credential does not prove that signed-in state. (
F13.acp-credentials). - Known issue #17051: Codex ACP can work in New Chat while Issue-to-PR automation fails with missing OpenAI API credentials. Reproduction needs an approved Codex subscription login plus a configured Issue-to-PR automation and its repository credentials; the report does not identify the saved automation/profile settings. (
F13.acp-conversation). - Known issue OpenHands/software-agent-sdk#5167: On a headless Docker host an already usable Codex ChatGPT login can still time out during ACP authenticate. Reproduction needs an approved ChatGPT login in the reported headless/read-only-auth-file deployment and its adapter; a desktop or bogus login cannot establish this conditional trigger. (
F13.acp-conversation). - Known issue OpenHands/software-agent-sdk#5995: Claude Code ACP first turns with
claude-opus-5-5can fail because the pinned adapter bundles an older Claude Code. Blocked: needs an approved Claude login/API key entitled to Opus 5.5 and a real first turn; current SDK 1.55 still pins the reported adapter0.63.0. No authenticated turn was attempted. (F13.acp-conversation,F13.acp-model-discovery). - Known issue OpenHands/software-agent-sdk#5899: The browser tool can be reported unusable when genuine Chromium exists only under
PLAYWRIGHT_BROWSERS_PATH. Blocked on this host: it has standard user Chrome. The distinguishing fixture needs a host/container with no standard/default-cache/PATH browser, plus a genuine custom-cache Chromium; never remove the user browser to create it. (F13.openhands-options; operational browser path F27).