Skip to content

OPE-142: Composer agent picker from server catalog #457

Closed

Description

@ivanfenenko

Let Session Chat select any visible primary/all agent from the connected server — including user-defined agents — instead of hard-coding Build and Plan.

Desktop/TUI already cycles custom primary agents (Tab / switch_agent / /agents) from config (opencode.json agents/agent, or ~/.config/opencode/agents/ and .opencode/agents/*.md). Mobile now loads the same catalog into the composer mode picker.

PR: #233

Remaining:

  • Optionally apply a selected agent's configured model/variant
  • Optionally paint picker/chip with agent color

Done:

  • Picker shows non-hidden primary and all agents from GET /agent (v2: GET /api/agent)
  • Hidden system primaries (title, compaction, summary) stay out of the picker
  • Display names are title-cased ids (review → Review, code-reviewer → Code Reviewer)
  • Default is build when present; if the selected agent disappears, fall back to build or the first catalog entry
  • Prompt/command send uses the selected agent id
  • @ mentions stay the non-primary path

Docs: docs/features/session-chat/
Related: OPE-59, OPE-32


Imported from Linear OPE-142. Linear status: Done. Priority: Medium. Created 2026-08-11. Completed 2026-08-22.
Related: OPE-59, OPE-32, OPE-214.

Activity

  1. self-assigned this
    on Oct 11, 2026
  2. added
    enhancement
    ios
    android
    shared
    priority: medium
    on Oct 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

androidenhancementiospriority: mediumshared

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions