Skip to content

v0.1.0

Choose a tag to compare

@PVLPM PVLPM released this 30 Nov 01:57
· 100 commits to main since this release

Mistral Vibe as an OpenCode V2 provider.

The package registers the provider vibe-agent. Each of its models is the official Mistral Vibe runtime
(vibe-acp) driven over the Agent Client Protocol on stdio, authenticated by your own Vibe sign-in — so inference
runs on your Vibe subscription, not on a metered API key.

Install

Requires OpenCode V2 and the official vibe-acp runtime, installed and signed in. Add the plugin to your OpenCode
configuration and restart:

{
  "plugins": ["opencode-vibe-agent@0.1.0"]
}

Then select Vibe Agent in the model menu. Reasoning effort is that model's variants.

What it does

  • Vibe keeps its own agent loop — shell, file operations, search, AGENTS.md project context, skills, MCP servers,
    sessions, compaction and caching. This package supplies the boundary only.
  • One vibe-acp child per OpenCode session, each with its own persistent Vibe session, so parallel agents and
    background workers run concurrently.
  • Every ACP permission request Vibe emits is correlated with its tool call and relayed to OpenCode's own
    permission policy, mapped to OpenCode's native actions. Operations Vibe performs without asking never reach
    OpenCode; the README states that boundary plainly.
  • Models and reasoning effort are discovered from the installed runtime, published as OpenCode models and
    variants. Nothing is hardcoded, and context windows come from Vibe's own model catalogue.
  • Attached images are forwarded as ACP image blocks, for the models the catalogue says can read them.
  • Sessions survive a host reload or a child crash. An interrupted turn ends safely, and the next message restores
    the existing Vibe session when delivery can be established — and refuses rather than replays when it cannot.
  • Credential gate. A Team plan, an API or Mistral Code plan, a non-Vibe credential or an enabled pay-as-you-go
    budget is refused before any prompt is sent.

Known limitations

  • Vibe keeps its own title and compaction, so agents.title and agents.compaction must point at a non-Vibe model.
  • An interrupted stream is not resumed; the turn is not replayed.
  • Vibe is a worker, not an orchestrator: it cannot drive OpenCode subagents.
  • OpenCode does not see operations Vibe performs without asking.
  • Image support is per model, and the per-model answer comes only from Vibe's local catalogue — ACP answers once per
    runtime.
  • Token accounting is limited by what OpenCode's provider interface can carry; see the README.

Links