Skip to content

Generic CLI provider: drop in any agent binary #458

Closed

Description

@currentbits

What Orca and AionUI do

Orca's homepage lists 25+ CLIs and then says the rest "drop right in" (onorca.dev). AionUI claims 20+ CLI agents (Hermes, Goose, Qwen Code, Augment, Cline, Mistral Vibe, Nanobot, …) behind one Cowork surface (iOfficeAI/AionUi).

The move is the same: first-class adapters for the five that matter, and a black-box CLI slot for everything else. Breadth is a marketing checkbox they can tick without owning every harness.

Solenta today

The provider set is closed. Adding a new CLI means a first-class adapter (spawn flags, JSONL/SSE parser, permission mapping, usage). #172 is custom agents inside Claude/OpenCode (--agent), not a foreign binary. #451 upgrades the existing adapters.

Why it matters

The long tail is growing faster than we can write adapters: Hermes, Goose, Auggie, Cline, Qwen Code, Mistral Vibe, Amp, Charm, oh-my-pi. Users who already run one of those will not switch orchestrators that refuse to launch it. A generic slot also de-risks the Droid/Kilo/Pi/Antigravity queue — a user can point at the binary tomorrow while the deep adapter is still being written.

The durable value stays where it is: cross-vendor memory, the GitHub planboard, and the deep adapters. The generic slot is a compatibility shim, not a replacement.

Scope suggestion

A user-defined provider: display name, argv, cwd, env, a coarse permission-mode mapping (or "the CLI handles it"), and a transcript strategy of last resort (PTY / raw stdout). No JSON schema required on day one. Label it as best-effort in the UI so we do not pretend it has work-log cards and usage. Keep reserved names for the first-class adapters.

Do not let a generic provider write to shared memory without the same injection and write-scan rules as everyone else (#409).

Round-19 leftover, filed in round 20.

Activity

  1. added
    enhancement
    plan:todo
    on Aug 18, 2026
  2. currentbits commented on Aug 18, 2026

    @currentbits
    OwnerAuthor

    Round 27 intel from Orca (stablyai/orca, 40k+ stars): their agent catalog covers 30+ agents (Claude Code, Codex, OpenCode, Grok, Devin, MiMo, Kimi, Prime) and the architecture trick that enables that breadth is relevant to this issue: agents run as PTY sessions, and their structured Chat UI (transcript, composer, model pills, skill slash commands) is an overlay on the same agent PTY, not a separate protocol integration. PTY-first gives maximum provider coverage on day one; structured protocols (ACP, print-mode NDJSON) get layered on per provider where available for richer state. For Solenta's generic adapter that suggests a two-tier design: tier 1 = PTY wrap (works with anything, degraded metadata), tier 2 = structured upgrade when the binary exposes print/ACP mode. The tier must be visible on the thread (users should know which guarantees apply).

  3. added
    plan:doing
    and removed
    plan:todo
    on Oct 18, 2026
  4. currentbits commented on Oct 18, 2026

    @currentbits
    OwnerAuthor

    PR #1676 implements this. Each custom CLI is a provider-instance row under generic:<id>, with a name, command, environment, optional full-access flags, a working folder, and plain pipes or a PTY for output. It's labelled best effort in the picker and in Settings. Built-in names are reserved, permissions never snap up to full access, and a custom CLI has no write path into shared memory. Left open until the PR merges.

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

    enhancementplan:doing

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions