Repository navigation
Description
Current status (2026-10-13): Per-profile tools, MCP selection, secrets selection, and persona editing have shipped (#17516, #17289, #17237, #17843). The historical "tools absent/deferred" statements below are no longer current. Keep this design issue open for the remaining editor/hub organization and per-profile behavior controls. Default-path unification, catalog parity and migration of existing global behavior settings are owned by #17991; removing the old behavior pages is #15565.
Rewritten 2026-06-23. This supersedes the original draft of this issue (which proposed a global-defaults + per-profile inherit/override model). That model was over-engineered — it created two surfaces for every knob (a global "default condenser" page and a per-profile override). The design below replaces it with a simpler two-layer model. Earlier decision log preserved at the bottom.
Summary
Agent configuration in canvas is mid-migration from flat, global pages to per-profile config, and the build is underway (library + kind-aware editor in OpenHands/agent-canvas#1440; OpenHands/agent-canvas#1446 folds Condenser/Verification into the profile and reworks MCP refs). But the editor is a single flat scroll that won't scale as agent settings grow, and config is split across five different composition models with no shared mental model. This issue is the design-of-record for the canvas agent-config UX.
It does not touch the SDK substrate (epic OpenHands/software-agent-sdk#3713, design OpenHands/software-agent-sdk#3710) — that's settled and released (SDK v1.29.0 / ts-client v1.26.0). This is purely the canvas IA/UX layer.
The problem
Opening the profile editor today means holding five different "what does setting this here mean" models at once: LLM is a reference, MCP is a filter over global servers, condenser/verifier/suffix/concurrency are per-profile values, skills are round-tripped invisibly (edited only as a separate global disabled_skills list), and tools are absent (no tools field on the profile anywhere in the SDK). On top of that the editor is a flat scroll that gets worse with every new knob, and behavior knobs exist in two places (a global page and the profile).
The model (final)
Collapse those five models into two layers, each with one interaction verb:
| Layer | Verb | Contents | Home |
|---|---|---|---|
| Building blocks | Define (once, beforehand) | LLM profiles · MCP servers · Skills/plugins · Secrets | Catalog pages in the Agents hub |
| Agent profiles | Compose + tune | select blocks + set behavior (condenser, verification, suffix, concurrency / provider, model, session, command) | The profile editor |
Every behavior knob has exactly one home: the profile. There is no global "default condenser/verification" page. The "default behavior" is simply the default profile; you reuse settings by duplicating a profile. This removes the dual surface and the inherit/override-badge machinery entirely. The only global surfaces are the catalogs — and they're "what's available," not "defaults."
(MCP already works this way: a global mcp_config catalog + a per-profile mcp_server_refs subset. Skills need to catch up to the same select-from-catalog model.)
Decisions
- Behavior knobs are per-profile only — no global default pages, no inherit/override badges. Reuse = Duplicate. (default behavior = the default profile.)
- Catalogs live inside the Agents hub as "Building blocks," configured beforehand and referenced by profiles.
agent_kindis chosen up front via a simple OpenHands/ACP modal on create, then the editor opens with built-in defaults. Kind is fixed for the profile's life (switch = Duplicate-as / New).- Tools: deferred. The AgentProfile has no
toolsfield — per-tool override needs an SDK change. No tool control in the editor until then; SDK follow-up tracks it. - Model Router ([WSL] Local mistral model not sent to litellm #1395 / Intelligent model router: classify_and_switch_llm tool + meta-profiles software-agent-sdk#3744) stays a separate surface for now. IA unification revisited later.
IA & routing
Today the left rail is [ + New chat ] [ Customize ] [ Automations ] [ ⚙ Settings ], where Customize (/customize) is the extensions hub (Skills/Plugins/MCP catalogs) and Settings holds LLM / agent / agents(profiles) / condenser / verification / app / secrets as flat pages.
Target rail: [ + New chat ] [ ◆ Agents ] [ ⚡ Automations ] [ ⚙ Settings ] — "Customize" is absorbed into Agents.
┌──────┬────────────────────────────────────────────────┐
│ + │ Agents │
│ chat │ ┌───────────────┬────────────────────────────┐ │
│ │ │ PROFILES │ ▸ Coding agent ★default │ │
│ ◆ │ │ • Coding ★ │ OpenHands · claude-opus │ │
│Agents│ │ • Reviewer │ ▸ Reviewer │ │
│ │ │ • Claude CLI │ ▸ Claude CLI (ACP) │ │
│ ⚡ │ │ + New agent │ │ │
│ Auto │ ├───────────────┤ [ Edit ] [ Duplicate ] │ │
│ │ │ BUILDING │ │ │
│ ⚙ │ │ BLOCKS │ │ │
│ Set │ │ • LLM profiles │ │
│ │ │ • MCP servers │ │
│ │ │ • Skills / plugins │ │
│ │ │ • Secrets │ │
│ │ └───────────────┴────────────────────────────┘ │
└──────┴────────────────────────────────────────────────┘
- The Agents hub is a Settings-like destination with a left nav: a Profiles library (list / set-default / edit / new / duplicate) plus the Building blocks catalogs — "configure beforehand" sitting right next to "compose."
- Secrets is the one secret store. ACP provider creds are ordinary global secrets (the
state.secret_registrychannel, [ACP on Cloud] Refactor: consolidate ACP secret/env channels onto state.secret_registry agent-canvas#2113/#1039); there is no separate "Credentials" surface in the code — the only "Credentials" string is the header of the ACP editor's Authentication section. So Secrets is a Building Block, and the ACP editor's Authentication section is a per-provider convenience writer/view over it ([AgentProfile][canvas] Provider-driven ACP Authentication section (creds out of the generic Secrets panel) software-agent-sdk#3728's model). - ⚙ Settings shrinks to genuinely cross-cutting items: Application prefs + Account/backend.
Routes that change:
/settings/condenser,/settings/verification,/settings/agent→ removed (folded into the profile editor; feat(chat): unified AgentProfile chat-input picker (start-new-with-profile) (#3727) agent-canvas#1446 already did this on local — make it universal, including cloud, as a later milestone)./settings/llm,/mcp,/skills,/plugins,/customize,/settings/secrets→ rehomed as Building-blocks catalogs under the Agents hub (kept as "what's available," not deleted)./settings/agents(profile library) → moves up to the Agents hub's Profiles view.
The profile editor — master-detail, kind-aware
Section nav on the left, detail pane on the right — so no flat scroll, and it scales as knobs are added. The section list is kind-aware: only sections that apply to the kind render, so the OpenHands/ACP asymmetry shows up as a shorter list, never greyed pages.
Coding agent (OpenHands) ★ Set default
┌──────────────┬───────────────────────────────────────────┐
│ General │ Memory / Condenser │
│ Model │ [x] Summarize old context │
│ Tools & MCP │ Trigger at [ 240 ] events │
│ Skills │ │
│▶ Condenser │ ┌─ What this agent will do ───────────┐ │
│ Verification │ │ claude-opus · 3 MCP servers · critic │ │
│ Personality │ │ on · 4 skills (resolved) │ │
│ Advanced │ └──────────────────────────────────────┘ │
└──────────────┴───────────────────────────────────────────┘
| OpenHands sections | ACP sections |
|---|---|
| General — name, set-default | General — name, set-default |
| Model — select LLM profile | Provider & Model — acp_server, acp_model |
| Tools & MCP — select MCP servers (tools deferred) | Launch — command, args, session mode, timeout |
| Skills — select skills | MCP — select MCP servers |
| Condenser — on/off + trigger size | Authentication — provider creds (writer over Secrets) |
| Verification — critic, mode, threshold, refinement | |
| Personality — system-prompt suffix | |
| Advanced — sub-agents, tool concurrency |
In Tools & MCP / Skills, you select from the catalog ("All available" by default), with a "Manage ↗" link to the building block — you never define a server inline.
The materialize overview ("What this agent will do")
The backend already exposes POST /api/agent-profiles/{name}/materialize (resolve_agent_profile_dry_run) → the fully-resolved, redacted settings + dangling-ref diagnostics. Because a profile is now a composition of references + knobs, render this as the editor's overview panel. It's both the legibility feature and a QA oracle ("does the resolved config match intent"). Nothing renders it today.
Create flow
+ New agent → minimal OpenHands / ACP modal → the editor opens with that kind's sections, pre-filled from built-in defaults (provider chosen inside the editor for ACP). Duplicate covers the fork-a-preset need separately.
Relationship to existing issues
- Epic: [AgentProfile] Epic: first-class Agent Profiles (named launch setups) across SDK, agent-server, canvas, cloud software-agent-sdk#3713 (design [Design] Agent Profiles: reference composition with profile-local secrets software-agent-sdk#3710) — SDK substrate, settled + released.
- [feat] Integrate BrowserGym #1452 ("remove the superseded global pages") — now partly correct: the behavior pages (condenser/verification/agent) genuinely get removed; the catalogs (MCP/skills/LLM/secrets) are kept and rehomed into the Agents hub. Reframe to exactly that scope.
- [AgentProfile][canvas] AgentProfile library + kind-aware editor (dissolve ACP nav lockout) software-agent-sdk#3726 — rescope from "flat kind-aware editor" → "master-detail editor + Agents hub + catalogs rehomed +
materializeoverview." - [AgentProfile][canvas] Unified capability-gated chat-input model/profile picker software-agent-sdk#3727 (= feat(chat): unified AgentProfile chat-input picker (start-new-with-profile) (#3727) agent-canvas#1446) and #1440 — not wasted: per-profile condenser + dropping the local behavior pages is exactly the right substrate; this builds the IA on top.
- [AgentProfile][canvas] Provider-driven ACP Authentication section (creds out of the generic Secrets panel) software-agent-sdk#3728 — ACP Authentication section as a writer over Secrets; consistent.
- Run docker on forked pull requests #1450 — extract shared profile list/row/modal primitives; the Profiles library builds on these.
- [WSL] Local mistral model not sent to litellm #1395 — Model Router; kept a separate surface for now (Decision 5).
- Add numpy as a dependency #533 — unify local + cloud LLM around profiles; consistent with treating LLM profiles as a catalog.
Sequencing
- Editor: flat scroll → master-detail section nav (kind-aware) + wire the
materializeoverview. (builds on feat(chat): unified AgentProfile chat-input picker (start-new-with-profile) (#3727) agent-canvas#1446) - Skills → per-profile select-from-catalog section; reconcile
disabled_skills. - The Agents hub: new rail item; move the profile library + LLM/MCP/Skills/Secrets catalogs under it; shrink the Settings gear; retire "Customize" as a standalone item.
- Create modal + built-in-defaults seeding.
- Cloud parity (remove cloud behavior pages, same hub) — separate milestone.
Definition of done (for this design)
- Decisions above accepted (or amended) by the team.
- Remove the superseded global agent-setting pages (Agent / Condenser / Verification) once cloud has AgentProfiles #15565 reframed to "remove behavior pages (condenser/verification/agent); keep + rehome catalogs."
- [AgentProfile][canvas] AgentProfile library + kind-aware editor (dissolve ACP nav lockout) software-agent-sdk#3726 rescoped to the master-detail editor + Agents hub.
- Per-profile tools and the server tool catalog are implemented (software-agent-sdk#5151; feat(agent-profiles): pick every tool from the server's catalog; pin SDK 1.53.0 #17516).
- Once everything land, the default-profile special case in
useCreateConversation() (routing default throughOpenHands/src/hooks/mutation/use-create-conversation.ts
Lines 138 to 161 in a139a6c
if ( !isCloud && resolvedAgentProfile?.name === WELL_KNOWN_DEFAULT_AGENT_PROFILE_NAME && resolvedAgentProfile?.agent_kind === "openhands" ) { // The seeded OpenHands `default` profile is the enriched baseline, not a // deliberate profile pick — it mirrors global agent_settings. Launch it // via agent_settings so the canvas-only enrichments the profile-resolution // path drops survive for the common home-launch: the <RUNTIME_SERVICES> // system-message suffix and project-skill loading (buildAgentContext). // Named profiles are deliberate custom configs and still use the profile // path (accepting that enrichment boundary). // Trade-off: per-profile fields set on `default` itself don't apply on // home-launch — custom per-profile config belongs in a named profile. // // Scoped to OpenHands: an ACP `default` must keep the profile path. // Activation is pointer-only, so global agent_settings is stale (often // still OpenHands) when an ACP profile is active — launching it via // agent_settings would start the wrong agent. ACP carries no // <RUNTIME_SERVICES> enrichment, so there's nothing to preserve. // // Scoped to local: cloud never writes agent_settings, so it always // resolves `default` server-side via agent_profile_id (validated below). effectiveAgentProfileId = undefined; agent_settingsinstead ofagent_profile_id) can be deleted
Prior-art anchors
Master-detail library, not a modal/wizard (NN/g). Closest prior art: Zed agent profiles (named, fork-from-preset, MCP/tool gating defined-once-referenced) and Claude Code subagents (kind/role config, reference resources by name). The two-layer "central building blocks + apps that select them" split mirrors Continue.dev (typed blocks + assistants), Dify (central model/tool registry + apps), and Zed (MCP servers defined once, profiles gate them).
Earlier decision log (pre-2026-06-23 rewrite)
The first draft proposed: keep global pages as editable defaults; profiles as inherit-by-default deltas with override badges; fold Model Router into one Agents surface. Superseded because the global-default-plus-override model created two surfaces per knob (the "huh, one page for default condenser + one place to override" problem). Carried forward from that draft: defer tools (now Decision 4); keep Model Router separate (now Decision 5); the materialize preview; the SDK follow-ups remain deferred/unfiled.
Drafted with Claude Code from a cross-repo investigation of the AgentProfile epic, the as-built canvas editor, the SDK parameter matrix, and best-in-class per-agent-config UX patterns; refined through design review with the maintainer.
Activity
[-][Design] Agent config UX: one composition model for per-agent profiles (inherit-default + deltas)[/-][+][Design] Agent config UX: building blocks + agent profiles (per-profile behavior, no global defaults)[/+]feat(agent-profiles): Agents hub IA — rail + Settings restructure (#1…
feat(agent-profiles): one Agents hub panel, Application in rail, Cond…
feat(agent-profiles): rename rail items — "Agents"→"Agent Settings", …
feat(agent-profiles): restore advanced Condenser controls; fold Advan…
feat(agent-profiles): global Critic hub page; drop per-profile Verifi…
feat(agent-profiles): remove the redundant backend-selector Settings …
fix(agent-profiles): render the Critic page flat, drop the redundant …
Revert "fix(agent-profiles): render the Critic page flat, drop the re…
feat(agent-profiles): name the hub panel "Verification" to match main…
feat(agent-profiles): render the ACP editor as a single flat page (#1…
feat(agent-profiles): remove the Personality section (system-prompt s…
feat(agent-profiles): drop Personality section; rename "Tools & MCP" …
fix(agent-profiles): clarify ACP Authentication copy — provider key, …
simonrosenberg commentedon Jul 10, 2026
Implementation baseline update (2026-07-10): OpenHands/agent-canvas#1571 shipped the profile library, flat kind-aware editor, local+cloud launch picker, and live-switch gating. The SDK now also exposes profile
toolsand usesdisabled_skillsrather thanskill_refs.The design work still missing on current Canvas main is concrete:
/materializediagnostics/overview (the client service does not call it);disabled_skillsand tools controls;Keep this as the post-v1 UX tracker. Coordinate tools with SDK#3978; do not revive positive
skill_refs- the shipped model is the drift-tolerantdisabled_skillsdeny-list.enyst commentedon Jul 31, 2026
This makes a lot of sense and it definitely looks to me like the way to go!
It does raise a question though: when the user switches LLM profile during conversation or at the start of a new conversation, do we change the profile’s active LLM profile?
It seems to me that the answer has to be Yes. Otherwise we’d still end up with some two sources of truth… and unexpected behavior at the start of a new conversation (I think we figured in the past that expected = the newest switch is the active LLM so it will be used next time). OTOH, that has consequences, right, we’d have to write the profile on the fly. WDYT?
github-actions commentedon Aug 23, 2026
ready-for-devThis issue does not yet meet the readiness criteria, so the
ready-for-devlabel has not been applied (or has been removed).The criteria are type-specific:
Bug reports (
buglabel):### Steps to Reproducesection must reference a supported run method(
agent-canvas,npm run, orapp.all-hands.dev/canvas).### Actual Behaviorsection must include a screenshot or video of the bug.### Acceptance Criteriasection with at least one checklist item (- [ ] …).Enhancements (
enhancementlabel):### Desired Behaviorsection.### Acceptance Criteriasection with at least one checklist item.What is missing:
bugnorenhancementlabel, so its readiness criteria cannot be evaluated. Add the appropriate label.Edit the issue to address the gaps and the
ready-for-devlabel will beapplied automatically.
This is an automated check — no AI was used to generate this comment.