lagune
v0.11.0
Published
π Your security copilot as you build, your Blue Team when you audit, whether you're a developer or not.
Downloads
463
Maintainers
Keywords
Readme
π Lagune | lagune.ai
Lagune helps your AI agent make a project more secure. You point it at your code, and the agent figures out what your system actually does, then guides you through the security work that matters for it.
- Lagune works with projects in any programming language and supports 72 agents β¨
Love Lagune? Give us a β on GitHub!
Table of Contents
- π Get Started
- π¦ Dashboard | CLI
- π¬ Slash Commands
- π½ Requirements
- π Security
- π Acknowledgements
- π§ββοΈ License
Get Started
Lagune adapts to your environment, whether it is a new project or an existing one.
[!TIP]
No API keys are needed, it runs directly through your own agent (Claude, Codex, and more).
Dashboard
For an interactive live view, follow-up, and maintenance, run:
npx -y lagune@latestIt serves a dashboard and opens it in a random port:
- [x] Live Reload
- [x] Private and Local
- [x] Install, Pull, Update, and Manage all Lagune features directly from your browser
- [x] No
node_modulesorpackage.jsonis needed π¦
[!TIP]
- πͺ Use
--portor-pto specify a custom port.- βοΈ Press
Ctrl+Cto stop.
CLI
βΊ Install
npx -y lagune@latest init- π Lagune runs on Node.js under the hood, you use whatever language you want.
βΊ Update
To update Lagune's own files and its commands to their latest versions, run:
npx -y lagune@latest update[!TIP]
Your charter, the phase artifacts, and any custom specializations stay untouched.
βΊ Pull
When you clone or fork a project that already has Lagune, run pull to install its files from the manifest:
npx -y lagune@latest pull[!TIP]
π‘ Think of it as the Lagune equivalent of
npm i,pip install -r requirements.txt, and the like.
Slash Commands
Once Lagune is set up in your project, your AI agent unlocks a set of slash commands:
βΊ Development flow
Secure the work as you build it, guided by the charter, with no flow to follow:
| Command | What it does for you | | ----------------------------------------------------- | ------------------------------------------------------------------------- | | /lagune | Enforces security along with your development, on any prompt, at any time |
- Pull in the on-demand specializations in real time while your agent works.
- Combine it with the /lagune.charter command to shape every build around your project's own security rules.
βΊ The Blue Team flow
These five run in order. Each builds on the previous, so following the list top to bottom is all it takes:
| # | Command | What it does for you | | --- | -------------------------------------------------------------- | ------------------------------------------------------------------------------ | | 1 | /lagune.charter | Sets your project's security rules, proposed for you or shaped by what you say | | 2 | /lagune.detect | Reads your code and maps what your system does and where the risks are | | 3 | /lagune.plan | Turns what detect found into a defense plan, with a fix for each finding | | 4 | /lagune.harden | Applies the plan's fixes to your code, safely and one at a time | | 5 | /lagune.verify | Proves each applied fix holds and closes out the ones that do |
βΊ Special commands
| Command | What it does | | -------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | | /lagune.specialize | Specializes Lagune in a new security sub-skill from articles, exploits, or topics | | /lagune.prove | Turns each detected finding into a runnable proof for responsible disclosure |
[!TIP]
Security is not a cost, it is an investment: what you put in upfront, you save many times over in the incidents you never have ππ»ββοΈ
[!IMPORTANT]
See the full documentation for usage examples and more.
Requirements
You will need these tools installed on your system:
- Node.js (LTS)
- At least one of the Supported Agents
Security
To details, report a vulnerability, and see the supported versions, see the Security Policy.
Contributing
π§ Coming Soon.
Acknowledgements
Partners
Partners get an exclusive logo across the repositories and landing pages, plus a spot on a dedicated partners page.
Help my work grow by becoming a partner π
Supporters
Really thanks to everyone who has supported and keeps supporting my work.
Support my work by becoming a sponsor too β¨
License
Lagune is under the MIT License. Copyright Β© 2026-present Weslley AraΓΊjo and contributors.
[!IMPORTANT]
Disclaimer
All product names, trademarks, and registered trademarks mentioned are the property of their respective owners and are used for identification purposes only.
