OpenViSTAI · Agents · Blockchain · Crypto
Menu
Agent Security & Sandboxing

Lagune

Lagune is a developer security tool that adds defensive security skills and a staged code-hardening workflow to AI coding agents.

Independent OpenViST project profile, based on linked sources.

Lagune — Security review and remediation conducted through an AI coding agent
OpenViST project illustration. See the linked sources for product details.
Understand the project

Practical overview

When it fits

Use Lagune when you want an AI agent to structure defensive security work during development or to guide a staged review of existing source code.

Who it is for

  • Developers who want an AI coding agent to review and harden a project as they build.
  • Teams using an AI agent to assess an existing codebase and track security fixes through verification.

Documented uses

  • Establish project-specific security rules and relevant security specializations.
  • Map code-level risks and pair findings with proposed fixes.
  • Apply defensive changes and check them against the source code.
  • Run a read-only sweep that reports flaws and fixes without changing Lagune tracking.
Before you choose

Requirements & limits

Node.js LTS is required. Installation method depends on the AI agent; the documentation also provides an npm command for installing Lagune in a project for offline use.

  • Lagune reviews source code and does not run the system or send crafted requests; it does not answer live-runtime security questions.
  • The phased workflow tracks findings across runs, while the documented shallow scan is read-only and does not write to Lagune tracking.
  • The skills CLI installs slash commands in the project; an agent plugin keeps them inside the agent.
  • Lagune runs on Node.js, but its documentation says it can audit and harden projects written in any programming language.

Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.

Source-based practical guide

Install Lagune in a project with npm

Install Lagune as a project dependency for use with an AI agent.

Before you start

  • Node.js LTS.
  • A project where you can install npm dependencies.

Steps

  1. From the project, install Lagune with the command below.

    Documented command
    npm i -D lagune@0.21.0
  2. Choose the security specialization categories that fit the project; the documentation gives the command below as an example.

    Documented command
    npx lagune write add --categories owasp
  3. Use the installation guidance for your chosen agent to connect Lagune: supported agents may use a plugin, extension, package, or the skills CLI.

Expected outcome

Lagune is installed in the project, with security specializations selected for the project. The first command that writes creates a `.lagune/` directory for its security state.

Guide limitations

  • The installation command alone does not audit or harden the project.
  • Agent-specific installation details are provided on the corresponding agent installation pages.
  • Lagune reads source code; it does not run the application or test a live target.
Source-based practical guide

Run Lagune’s sequential Blue Team audit flow

Run the documented charter, detection, planning, hardening, and verification stages in sequence.

Before you start

  • Lagune installed and available to the chosen AI agent.
  • An existing project for the audit.

Steps

  1. Ask the agent to run /lagune-charter.

  2. Run /lagune-detect, then /lagune-plan, then /lagune-harden, in that order.

  3. Run /lagune-verify.

  4. If verification rejects any fixes, repeat /lagune-harden and /lagune-verify until the findings are resolved.

Expected outcome

The flow produces a project charter, maps and plans findings, applies fixes, and checks them against the source code.

Guide limitations

  • Verification evaluates source code and does not establish whether controls withstand attacks on a live application.
  • Lagune does not replace a penetration test or dynamic application security testing.
COMPARE OPTIONS

Compare options for AI coding assistance

These projects document a common task and share a project role. This is a source-based comparison, not an execution benchmark or a guarantee of interchangeability.

ProjectDocumented purposePlatformAccess and requirements
LaguneEstablish project-specific security rules and relevant security specializations.CLI, Server, Self-hostedNode.js LTS is required. Installation method depends on the AI agent; the documentation also provides an npm command for installing Lagune in a project for offline use.
GreyhavenObserve agent filesystem reads and writes, network connections and command attempts.Linux, macOS, CLI, Self-hostedGreywall is described as running entirely on the user's machine, and no account is described as needed for its primary local command-line use. The source code is described as open and auditable.
Project CodeGuardMake security rules available to a coding agent during code generation and review.
Evidence and transparency

Sources & review

Source record details
Source availability
Active
Sources checked
20 November 2026
Original website title
AI-Driven Security Hardening for Any Codebase | Lagune · Official homepage title · retained in its source language