Skip to main content

Intelligent code analysis tool for understanding any codebase. Analyze dependencies, risks, and architecture instantly.

Project description

Atlas Strata - Code Architecture Analysis

A pure Python CLI for analyzing codebase architecture, dependencies, and code quality.

Features

  • Intelligent Code Analysis - Build dependency graphs automatically
  • Architecture Understanding - Identify coupling, cycles, dead code, impact analysis
  • Health Scoring - Rate architecture quality and surface issues
  • Dependency Visualization - Interactive browser-based graphs
  • Multiple Languages - Python, TypeScript, Java, Go, C#
  • JSON Export - Integration with CI/CD and other tools
  • Cross-platform - Windows, macOS, Linux

Quick Start

Installation

pip install atlas-strata

After installation, the atlas command will be available globally in your terminal.

Usage Examples

# Quick analysis
atlas analyze .

# Generate interactive graph
atlas visualize . --format html

# Check code health
atlas health .

# Find circular dependencies
atlas health cycles .

# Detect dead code
atlas health dead-code .

# Query dependency paths
atlas query --from auth.py --to main.py .

# Get JSON output
atlas analyze . --format json

Commands

Standalone CLI

# Analyze directory
atlas analyze <path> [--format json|text|mermaid]

# Generate health report
atlas report <path>
atlas health <path>

# Visualize dependency graph
atlas visualize <path> [--format html|json] [--output FILE]

# Query dependencies
atlas query --from <source> --to <target> <path>

# Show help
atlas --help

Running Tests

# Run full test suite
pytest tests/

# Run specific tests
pytest tests/test_cli.py -v

# With coverage
pytest --cov=agent tests/

Expected: 159+ tests passing

Architecture

Atlas uses a pure Python architecture:

  • Core Modules: agent/atlas/core/ - Analysis engines (Analyzer, QueryEngine, Visualizer, Formatters)
  • Existing Analysis Infrastructure: Reuses all existing analyzers (BlastRadius, DeadCode, Cycles, Coupling, Health)
  • CLI Layer: agent/cli.py - Command-line interface using Click
  • No Internal LLM: All LLM reasoning handled by Copilot CLI

No External Dependencies for LLM

  • ✅ No GitHub Copilot SDK imports
  • ✅ No direct API calls
  • ✅ No hardcoded credentials
  • ✅ Pure JSON output to stdout
  • ✅ Copilot CLI manages all LLM authentication

Documentation

See the docs/ and site/ directories for detailed documentation.

Development

See CONTRIBUTING.md for contribution guidelines. Requires Python 3.12+.

License

MIT License

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

atlas_strata-0.1.2.tar.gz (39.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

atlas_strata-0.1.2-py3-none-any.whl (10.2 kB view details)

Uploaded Python 3

File details

Details for the file atlas_strata-0.1.2.tar.gz.

File metadata

  • Download URL: atlas_strata-0.1.2.tar.gz
  • Upload date:
  • Size: 39.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for atlas_strata-0.1.2.tar.gz
Algorithm Hash digest
SHA256 5d4d4d2fdb3bacf65c8a485b083eedb42b446da343a7d589b0323f9a5dc165ab
MD5 8b7c5f59a5a722ec4b42f2c1d5941b15
BLAKE2b-256 8f787abcc517e1a8a83a4676d5717f3308fb50ccaf4e17cb759935b49c611969

See more details on using hashes here.

Provenance

The following attestation bundles were made for atlas_strata-0.1.2.tar.gz:

Publisher: ci.yml on punitganshani/atlas-strata

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file atlas_strata-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: atlas_strata-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 10.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for atlas_strata-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2432533e68918f3a2689220956565687192fb59f33b8ac9e847ba85b19badf02
MD5 20b1474fd80d577e616efe24e5760a3b
BLAKE2b-256 c88d62d6ffd5a285c8efa41e99474a8c64ce4b621ce972930d7aa52584130e1c

See more details on using hashes here.

Provenance

The following attestation bundles were made for atlas_strata-0.1.2-py3-none-any.whl:

Publisher: ci.yml on punitganshani/atlas-strata

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page