Archexa is a CLI tool that gives you instant architectural intelligence on any repository — from quick gists to deep agentic impact analysis.
curl -fsSL https://raw.githubusercontent.com/ereshzealous/archexa/main/install.sh | bashEngineers lose hours every sprint just trying to understand the shape of unfamiliar code. Archexa fixes that.
New engineers spend their first sprint reading code instead of shipping. Architectural context is tribal knowledge that never gets written down.
Reviewers approve changes without knowing downstream impact. One change in a shared utility ripples into six unexpected breakages.
No one runs architecture checks in CI. Patterns degrade, coupling creeps in, and the original design intent becomes archaeology.
Each command targets a different phase of your workflow — from initial exploration to production-grade review.
Get a high-level architectural gist of any repository in seconds. Stack detection, pattern recognition, module map, and hotspot identification.
Natural language questions answered with precise architectural context. “Where does auth happen?” “What calls the payment processor?” Just ask.
Before changing a file, function, or module — know exactly what breaks. Traces call graphs, dependency chains, and downstream consumers.
Code review that goes beyond syntax. Finds security vulnerabilities, resource leaks, interface mismatches, and pattern violations.
Two-phase pipeline that generates comprehensive architecture docs with diagrams, component tables, data flows, and file citations.
Feed it a stack trace, log file, or error message. It traces the call chain, reads referenced files, and explains why the error occurred.
Multi-turn conversational codebase exploration with memory. Auto topic detection, /deep toggle, and /save to export responses.
Validates your config file, API key, endpoint connectivity, and model response. One command to verify your setup is healthy.
--deepEvery command supports --deep mode — a multi-step agentic reasoning pass that produces substantially richer, cross-referenced output.
The VS Code extension brings architectural intelligence directly into your coding flow — no terminal context switching required.
Archexa: Gist, Impact, Review from anywherearchexa review automatically before you push
Tree-sitter AST parsing across 15+ languages. Extracts imports, classes, interfaces, and communication patterns.
Identifies architecturally significant code blocks, dependency graphs, and structural metrics across modules.
A constrained LLM pass interprets the graph with architectural intent — using your repo as full context.
Returns Markdown with Mermaid diagrams, tables, and file citations — or JSON for CI gates and dashboards.
Understand the shape of an unfamiliar codebase in minutes, not weeks. Generate a gist before your first standup.
Run archexa impact on any PR before approving. Know the blast radius. Ship with confidence.
Validate that implementation aligns with design. Detect pattern drift before it becomes technical debt.
Understand blast radius before deploying changes. Feed stack traces to archexa diagnose for instant root cause analysis.
Archexa is purpose-built for architectural intelligence — not a general-purpose AI with a big paste buffer.
| Capability | Archexa | ChatGPT paste | Manual reading | Sourcegraph |
|---|---|---|---|---|
| Full repo context | ✓ | ✗ Context window limit | Slow | ✓ |
| Dependency graph | ✓ Static + semantic | ✗ | ✗ | Partial |
| Impact / blast radius | ✓ | ✗ | ✗ | ✗ |
| Architecture review | ✓ | Inconsistent | ✗ | ✗ |
| CLI-first / scriptable | ✓ | ✗ | ✗ | Partial |
| VS Code native | ✓ | ✗ | — | ✓ |
| Root cause diagnosis | ✓ | Inconsistent | ✗ | ✗ |
Install in 30 seconds. No account required. Fully open source.