Panoramica
OpenCodeReview reviews Git diffs or complete files. Its deterministic layer selects and groups files, matches rules, and checks comment placement, while an agent retrieves repository context and evaluates code through a configurable LLM. The built-in multi-language ruleset includes checks related to null pointer errors, thread safety, XSS, and SQL injection. The repository is primarily written in Go and distributes a global CLI through npm.
Funzionalità principali
- Hybrid deterministic pipeline and LLM-agent architecture
- Precise line-level structured review comments
- Workspace, branch-range, single-commit, and full-file scan modes
- Repository context through file reading, code search, and inspection of related changes
- Related-file bundling with isolated sub-agent contexts and concurrent-review support
- Fine-grained rule matching based on file characteristics
- Built-in multi-language rules covering NPE, thread safety, XSS, and SQL injection
- Saved sessions with resume and comment-export commands
- Delegation mode for reviews performed by an external coding agent
- MCP support for extending the agent with external tools
- Integrations documented for coding agents and CI/CD platforms
Requisiti, installazione e avvio rapido
Utilizzo
Compatibilità del modello e casi d'uso
The repository description states compatibility with OpenAI- and Anthropic-compatible endpoints. Users can select a built-in provider or add a custom provider and then choose a model. Specific supported model names are not stated in the repository metadata. Claude Code, Codex, Cursor, and OpenCode are documented as coding-agent integrations rather than model compatibility claims.
Note su licenza e rischi
Licensed under Apache-2.0. The README attributes copyright 2026 to Alibaba. Consult the repository license file for the complete terms.
Rilascio e manutenzione
No release notes or version history were supplied. The repository record lists the default branch as main and indicates that the project is not archived.