Featured answer
Give me an overview of open-code-review
open-code-review is an AI-powered command-line tool for Git repositories that reads diffs and sends the changed files to a language model you configure, using an agent that can read full file contents and search the codebase. Its core is written in Go, with TypeScript and Kotlin extensions for VS Code and IntelliJ. Commands enter through cmd/opencodereview/main.go, and bin/ocr.js launches the packaged Go binary with the arguments you typed. The internal directory holds the review and scan engine, which chooses changed files, asks the model, and keeps findings, with internal/agent/agent.go driving the agent, internal/llm/client.go handling model communication, and internal/llmloop/loop.go as another hotspot in the review code. The extensions directory brings the same review into the editor, and the layers by file count are CLI, UI, Application, Config, Utility, Service, and Docs & Tooling, with Service the largest at 184 files. To start reading, begin with cmd/opencodereview/main.go and then internal/agent/agent.go.
| Layer | Files |
|---|---|
| CLI | 39 |
| UI | 44 |
| Application | 125 |
| Config | 134 |
| Utility | 9 |
| Service | 184 |
| Docs & Tooling | 166 |
Basis: Inferred · knowledge graph· as of 39515dc