Raysense

•
14
•

Provides a structural X-ray of codebases to empower AI agents and human developers with deep architectural insights.

Raysense acts as a structural X-ray for software projects, offering AI agents and developers a comprehensive understanding of codebase architecture. It processes repositories as dependency graphs, identifying relationships, cycles, load-bearing files, and co-evolving components. This tool addresses architectural drift that often remains invisible to agents processing files individually or to humans reviewing diffs, by providing a holistic view of the project's health across six graded dimensions like Modularity, Acyclicity, and Redundancy. It integrates seamlessly with AI coding agents via MCP, allowing them to query architectural facts and assess the impact of changes before and after edits, ensuring structural integrity is maintained.

주요 기능

01CI-Gated Policy Packs: Supports custom architectural rules defined as `.rfl` files, enabling automated checks and policy enforcement in CI/CD pipelines.
02Architectural Health Grading: Scores projects across six dimensions (Modularity, Acyclicity, Depth, Equality, Redundancy, Structural Uniformity) to track architectural drift.
03AI Agent Integration: Serves real-time architectural facts, blast radius, and regression diffs to coding agents via MCP, enhancing their understanding and decision-making.
041 GitHub stars
05Structural X-ray for Codebases: Analyzes repositories as graphs, revealing imports, cycles, and dependencies across 69 languages.
06Rayfall Query Layer: Allows agents and developers to run advanced graph algorithms, Datalog rules, and vector search against baseline tables for deep analysis.

사용 사례

01Automated Code Quality Gates: Integrates into CI/CD pipelines to enforce architectural policies and prevent code that violates structural rules from being merged.
02Empowering AI Agents: Provides structural context for AI coding agents to understand project architecture, evaluate edit impacts, and prevent regressions.
03Continuous Architectural Audits: Offers live dashboards and baseline comparisons to track architectural health, identify drift, and inform refactoring efforts.