Octopus 发布 AI 代码审查工具,支持 GitHub、GitLab、Bitbucket 与 Forgejo
octopusreview/octopus
Octopus 是一款面向 pull request 的 AI 代码审查工具,可在 GitHub、GitLab、Bitbucket 和 Forgejo 中给出审查摘要、按严重程度排序的问题和修复建议,并提供终端 CLI 审查。
AI code review for your pull requests. Get a review summary, severity-ranked findings and suggested fixes in GitHub, GitLab, Bitbucket or Forgejo.
Try Octopus Cloud · Self-host Octopus · Documentation
An actual inline finding from public PR #744. The author confirmed the fix. Captured 11 September 2026.
Choose your offering
| Octopus Cloud | Octopus Self-hosted | |
|---|---|---|
| Hosting | Managed by Octopus. | Run on your own infrastructure. |
| Setup | Sign in, connect your code host and select repositories. | Deploy with Docker Compose, then configure your code host and AI providers. |
| Costs | Usage-based pricing; bring your own provider keys if preferred. | You cover hosting and AI provider costs. Source available under the Modified MIT License. |
| Start here | Cloud quickstart · Pricing | Self-hosting guide |
Getting started
Octopus Cloud
For GitHub projects, give your coding AI the homepage setup prompt. It uses the native CLI to set up the repository in your current project; you approve sign-in and GitHub access. See the CLI guide for installation and agent setup.
To set up through the dashboard instead:
- Sign in with Google, GitHub, Microsoft or an email magic link.
- Create your organization, connect GitHub, GitLab, Bitbucket or Forgejo, and choose the repositories to review.
- Follow the dashboard guide: confirm repository readiness, open a pull request or merge request, then wait for the first successfully published review. See the first-review instructions.
Forgejo has three connection options:
- Octopus Cloud + public HTTPS: connect directly with a personal access token.
- Octopus Cloud + private LAN/VPN: run the local connector on your network. It connects outward to Octopus Cloud; Forgejo stays private.
- Self-hosted Octopus + private LAN/VPN: connect directly from your own Octopus deployment with the explicit allowed origins.
All three use signed repository webhooks. Octopus and your configured AI services process code for reviews, including when a local connector is used. Hosting Forgejo yourself does not keep Cloud review processing on your network.
The real Cloud sign-in screen, captured 11 September 2026. See the getting-started guide for the remaining setup steps.
Octopus Self-hosted
Deploy Octopus on infrastructure you manage, with control over configuration and model providers. Follow the self-hosting guide for Docker Compose, environment setup and migrations, then configure your GitHub App or another code-host integration.
Features
- Review where you work: summaries, inline findings and suggested fixes in GitHub, GitLab, Bitbucket and Forgejo; CLI reviews for terminal workflows.
- Use your team's context: indexed repository context, knowledge documents, and repo rules in
.octopus.md,AGENTS.mdorCLAUDE.md. - Choose your AI provider: organization-level model settings and support for your own API keys. See model discovery for catalog updates and prompt caching for switching, retention and accounting.
- Understand the result: severity levels, category scores and explicit review coverage, including incomplete results.
Contributing
See CONTRIBUTING.md for local development and validation. Propose improvements in GitHub Discussions, report bugs in Issues, or help with the roadmap.
Roadmap
Follow planned work and shipped changes.
Security
See SECURITY.md to report a vulnerability privately.
License
Source available under the Modified MIT License, including its commercial attribution condition.
来源:GitHub · github.com


