Featured answer
Give me an overview of repowise
repowise is a codebase intelligence tool for developers and AI coding agents that indexes a repository's code, git history, tests and architectural decisions once on the local machine. Coding agents then query that index through MCP instead of grepping and opening files, and the project is written mainly in Python with TypeScript packages for the API client and the UI. The repowise command in packages/cli/src/repowise/cli/main.py is the entry point for indexing, generating docs and checking health, and the engine in packages/core builds the index. Within that engine, ingestion/call_resolver.py turns resolved calls into call graph edges, analysis/health/engine.py scores each file, and analysis/dead_code/analyzer.py finds code that can be removed. The MCP server in packages/server, including tool_answer/answer.py, answers agent questions, while packages/api-client/src/index.ts holds the configuration for calling the server API. To start reading, begin with the CLI main.py and then packages/core, since the Service layer is the largest of the listed layers with 1812 of 7125 files.
| Layer | Files |
|---|---|
| UI | 648 |
| Application | 842 |
| CLI | 327 |
| API | 121 |
| Config | 55 |
| Utility | 71 |
| Data | 103 |
| Types | 113 |
| Service | 1812 |
| Docs & Tooling | 288 |
Basis: Inferred · knowledge graph· as of 1d922b7