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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file atlas_strata-0.1.3.tar.gz.
File metadata
- Download URL: atlas_strata-0.1.3.tar.gz
- Upload date:
- Size: 39.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a8d5c1942de3fd4dd4fc150c04b59273d34e3aa777ab315c2f3d034944815624
|
|
| MD5 |
356847bb793e9a743df6d231313f70f5
|
|
| BLAKE2b-256 |
7e89aa1677814c5da9dd488503dd95d1973c90b00c477d94ebe34f93195c3012
|
Provenance
The following attestation bundles were made for atlas_strata-0.1.3.tar.gz:
Publisher:
ci.yml on punitganshani/atlas-strata
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
atlas_strata-0.1.3.tar.gz -
Subject digest:
a8d5c1942de3fd4dd4fc150c04b59273d34e3aa777ab315c2f3d034944815624 - Sigstore transparency entry: 1431344408
- Sigstore integration time:
-
Permalink:
punitganshani/atlas-strata@611396fef6874e01025d87ce63d424e40c9f5161 -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/punitganshani
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@611396fef6874e01025d87ce63d424e40c9f5161 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file atlas_strata-0.1.3-py3-none-any.whl.
File metadata
- Download URL: atlas_strata-0.1.3-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f9441542ecca98d643e5ac2bd3f1ad456758ca269260cd87fe63d6a5ee0ce34b
|
|
| MD5 |
75ce8458564d5e4e3fb7c6770e53f4b0
|
|
| BLAKE2b-256 |
da0a4d3a8c62562fde19cee29f45dbeffbf07755e1e88b4005410ea4f069fec0
|
Provenance
The following attestation bundles were made for atlas_strata-0.1.3-py3-none-any.whl:
Publisher:
ci.yml on punitganshani/atlas-strata
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
atlas_strata-0.1.3-py3-none-any.whl -
Subject digest:
f9441542ecca98d643e5ac2bd3f1ad456758ca269260cd87fe63d6a5ee0ce34b - Sigstore transparency entry: 1431344611
- Sigstore integration time:
-
Permalink:
punitganshani/atlas-strata@611396fef6874e01025d87ce63d424e40c9f5161 -
Branch / Tag:
refs/tags/v0.1.3 - Owner: https://github.com/punitganshani
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@611396fef6874e01025d87ce63d424e40c9f5161 -
Trigger Event:
workflow_dispatch
-
Statement type: