Get Started

Install Lagune on OpenCode as a Plugin

Install Lagune on OpenCode 1.x and 2.x as a plugin, and keep it updated.

Install the plugin from your terminal:

opencode plugin add lagune

Or add it to the plugins list of opencode.json:

{
"plugins": ["lagune"]
}

Update​

To update Lagune, run:

opencode plugin update lagune
opencode reload

Commands​

Type @ and pick the command, such as @lagune-charter, then write your input in the same message.


Permissions

The engine runs through two tools: lagune_read only reads your project, and lagune_write only writes to .lagune/. OpenCode runs them without asking.

Frequently Asked Questions

On OpenCode 2.x, run opencode plugin add lagune. On OpenCode 1.x, run opencode plugin lagune, adding -g to install it for all your projects.

On OpenCode 2.x, run opencode plugin update lagune, then opencode reload. On OpenCode 1.x, run opencode plugin lagune@0.16.0 --force.

On OpenCode 2.x, type @ and pick the command, such as @lagune-charter, then write your input in the same message. On OpenCode 1.x, type them by name, such as /lagune-charter, or find them under /skills.

No. OpenCode runs the engine's two tools, lagune_read and lagune_write, without asking.

Last updated on November 3, 2026.

Copyright © 2026-present Weslley Araújo and contributors. Lagune is under the Apache License 2.0. Please check the Security Policy.

All product names, trademarks, and registered trademarks mentioned are the property of their respective owners and are used for identification purposes only.