Skip to content

Feature request: OpenCode as a Sesame Link runtime #4

Open

Description

@ghostusername3322

Feature request: OpenCode as a Sesame Link runtime

What

Add OpenCode (opencode CLI) as a supported Sesame Link
runtime, alongside claude_code, codex, pi, and cursor
(allowed_remote_runtimes).

Why

  • OpenCode is multi-provider (85+ providers via models.dev, local models via
    Ollama/LM Studio, plus OAuth for existing ChatGPT Plus/Pro and Claude
    Pro/Max subscriptions). It is the only major agent where users bring their
    own model — including fully free local setups.
  • Users who can't use Claude (subscription cost) or hit Codex limits currently
    have no Link-compatible agent with model choice.
  • Your own docs describe Link as "coding agent agnostic ... with more coding
    agents on the way". OpenCode is the natural next runtime.

Suggested behavior (mirrors Codex/Claude support)

  • Detect opencode on PATH (opencode --version).
  • sesame-link opencode starts an OpenCode session in tmux (like Claude/Pi),
    or without tmux if preferred.
  • Remote create / message / interrupt / approval answers in the web client and
    voice agent, same as Codex sessions.
  • Reuse OpenCode's provider auth (opencode auth login) the way Link reuses
    codex login / Claude sign-in — no credential handling by Link needed.
  • Include opencode in allowed_remote_runtimes.

Workarounds tried (why native support matters)

  • allow_remote_bash_commands + !opencode run "..." works for one-shot
    tasks but gives no live steering, no streamed tool steps, and needs a host
    session open. It is a hack, not a runtime.
  • A shim binary can't work: Link drives Codex via its app-server protocol,
    which OpenCode doesn't speak.

Environment

  • Sesame Link 0.1.33 (release), Linux x86_64

Activity

  1. added
    ideaFeature request; belongs in Ideas discussions
    area:clisesame-link command
    on Oct 13, 2026
  2. github-actions commented on Oct 13, 2026

    @github-actions

    Adding a new runtime is a large change (a new integration covering session control, approvals, and the web and voice clients). Please consider writing an RFC as described in https://github.com/SesameAILabs/link/blob/main/rfcs/README.md, so the design can be discussed in detail.

  3. darkmirage commented on Oct 26, 2026

    @darkmirage
    Contributor

    This is on the backlog, but in theory should be doable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:clisesame-link commandideaFeature request; belongs in Ideas discussions

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions