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 - Analyze dependencies, coupling, and architecture instantly
- Interactive Visualization - Browser-based dependency graphs with multiple layout algorithms
- LLM-Powered Insights - Ask questions about your codebase with AI reasoning (via Copilot CLI)
- Codebase Comparison - Compare two projects for architectural and structural differences
- 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
atlas --version
After installation, the atlas command will be available globally in your terminal.
Using with GitHub Copilot CLI (Recommended)
To use @atlas in GitHub Copilot CLI:
# After pip install, enable the tool once
copilot --allow-tool atlas
# Now you can use @atlas in Copilot
@atlas ask "What does the auth module do?"
@atlas analyze ./src
Direct atlas command works immediately after pip install and does not require this permission step.
Usage Examples
# Analyze codebase for dependencies and architecture
atlas analyze ./src
# Generate interactive dependency graph
atlas visualize ./src --format html
# Ask LLM about your codebase
atlas ask "What does the auth module do?" ./src
# Compare two codebases
atlas compare ./src ./backup/src
# Get JSON output for scripting
atlas analyze ./src --format json | jq
# Show detailed recommendations
atlas analyze ./src --with-recommendations
Commands
Quick Command Overview
| Command | Purpose | Setup Required |
|---|---|---|
atlas analyze |
Analyze code dependencies and architecture | ✓ Works offline |
atlas visualize |
Generate interactive dependency graph | ✓ Works offline |
atlas ask |
Ask LLM about your codebase | ⚠ Requires Copilot CLI |
atlas compare |
Compare two codebases | ✓ Works offline |
CLI Commands
3 Commands Work Offline (No Setup Needed)
# 1. ANALYZE - Analyze code dependencies and architecture
atlas analyze <path> [OPTIONS]
--format json|text|mermaid Output format (default: text)
--with-recommendations Show detailed refactoring insights
--json-output PATH Save analysis JSON to file
# 2. VISUALIZE - Generate interactive dependency graph
atlas visualize <path> [OPTIONS]
--format html|json Output format (default: html)
--output DIR Output directory (default: ./atlas-output)
# 4. COMPARE - Compare two codebases
atlas compare <path1> <path2> [OPTIONS]
--format json|text Output format (default: text)
--json-output PATH Save comparison JSON to file
LLM-Powered Command (Requires GitHub Copilot CLI)
# 3. ASK - Ask LLM about your codebase (Requires: copilot --allow-tool atlas)
atlas ask [OPTIONS]
"question" [path] Query with optional path
--interactive Interactive mode
--format json|text|html Output format
To use ask:
copilot --allow-tool atlas # One-time setup
atlas ask "your question" # Now works
4. COMPARE - Compare two codebases
atlas compare [OPTIONS] --format json|text Output format (default: text) --json-output PATH Save comparison JSON to file
Show help and version
atlas --help atlas --version
## 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.5.tar.gz.
File metadata
- Download URL: atlas_strata-0.1.5.tar.gz
- Upload date:
- Size: 109.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
85dc4c9b7e41cca50d0bd77c546312222a3a18cdeba8f507d94861e6d647998c
|
|
| MD5 |
1101910e4f05413ef7618c63096853d0
|
|
| BLAKE2b-256 |
08a200279b932ea83109aaed9d0d6e2fe517b364e72ae53045921017c4990442
|
Provenance
The following attestation bundles were made for atlas_strata-0.1.5.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.5.tar.gz -
Subject digest:
85dc4c9b7e41cca50d0bd77c546312222a3a18cdeba8f507d94861e6d647998c - Sigstore transparency entry: 1433566942
- Sigstore integration time:
-
Permalink:
punitganshani/atlas-strata@2bcc046f7ac5a5fe77c9288c3d29393170bb3f01 -
Branch / Tag:
refs/tags/v0.1.5 - Owner: https://github.com/punitganshani
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@2bcc046f7ac5a5fe77c9288c3d29393170bb3f01 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file atlas_strata-0.1.5-py3-none-any.whl.
File metadata
- Download URL: atlas_strata-0.1.5-py3-none-any.whl
- Upload date:
- Size: 94.7 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 |
1198cff64587b5ad21731ea5f67f8cbe90847d28880544da83abcf3f630960c3
|
|
| MD5 |
78764d532f37350c9ed6268f3e02902e
|
|
| BLAKE2b-256 |
31a6aaa2802750259f5ab360bdd89abecf057361ef520f37588e3a87cc311f6d
|
Provenance
The following attestation bundles were made for atlas_strata-0.1.5-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.5-py3-none-any.whl -
Subject digest:
1198cff64587b5ad21731ea5f67f8cbe90847d28880544da83abcf3f630960c3 - Sigstore transparency entry: 1433567041
- Sigstore integration time:
-
Permalink:
punitganshani/atlas-strata@2bcc046f7ac5a5fe77c9288c3d29393170bb3f01 -
Branch / Tag:
refs/tags/v0.1.5 - Owner: https://github.com/punitganshani
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci.yml@2bcc046f7ac5a5fe77c9288c3d29393170bb3f01 -
Trigger Event:
workflow_dispatch
-
Statement type: