# TangleGuard > TangleGuard is a native Rust static code analysis tool that transforms repositories into semantic architecture graphs. These graphs power codebase visualization, architectural governance (dependency rules and cycle detection), and accurate architecture context for AI coding agents. It scans large codebases in seconds across Rust, Go, TypeScript/JavaScript, Python, Kotlin, and PHP. TangleGuard serves two main purposes: understanding how a software system is structured (layers, packages, dependency graphs, coupling and cohesion), and defining clear boundaries to keep that structure in place over time. The scanners are written in Rust (compiled to WebAssembly for the UI) for deterministic, millisecond-fast analysis. It is available as a CLI, desktop app, hosted cloud GUI, VS Code extension, GitHub Action, MCP server, and Claude Code skill. Built by Archwise Solutions. ## Documentation - [Documentation home](https://tangleguard.com/docs): Entry point to all TangleGuard docs. - [Overview](https://tangleguard.com/docs/welcome/overview): What TangleGuard does — visual analysis, architectural linting, and how the pieces fit together. - [Software architecture background](https://tangleguard.com/docs/welcome/background): Concepts behind layers, packages, and dependency structure. - [Comparison with similar tools](https://tangleguard.com/docs/welcome/comparisons): How TangleGuard differs from other architecture/analysis tools. - [Workflows](https://tangleguard.com/docs/welcome/workflows): Common ways to use TangleGuard day to day. - [Provide architecture context to agents](https://tangleguard.com/docs/getting-started/context): Feed accurate structural context to AI coding agents. - [Validate your architecture](https://tangleguard.com/docs/getting-started/validation): Check dependency rule violations and circular dependencies. - [Explore codebase structure visually](https://tangleguard.com/docs/getting-started/visualization): Render and navigate the dependency graph. - [Define a target architecture](https://tangleguard.com/docs/getting-started/target-definition): Set up layers, packages, and allowed dependency rules. - [Metrics](https://tangleguard.com/docs/getting-started/metrics): Architectural metrics TangleGuard reports. - [Action recommendations](https://tangleguard.com/docs/getting-started/recommendations): Suggested fixes for structural problems. - [Circle detection](https://tangleguard.com/docs/getting-started/refactorings): Find and resolve circular dependencies. ## Scanners - [The scanners](https://tangleguard.com/docs/scanner): Overview of the native Rust language scanners. - [Rust scanner](https://tangleguard.com/docs/scanner/rust) - [Go scanner](https://tangleguard.com/docs/scanner/go) - [JavaScript & TypeScript scanner](https://tangleguard.com/docs/scanner/javascript) - [Python scanner](https://tangleguard.com/docs/scanner/python) - [Kotlin scanner](https://tangleguard.com/docs/scanner/kotlin) - [PHP scanner](https://tangleguard.com/docs/scanner/php) ## Product - [Code scanners](https://tangleguard.com/product/scanners): Native Rust scanners that extract codebase structure in milliseconds. - [Architectural guardrails](https://tangleguard.com/product/linting): Define rules visually and catch violations and cycles before a change ships. - [Agent interfaces](https://tangleguard.com/product/agent-interfaces): CLI, skill, and MCP server that let AI agents reason about architecture. - [Features](https://tangleguard.com/features): Full feature list. - [Pricing](https://tangleguard.com/pricing): Free and Pro plans. ## Use cases - [Provide context for AI agents](https://tangleguard.com/use-cases/architecture-context): Give agents accurate architectural information so they stop guessing and burning tokens. - [Enforce code structures](https://tangleguard.com/use-cases/architecture-governance): Catch dependency rule violations the moment an agent introduces them. - [Understand coupling and cohesion](https://tangleguard.com/use-cases/understand-codebases): Reveal the real structure, modules, and hidden coupling at a glance. - [Reduce time-to-market](https://tangleguard.com/use-cases/refactorings): Refactor toward a modular structure so teams ship features faster. - [Keep maintenance cost linear](https://tangleguard.com/use-cases/saving-development-costs): Stop architecture decay from making every change slower and pricier. ## Apps & integrations - [Apps overview](https://tangleguard.com/apps): All the ways to run TangleGuard. - [Desktop app](https://tangleguard.com/apps/desktop): Free native Rust architecture analysis tool for Windows, macOS, and Linux. - [CLI](https://tangleguard.com/apps/cli): Command-line architecture analysis tool. - [Cloud](https://tangleguard.com/apps/cloud): Hosted GUI — a GitHub Action uploads your structure so the team can explore it online. - [VS Code extension](https://tangleguard.com/apps/vsc): Rust architecture analysis inside your editor. - [GitHub Action](https://tangleguard.com/apps/github-action): CI/CD architecture validation. - [MCP server](https://tangleguard.com/apps/mcp): Architecture context for AI agents over the Model Context Protocol. - [Claude Code skill](https://tangleguard.com/apps/claude-code-skill): Architecture context for Claude Code agents. - [Setup wizard](https://tangleguard.com/apps/wizard): Pick a goal and get started. ## Blog - [Blog](https://tangleguard.com/blog): Insights on code quality, software architecture, and TangleGuard development. - [Why LLMs need an architecture](https://tangleguard.com/blog/architecture-IR): Why AI agents reason better with an explicit architecture representation. - [The modern dev team toolbox](https://tangleguard.com/blog/modern-software-dev-tools): Five tools that earn their place on a modern team. - [How multithreading transformed TangleGuard](https://tangleguard.com/blog/multithreading): The performance impact of multithreaded scanning. - [The open source dilemma](https://tangleguard.com/blog/source-available): Transparency vs. sustainability and the source-available model. - [Welcome to the TangleGuard blog](https://tangleguard.com/blog/welcome): Introducing the blog. ## Optional - [About Archwise Solutions](https://tangleguard.com/about): The company behind TangleGuard. - [Changelog](https://tangleguard.com/changelog): Release history. - [Contact](https://tangleguard.com/contact): Get in touch. - [Comparison: TangleGuard vs. Understand Anything](https://tangleguard.com/compare/understand-anything): Deterministic architecture analysis compared. - [Imprint](https://tangleguard.com/legal/imprint) - [Privacy policy](https://tangleguard.com/legal/privacy-policy) - [EULA](https://tangleguard.com/legal/eula) - [Discord community](https://discord.gg/eNcMDmm6CK) - [GitHub](https://github.com/tangleguard)