ArchSutra AI
Get an evidence-tagged architecture and threat-model review.
Reviews architecture and threat models and tags each point with the file it came from. Offline CLI, plus skills for common coding agents.
- Offline CLI
- 19 rules
- 12 role contracts
- npm latest
- [email protected]
- GitHub version
- 0.1.5
- Licence
- Apache-2.0
- Language
- TypeScript
- Weekly downloads
- 48
- Overall downloads
- 986
- GitHub stars
- 4
GitHub reported 2 open issues.
Use it when
- 1
You want architecture audit, design, and threat-modeling skills inside Claude Code, Cursor, Codex, GitHub Copilot, or Gemini CLI.
- 2
You want findings that cite file and line with severity and a fix.
- 3
You want Mermaid diagrams and SARIF out of an offline CLI.
What it does, and what it does not
Read this before the guide. A limit here is a limit of the tool.
Does
- The project page lists 36 automated tests, Node 20, 22, and 24, on Ubuntu and Windows, and 0 runtime dependencies.
- 19 audit rules and twelve role contracts led by Prime.
- Findings cite file and line, with severity, confidence, a fix, and acceptance criteria. Claims are tagged observed, inferred, proposed, or unknown.
- Exports Markdown, Mermaid, JSON, and SARIF 2.1.0. A CI gate uses --fail-on high.
- The project page says 52 public repositories were audited and 98 findings were hand-labeled. It also says precision was measured at 69% then 95% on repositories not used for tuning, with wide intervals and one labeler.
- Adapters write files for Claude Code, Cursor, Codex, GitHub Copilot, and Gemini CLI. The page labels that level "adapter": layouts match vendor docs, live smoke tests are pending.
Does not
- It does not certify compliance or security. Absence of findings is not proof of absence of vulnerabilities.
- The page says live IDE behavior, an independent security review, trademark clearance, and a lawyer review are not proven yet.
- Reliability, performance, and cost stay "not assessed" unless evidence exists.
- The CLI sends nothing and has no telemetry. Skills use the IDE model under that vendor's terms.
Claims above are from the project pages and are attributed as stated there. They are not independently verified here.
How a run moves
From the ArchSutra project page, version 0.1.4. The CLI measures. Inside an IDE, that vendor's model reasons. Neither needs an ArchSutra key.
-
1. Input
Files, or an IDE
The CLI reads the repository offline. Skills can sit in Claude Code, Cursor, Codex, GitHub Copilot, or Gemini CLI.
-
2. Check
19 rules
Each claim is tagged observed, inferred, proposed, or unknown. Twelve role contracts are led by Prime.
-
3. Finding
File and line
Severity, confidence, a fix, and acceptance criteria. Reliability, performance, and cost stay "not assessed" unless evidence exists.
-
4. Export
Review aid
Markdown, Mermaid, JSON, and SARIF 2.1.0. --fail-on high is the CI gate. Absence of findings is not proof of no vulnerabilities.
How to read the result
Wording is from the project page or README and is attributed as stated there. It is not independently verified here.
Commands and notes
- The project page shows: npx github:shahvatsalofficial/archsutra-ai audit .
- npm package name is archsutra-ai at 0.1.4.
Guide
How to use the result. GitHub is the source repository. npm is the install.
What the project page claims
ArchSutra AI 0.1.4. The page says the CLI measures and the IDE model reasons. Neither needs an ArchSutra key.
- Every claim is tagged observed, inferred, proposed, or unknown.
- Findings cite file and line, with severity, confidence, a fix, and acceptance criteria.
- Twelve role contracts led by Prime: security, data, cloud, integration, AI, reliability, cost, delivery, and verification.
- Exports Markdown, Mermaid, JSON, and SARIF 2.1.0. A CI gate uses --fail-on high.
- The page lists 36 automated tests, Node 20, 22, and 24, on Ubuntu and Windows, and 0 runtime dependencies.
Where the skills are written
The page calls every host "adapter": files match vendor docs. Live smoke tests are pending.
- Claude Code: .claude/skills/ and .claude/agents/.
- Cursor: .cursor/skills/ and .cursor/agents/.
- OpenAI Codex: .agents/skills/ plus AGENTS.md. No agents folder.
- GitHub Copilot: .github/skills/ and .github/agents/*.agent.md.
- Gemini CLI: .gemini/skills/. No agents folder.
- The page says those layouts were checked against vendor docs read on 2026-11-01.
Trust numbers, and what is not proven
- The page says 52 public repositories were audited and 98 findings were hand-labeled.
- It says precision started at 50%, was fixed, then measured 69% and later 95% on repositories not used for tuning, with wide intervals and one labeler.
- It says about half of valid findings need no action.
- Not proven yet, in the page's words: live IDE behavior, an independent security review, trademark clearance, and a lawyer review.
- Reports are review aids. Absence of findings is not proof of absence of vulnerabilities. Nothing there is legal advice or a compliance attestation.
Documentation
Titles below are the HTML titles from the GitHub Pages site on 2026-11-17. A sentence is shown only when that page has its own meta description. This website did not re-check the measurements those pages describe.
- ArchSutra AI - Software Architecture Audit Agent for Claude Code, Cursor, Codex, Copilot & Gemini CLI Open-source software architecture agent: audit, design, threat-model and modernize with file-and-line evidence. Agent Skills plus an offline CLI. No extra API key. Apache-2.0.
- ArchSutra AI Handbook | ArchSutra AI Start here. Map of every document, who it is for, and the facts that never change.
- Executive summary | ArchSutra AI The problem ArchSutra AI solves, what it delivers, what it costs, what it does not do, and the risks.
- Functional specification | ArchSutra AI Requirement-level description of every capability, actor, input, output and acceptance test.
- Technical specification | ArchSutra AI Module-by-module description of the implementation, data structures, algorithms, limits and extension points.
- Architecture | ArchSutra AI C4 views, runtime flows, trust boundaries, quality attributes and the decisions behind ArchSutra AI.
- User guide | ArchSutra AI Install, run your first audit, use the skills in your AI IDE, wire it into CI, and fix common problems.
- CLI reference | ArchSutra AI Every command, option, exit code and output file of the archsutra CLI.
- Security, privacy and legal | ArchSutra AI Security model, privacy guarantees, license, trademarks, disclaimers, and what has not been checked.
- Testing and proof | ArchSutra AI Test results, CI evidence, coverage, fixtures, sample outputs and what is not proven. Real-world accuracy is in its own chapter.
- Compatibility and roadmap | ArchSutra AI Per-host support levels, what is verified, and the milestone plan with acceptance tests.
- Contributor guide | ArchSutra AI How to set up, extend and release ArchSutra AI; coding rules and review checklist.
- Glossary and FAQ | ArchSutra AI Definitions of terms and direct answers to the most common questions.
- Audit rule catalog | ArchSutra AI All 19 audit rules: what each detects, severity, confidence, false-positive notes and how to fix.
- Trust and assurance | ArchSutra AI Every question a skeptical reader should ask, the evidence we have, and what is still open, with no rounding up.
- Real-world evaluation | ArchSutra AI How ArchSutra
- Supply chain and release | ArchSutra AI How releases are built, signed and attested, how to verify them, and which supply-chain controls exist.
- Performance and quality metrics | ArchSutra AI Measured speed, memory, test coverage and robustness checks, with the exact commands and caveats.
- Architecture overview | ArchSutra AI Architecture overview - ArchSutra AI documentation.
- Threat model (ArchSutra CLI and skills) | ArchSutra AI Threat model (ArchSutra CLI and skills) - ArchSutra AI documentation.
- Compatibility matrix | ArchSutra AI Compatibility matrix - ArchSutra AI documentation.
- RFC 0001: ArchSutra AI v0.1 | ArchSutra AI RFC 0001: ArchSutra AI v0.1 - ArchSutra AI documentation.
- ADR-0001: Deterministic CLI plus IDE-native skills | ArchSutra AI ADR-0001: Deterministic CLI plus IDE-native skills - ArchSutra AI documentation.
- Live host smoke tests | ArchSutra AI A step-by-step protocol to prove ArchSutra
- Good first issues (ready to file) | ArchSutra AI A starter backlog of well-scoped tasks for new contributors, each with an acceptance test.
- Name and trademark clearance | ArchSutra AI What was checked about the name "ArchSutra", what was not, the informal results, and the steps still needed before commercial use.
- Legal review brief | ArchSutra AI A ready-to-send package for a lawyer: what to review, the questions to answer, and the documents involved.
- Accessibility audit of the documentation site | ArchSutra AI Accessibility audit of the documentation site - ArchSutra AI documentation.
Questions
Do I need an ArchSutra API key?
No. The project page says the CLI is offline. Inside a supported IDE the skills use that IDE's model, so you need access to the IDE, not an ArchSutra key.
Does ArchSutra certify architecture or security?
No. The project page says reports are review aids and nothing there is legal advice or a compliance attestation.
Other projects
Highest overall npm downloads first. A count is use, not a quality score.
- VigilSutra AI 178 last week · 2,414 overall · 4 stars
- RachnaSutra AI 33 last week · 993 overall · 4 stars
- PramanaSutra AI 196 last week · 973 overall · 4 stars
- IntentSutra AI 838 last week · 838 overall · 0 stars
- IncidentSutra AI 199 last week · 734 overall · 4 stars
- ContribSutra AI 235 last week · 730 overall · 4 stars
- LocalSutra AI 212 last week · 720 overall · 4 stars
- GovernSutra AI 299 last week · 699 overall · 0 stars
- EvalSutra AI 24 last week · 614 overall · 4 stars
- DocSutra AI 31 last week · 593 overall · 4 stars
- ProtocolSutra AI 27 last week · 593 overall · 4 stars
- ContextSutra AI 22 last week · 581 overall · 4 stars
- MigraSutra AI 28 last week · 578 overall · 4 stars
- WattSutra AI 33 last week · 519 overall · 4 stars
- ContractSutra AI 516 last week · 516 overall · 0 stars
- AccessSutra AI 504 last week · 504 overall · 0 stars
- EdgeSutra AI 40 last week · 395 overall · 4 stars
- LineageSutra AI 39 last week · 364 overall · 0 stars
- DeploySutra AI 46 last week · 329 overall · 0 stars