openclawopenclaw
Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞
- Language
- TypeScript
- Stars
- 381k
- Files
- 13k files

CODEBASE INTELLIGENCE FOR THE AI ERA · OPEN SOURCE · SELF-HOSTABLE
AI gains collapse for three reasons: agents guess at context, humans re-review everything, and teams forget why the code is the way it is. repowise fixes all three with a verified index of your codebase’s structure, history, and risk, served to agents over MCP and to your team as a living wiki.
Open source and used every day by solo developers, startup teams, and platform engineers at large organizations.
Star the repo on GitHub2,391 vs 64,039 on the same task. ~27x fewer. Answer quality at parity.
vs a leading commercial tool under the same review budget, same 2,770 files.
The only code-health score validated against real defects. Up to 0.90 per repo.
Measured on real repositories. Every number is reproducible on your own codebase. Read the case study
Roughly ~42% of new code is AI-written in 2026, and the first quarter with agents feels fast. Then the same three knowledge gaps quietly claw the speed back.
Your agent greps, reads three files, and confidently changes a function 47 callers depend on. It didn't know; nothing told it. Every wrong guess is a review cycle, a revert, a redo.
The AI writes the diff in seconds; your senior engineers spend the afternoon rebuilding enough context to judge it. Generation got fast. Confidence didn't. Review became the bottleneck.
The retry logic is shaped that way because of an outage two years ago. The engineer who knew that left. Last week an agent “simplified” it. Nobody caught it until it mattered.
None of these are model problems. They’re knowledge problems. A bigger model won’t fix them. A better-known codebase will.
The same index serves your agents over MCP and your team as a wiki, a health score, and a decision record. One pass, kept current on every commit.
Give agents the indexed graph, decisions, and health up front and they stop reading three files and hoping. Ten MCP tools, plus a CLAUDE.md generated from the real index.
A verified wiki and a defect-validated health score let reviewers judge a change without rebuilding the context by hand. The PR bot posts the same intelligence on every pull request.
Captured decisions stay attached to the files they govern, so an agent or a new hire sees the reason before changing it. Commits are attributed to the agents that wrote them.
How decisions are capturedGraph structure, code health, git history, generated documentation, and architectural decisions: five layers that compound into genuine understanding.
Install the GitHub App and the same graph and history behind everything above shows up in review: which contracts a pull request changed and who calls them, what it should have touched and did not, and a Check Run that can gate the merge. A green PR gets no comment at all.
What it found on one real pull request, which you can open and check:
Public, no sign-in, on a repository you have never seen.
Everything in repowise, deployed inside your firewall, with the identity, licensing, and compliance controls procurement asks for.
See the full enterprise briefDeterministic scoring with zero LLM in the loop, so EU AI Act high-risk obligations do not apply. Security and compliance
Give Claude Code, Cursor, and any MCP client a queryable model of your repo.
One shared index, one credit pool, one org install. The whole team on the same brain.
Self-hosted, air-gapped, and commercially licensed for the whole org.
Install once. Choose the interface that fits your workflow, or use all three. They share the same data, the same intelligence, the same stores.

