Sarmal: Plan & Guardrails for AI AgentsWrite your project's plan, structure and rules in Sarmal is an open-source language for declaring a software project's folder structure, plan and rules. It does not generate code; it keeps the why and the order of the code from getting lost. You declare the architecture and the work. The engine compares the declaration with the disk on every save and puts any drift in front of you as a diagnostic that explains the cause and the fix. The plan stops being a slide deck and becomes the one living, checked source of truth for the project, for you and for your AI agents alike.
Getting startedInstall the extension from the Marketplace, or run To give your AI agents the same plan, connect the MCP server from a clone of the repository. It needs Node.js 23.6 or newer and has no install step:
Any MCP client can start the same command over stdio. The full setup and a tool-by-tool check are in the repository README. What you get in the editorSyntax highlighting and semantic coloring, an outline, folding, signature help, completion fed by the canon, format on save and clickable reference paths come with the install. Findings land in the editor's own Problems panel. Each of the 198 diagnostics has an English and a Turkish body, and each one explains the fix in full sentences instead of only naming the defect. The side panels make the plan visible. Roadmap lists phases, blocks and steps with their status, Mini Graph draws the dependency skeleton, Approvals collects the gates that wait for a decision, and Reminders and Observations carry the engine's watches in plain language. The status bar shows their counters, and when the type registry cannot be found it says plainly that the built-in base canon is in use. No fallback is silent. One principle for the English windowSarmal is a language with Turkish roots, and the extension keeps one simple rule for English users. A Colors, MCP and privacyThe extension forces no color on you. The grammar emits standard scope names, so your own theme colors Sarmal source from the moment you install. If you want the canon's palette, the Sarmal Dark and Sarmal Light themes ship in the package, and so does the North Star product icon theme. If you work with AI agents, the Sarmal core includes an MCP server with 18 tools. Agents read the plan through them, get a plan step's full context from the chef tool and move status through a single authoritative gate. Setup is described under Getting started above. Sarmal is entirely local. The extension has zero runtime dependencies, makes no network calls and sends no data anywhere. The privacy policy explains how that claim was measured so you can repeat the measurement yourself. LinksSource, documentation and issues: https://github.com/nexivion-labs/sarmal. License: Apache-2.0. Developed by Nexivion Labs. |
