Give your AI coding agent a map of your codebase.
Supermodel CLI connects Claude Code, Codex, and other AI agents to the Supermodel API — providing call graphs, dependency graphs, dead code detection, and blast radius analysis as live context during your sessions.
| Website | supermodeltools.com |
| API Docs | api.supermodeltools.com |
| Dashboard | dashboard.supermodeltools.com |
| Twitter / X | @supermodeltools |
| Contact | abe@supermodel.software |
| Feature | Description |
|---|---|
| Graph pregeneration | Analyze your repo upfront so your agent has instant access to call and dependency graphs without waiting mid-task |
| Dead code detection | Surface functions and files with no callers across TypeScript, JavaScript, Python, Go, Rust, and more |
| Blast radius | Before making a change, show which files and functions would be affected downstream |
| Token efficiency | Ship only the graph slices relevant to the current task — not the whole repo — keeping context lean |
| Agent integration | Plug directly into Claude Code, Codex, and Hermes as a context tool |
# placeholder: brew install supermodeltools/tap/supermodel# placeholder: install script
curl -fsSL https://supermodeltools.com/install.sh | shgit clone https://github.com/supermodeltools/cli
cd cli
# placeholder: build instructionssupermodel login
# Opens your browser for GitHub OAuthcd /path/to/your/repo
supermodel analyze
# Uploads repo, runs analysis, caches graph locallyClaude Code:
# placeholder: MCP server config or plugin setup
supermodel claude-code installCodex:
# placeholder: Codex tool integration
supermodel codex installHermes:
# placeholder: Hermes integration
supermodel hermes installsupermodel docs # Generate static architecture documentation
supermodel analyze # Analyze the current repo and cache results
supermodel dead-code # List functions and files with no callers
supermodel blast-radius <file> # Show what's affected if this file changes
supermodel graph # Print or export the graph for the current repo
supermodel status # Show cached graph state and last analysis time
supermodel login # Authenticate with your Supermodel account
supermodel logout # Clear stored credentialssupermodel analyzezips your repository and uploads it to the Supermodel API.- The API runs static analysis — building a base IR, call graph, and domain classification.
- Results are cached locally (and on the API) keyed by a content hash of your repo.
- Your agent tool integration reads from the cache and injects the relevant graph slice into context.
Graph data is never sent to your AI provider directly — only the slices your agent requests.
| Agent | Status |
|---|---|
| Claude Code | Planned — #1 |
| Hermes | Planned — #2 |
| Codex | Planned — #3 |
Usage is metered per analysis. Run supermodel status to check your balance.
Issues and PRs welcome. See CONTRIBUTING.md for guidelines.
Questions? Open an issue or email abe@supermodel.software.