For the solo developer
Read the install guide→
For AI-native workflows
See the tools an agent gets→
For the whole team
Browse a live one→Scroll the table sideways to see every tool.
| Feature | repowise | Google Code Wiki | DeepWiki | CodeScene | Sourcegraph |
|---|---|---|---|---|---|
| Self-hostable OSS | ✓Included | –Not included | –Not included | –Not included | –Not included |
| Architectural decision records | ✓Included | –Not included | –Not included | –Not included | –Not included |
| MCP server for AI agents | ✓Included | –Not included | –Not included | –Not included | –Not included |
| Doc freshness / confidence scoring | ✓Included | –Not included | –Not included | –Not included | –Not included |
| AI code provenance (agent attribution) | ✓Included | –Not included | –Not included | –Not included | –Not included |
Self-assessed against publicly documented features as of May 2026. Vendor capabilities change, so please verify before committing to any tool.
repowise is a codebase intelligence layer for the AI era. It indexes your repo once and serves both your AI coding agents (an architecture-aware wiki, dependency graph, decisions, and ten MCP tools) and the humans accountable for the code (a defect-validated code-health score, change risk, git intelligence, and agent provenance). It is open source and self-hostable.
Coding agents make teams fast at first, but those gains erode when agents guess at context, humans re-review every change, and the team forgets why the code is shaped the way it is. repowise indexes your repo once and serves that knowledge (architecture, decisions, health, and risk) to agents over MCP and to people as a verified wiki, so speed keeps building instead of decaying. Every answer is checked against the live tree or flagged as stale.
Yes. The core engine is open source under AGPL-3.0 and runs 100% locally: pip install repowise, bring your own API key, or run fully offline with a local model. There are paid hosted tiers for teams that want zero-ops hosting, private-repo PR comments, and managed re-indexing.
repowise exposes your codebase over the Model Context Protocol, so it works with Claude Code, Cursor, Cline, and Codex, plus any other MCP-compatible client. One index serves every agent.
On paired benchmarks on real repositories, loading context through repowise used 96% fewer tokens (2,391 vs 64,039, about 27 times fewer), with 89% fewer file reads and 70% fewer tool calls, at answer quality on par with raw file exploration.
No. repowise is self-hosted with zero telemetry. Source is processed transiently and never persisted, and you can bring your own LLM key or run fully offline via a local model. What is stored is the graph, non-reversible embeddings, generated wiki pages, and git metadata.
Yes, and it is validated. Across 21 repos and 9 languages the cross-project ROC AUC is 0.74 (up to 0.90 per repo), and ranking by repowise health surfaces 2.3x the defects of a leading commercial tool under the same review budget. Every heuristic is open source so you can reproduce it on your own repo.
Fifteen languages across the headline tiers, with full pipeline depth for Python, TypeScript, JavaScript, Java, Kotlin, Go, Rust, C++, and C#, including framework-aware route-to-handler edges for the major web frameworks.
It updates incrementally. A post-commit hook, file watcher, or webhook re-indexes only what changed, typically a handful of wiki pages in seconds, and every MCP response carries a staleness envelope that warns when the index has diverged from HEAD.
repowise is an open-source (AGPL-3.0) alternative to CodeScene. Both analyze git history for hotspots and code health, but repowise adds a defect-validated health score (ROC AUC 0.74 across 21 repos), an LLM-generated architecture wiki, ten MCP tools for AI agents, and dead code detection. repowise is self-hostable at no cost; CodeScene is closed-source and enterprise-priced.
Run 'repowise init' in your project root. repowise indexes the repo's AST, dependency graph, git history, and architecture, then generates a CLAUDE.md file that gives Claude Code, Cursor, and other AI coding agents immediate orientation: tech stack, entry points, hotspot files, ownership, and key design decisions. The file updates incrementally on every commit.
Yes. The Repowise PR Bot is a free GitHub App that posts one deterministic comment per pull request: the contracts the PR changed and every caller of them outside the PR, the tests and co-change partners it should have touched but did not, and a Check Run that can gate the merge. It calls no language model, so the same diff always produces the same review. Free and uncapped for public repositories.
Git hotspot analysis identifies files that are both frequently changed (high churn) and structurally complex. The intersection of churn and complexity marks the files most likely to contain defects and be expensive to modify. repowise computes hotspots from commit history and displays them with health scores, owner attribution, and blast-radius estimates.
repowise is developed against an index of itself: every pull request is gated by the same risk and health checks we ship. The setup, measurements, and limits.
What CLAUDE.md and AGENTS.md are, what to put in them, best practices, and how to keep them fresh automatically. Learn to give coding agents real repo context.
Code health is a defect-validated measure of how risky code is to change, scored from 49 deterministic markers across three pillars. Reproduce it on your repo.
pip install repowise on your machine, your server, or your CIEvery repo below is public, indexed, and refreshed by us. No signup, no install: open one and read the same health, architecture, and ownership views you would get on your own code.
Your own personal AI assistant. Any OS. Any Platform. The lobster way. 🦞
Git with a cup of tea! Painless self-hosted all-in-one software development service, including Git hosting, code review, team collaboration, package registry and CI/CD
Codebase intelligence for AI and humans: code health scores, auto-generated docs, git analytics, dead code detection, and architectural decisions via MCP.