ArchFlowVisualize and understand your codebase architecture instantly. ArchFlow automatically analyzes your codebase and generates interactive architecture diagrams. Perfect for understanding unfamiliar codebases, onboarding new team members, or keeping track of AI-assisted code changes. Features
|
| Command | Description |
|---|---|
ArchFlow: Analyze Workspace Architecture |
Scan and analyze your codebase |
ArchFlow: Show Architecture Overview |
Open the architecture diagram |
Activity Bar
Click the ArchFlow icon in the Activity Bar to access:
- Overview - Tree view of your architecture
- Component Details - Detailed information about selected components
- Architecture Changes - Track changes over time
Configuration
AI-Powered Analysis (Optional)
Enable AI analysis for richer insights:
{
"archflow.llm.provider": "gemini",
"archflow.llm.apiKey": "your-api-key",
"archflow.llm.model": "gemini-2.5-pro"
}
Settings
| Setting | Description | Default |
|---|---|---|
archflow.llm.provider |
AI provider to use | none |
archflow.llm.apiKey |
API key for the selected provider | - |
archflow.llm.model |
Custom model name (optional) | Provider default |
Supported Providers
| Provider | Default Model | Example Models |
|---|---|---|
openai |
gpt-4o-mini |
gpt-4o, gpt-4-turbo |
gemini |
gemini-2.5-flash |
gemini-2.5-pro |
anthropic |
claude-sonnet-4-5 |
claude-opus-4-5 |
none |
- | Disable AI (static analysis only) |
AI Usage & Cost
ArchFlow is designed to be cost-efficient:
- 1 API request per scan - not per container or component
- Caching enabled - repeated scans within 5 minutes use cached results
- No API calls when
provider: "none"(static analysis still works)
Token usage per scan:
| Component | Estimated Tokens |
|---|---|
| Input (prompt) | ~2,000 - 3,500 |
| Output (response) | ~500 - 1,500 |
| Total | ~2,500 - 5,000 |
Estimated cost per scan:
| Provider | Model | Cost |
|---|---|---|
| Gemini | gemini-2.5-flash | ~$0.0005 - $0.001 |
| OpenAI | gpt-4o-mini | ~$0.001 - $0.003 |
| OpenAI | gpt-4o | ~$0.02 - $0.05 |
| Anthropic | claude-sonnet | ~$0.01 - $0.03 |
💡 Tip: Use
gemini-2.5-flashorgpt-4o-minifor the best cost/performance ratio.
Use Cases
- New to a codebase? Get a quick overview of how everything fits together
- Code review - Understand the impact of changes across the system
- Using AI coding tools? Keep track of what's being generated
- Documentation - Generate architecture diagrams for your docs
- Onboarding - Help new team members understand the system
Changelog
See CHANGELOG.md for release notes.
Contributing
Contributions are welcome! Please feel free to submit issues and pull requests.
License
Proprietary - Free to use. See LICENSE for details.