Executable architecture governance: an unevaluated rule is reported as a failure, never a pass.
Bilingual Navigation: Versión en Español
Your architecture rules, running on every PR.
Real output of the published CLI on an empty repository (2026-09-14, abridged; full 71-row capture).
Evolith is an architecture linter for CI. It reads your repository — structure, workflows, manifests, architecture decisions — and checks it against a library of rules: layering, dependencies, security, CI/CD. If a blocking rule fails, the PR fails.
What sets it apart from other linters: it also counts the rules it could not evaluate. A blocking rule that never ran fails the PR exactly as one that failed. Coverage and compliance are never painted the same green.
It is for engineering teams that want their architecture decisions enforced in CI rather than reviewed by hand, for platform teams blocking non-conformant artifacts before production, and for AI agents that need to validate their own output against the same rules.
Try it · Four terms · In CI · What is inside · What it is not · Documentation · Interactive atlas
You need Node ≥ 18. No database, no server, no Docker; your code never leaves your machine.
npx -y @beyondnet/evolith-cli init --name my-project --yes # writes evolith.yaml in the current directory
npx -y @beyondnet/evolith-cli validate --engine opa # evaluates; exits 2 if anything blocking did not pass
The first run will fail, and that is fine: it is a baseline, not a grade. Many rules assume a layout your repository does not have yet. To start only from what you have already adopted:
npx -y @beyondnet/evolith-cli rulesets # lists the packs your installation loads
npx -y @beyondnet/evolith-cli validate --engine opa --select rulesets/acl/anti-corruption-layer.rules.json
init writes evolith.yaml with the product's name, type and phase and your stack; --engine opa picks the engine with the most coverage today (why, in Known limitations). What a first run looks like, row by row: capture. Full guide: Quickstart.
MUST / SHOULD / COULD) and a verdict: passed, failed or skipped (could not be evaluated). A MUST that ends skipped blocks exactly as a failed one.*.rules.json file grouping rules by topic (ACL, security, CI…). evolith rulesets lists them; --select picks which ones to apply.modular-monolith, distributed-modules, microservices, event-driven, serverless, edge-computing, data-mesh or agentic-ai. The same rules follow you when the monolith splits into services.An ADR (Architecture Decision Record) is an architecture decision in writing; evolith adr create drafts one, and many rules are derived from them. Full glossary.
- uses: beyondnetcode/evolith_arch32@v1
with:
fail-on-violation: true
Exit codes: 0 pass · 1 the tool failed · 2 the gate blocked · 3 invalid invocation. 1 and 3 mean the repository was not evaluated: they are not weaker forms of non-compliant, and the job summary says so in words.
For an AI agent, the same engine as an MCP server over stdio (Node ≥ 20):
{ "mcpServers": { "evolith": { "command": "npx", "args": ["-y", "@beyondnet/evolith-mcp"] } } }
| Product | Role |
|---|---|
| Evolith Core | The library of rules, ADRs and phase schemas. MIT and free: files you can read, edit and version |
| Evolith CLI | Evaluates your repository locally or in CI; manages ADRs and phase gates |
| MCP Services | The rules as live context for an agent |
| Core API | REST to query and evaluate remotely |
| Agent Runtime | Drives the Core from an agent, through Ports and Adapters. Experimental |
| Evolith Tracker | Commercial lifecycle-governance product. Not yet launched; it will be the only paid one |
How many rules, packs and ADRs your installation loads is printed by evolith rulesets; the tree's counts are measured by CI on every PR and published in the corpus inventory.
What this front page does not say — what each engine covers, counts that disagree, real adoption, unverified platforms — lives on a single dated page: Known limitations. It exists because a README that only tells the good part is exactly the defect Evolith detects.
| To… | Go to |
|---|---|
| Start from your role | Start by Role |
| Understand the rules and ADRs | Evolith Core hub |
| See the executable corpus | Rulesets · OPA policies · Schemas |
| Choose or migrate a topology | Topologies hub |
| Use the CLI, MCP or REST | Interfaces hub · Evolith CLI hub |
| See the project's state | Known limitations · Gap board · Maturity |
| Answer a specific question | Q&A · Glossary |
| Walk the whole corpus | Master Index · Product hub · Repository Taxonomy |
Start here: issues that are good for a first contribution — most touch a single file. Unsure before opening a PR? Discussions.
Three ways to contribute without writing TypeScript: correct a count that disagrees between docs and code · translate a hub into Spanish · add a rule to src/rulesets/.
Before the PR: Contribution Guide · Security Policy · AGENTS.md · CHANGELOG
Released under the MIT License.
Source-derived launch command. Check the maintainer’s required arguments and credentials before running:
npx -y @beyondnet/evolith-mcpMerge this template into ~/Library/Application Support/Claude/claude_desktop_config.json. Keep existing servers. Add any arguments, credentials, and permissions required by the maintainer; this template has not been install-tested.
{
"mcpServers": {
"io-github-beyondnetcode-evolith": {
"command": "npx",
"args": [
"-y",
"@beyondnet/evolith-mcp"
]
}
}
}Restart Claude Desktop completely for changes to take effect. Confirm the server appears connected in the client’s tool list, then try a read-only example from its documentation.
Claude Desktop setup referenceEvolith Architecture Governance works with any MCP-compatible client. Copy the config snippet from the Configuration section above and add it to the file shown for your client, then restart the application.
~/Library/Application Support/Claude/claude_desktop_config.jsonRestart Claude Desktop completely for changes to take effect.~/.cursor/mcp.jsonRestart Cursor for changes to take effect..vscode/mcp.jsonReload VS Code window for changes to take effect.~/.codeium/windsurf/mcp_config.jsonRestart Windsurf for changes to take effect..mcp.jsonSave at the project root, then start Claude Code in that project and review the MCP server approval prompt. Keep real credentials out of shared files.