New:Socket for Asana Is Now Available.Learn more
Get Started

architectos

Package Overview
Dependencies
Maintainers
1
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

architectos

ArchitectOS - AI-Native Repository Intelligence Operating System

Source
npmnpm
Version
1.2.0
Version published
Weekly downloads
21
-66.67%
Maintainers
1
Weekly downloads
 
Created
Source

ArchitectOS

AI-Native Repository Intelligence & Governance Engine

ArchitectOS analyzes your repository, explains its architecture, calculates change impact, and enforces guardrails for AI Agents (Claude Code / Cursor / Codex).

License: MIT NPM Version Dogfooded with ArchitectOS Node.js MCP Ready

Strict Product Mandate: ArchitectOS never modifies user code directly; it exclusively analyzes, explains, calculates impact, and generates actionable refactoring plans. Code modifications are executed by AI Agents or human developers.

⚡ Quickstart & 7 Core Commands

# 1. Initialize and review repository
npx architectos

# 2. High-level repository health, security & UI review
architectos review

# 3. Component deep-dive (supports --why, --ui, --dead)
architectos analyze toolbar.tsx
architectos analyze toolbar.tsx --why
architectos analyze --ui
architectos analyze --dead

# 4. Cross-graph downstream change impact & risk rating
architectos impact auth.ts

# 5. Structured refactoring migration plan
architectos plan toolbar.tsx

# 6. Symbol resolver & natural language architecture query
architectos resolve WorkspaceRepository
architectos resolve "Where is tenant isolation enforced?"

# 7. Native MCP server gateway & live watcher
architectos watch
architectos mcp

🏛️ The ArchitectOS Pipeline

architectos review               # High-level repository health & top issues
      ↓
architectos analyze <target>     # Component metrics (--why, --ui, --dead)
      ↓
architectos impact <target>      # Cross-graph downstream change risk
      ↓
architectos plan <target>        # Step-by-step refactoring migration plan
      ↓
architectos resolve <symbol>     # Hallucination shield & symbol resolver
      ↓
AI Agent / Developer executes refactor

🎯 Engine Precision & Accuracy Features

  • Framework Entrypoint Whitelist: Eliminates false positives for Next.js (GET, POST, generateMetadata, middleware), Remix, and Vitest test suites.
  • Type-Only vs Runtime Edge Separation: Distinguishes compile-time import type from heavy runtime JavaScript bundle weight.
  • Tarjan SCC Cycle Detection: Mathematically sound circular dependency cycle detection for complex monorepos.
  • Breaking API AST Diffing: Detects removed exported functions or modified interface signatures (BREAKING_API_CHANGE).
  • SAST Noise Filter: Excludes .env.example, fixtures/, mocks/, and test files from production security scoring.
  • Deterministic AST Synonym Expansion: Derives natural language search tokens directly from codebase AST identifiers.

🧪 Real-World Benchmark Verification (v1.1.8 Engine Breakdown)

ArchitectOS is battle-tested and dogfooded across major open-source codebases with transparent sub-metric scoring:

RepositoryFilesOverallArchSecQualAIUIScan SpeedTop Focus Area
excalidraw/excalidraw520+88/1009284909480<18msCanvas Component Decomposition
calcom/cal.com1,400+84/1008088829080<45msBooking Service Layer Isolation
shadcn/ui120+96/1009895969596<8msUI Component Primitive Boundaries
cgseyhan/architectos62100/100100100100100N/A<35msNative Self-Hosted AST Governance

Note: Pure CLI / backend repositories (e.g. architectos) omit UI Architecture scoring.

🤖 Native MCP Server Integration

Add ArchitectOS to your Claude Code, Cursor, or Codex MCP configuration:

{
  "mcpServers": {
    "architectos": {
      "command": "npx",
      "args": ["-y", "architectos", "mcp"]
    }
  }
}

Registered MCP Tools

  • architectos_review: Repository health & problem breakdown.
  • architectos_why: Root-cause coupling analysis.
  • architectos_impact: Polyglot change impact calculator.
  • architectos_plan: Step-by-step migration refactoring plan.
  • architectos_resolve: Symbol resolver & hallucination shield.
  • architectos_dead: Unused exports & zombie code detector.
  • architectos_ui: Framework-agnostic UI component composition & boundary audit.
  • architectos_remember: Store persistent architectural guardrail rules.

📄 License

MIT License © 2026 ArchitectOS Authors

Keywords

architectos

FAQs

Package last updated on 27 Jul 2026

Related posts