跳到正文
GitHub·· 8 天前AI 评分52

Octopus 发布 AI 代码审查工具,支持 GitHub、GitLab、Bitbucket 与 Forgejo

octopusreview/octopus

AI 导读

Octopus 是一款面向 pull request 的 AI 代码审查工具,可在 GitHub、GitLab、Bitbucket 和 Forgejo 中给出审查摘要、按严重程度排序的问题和修复建议,并提供终端 CLI 审查。

正文

Octopus

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

CI License: Modified MIT GitHub Discussions

A real Octopus inline review finding with severity, explanation and a suggested code change

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:

  1. Sign in with Google, GitHub, Microsoft or an email magic link.
  2. Create your organization, connect GitHub, GitLab, Bitbucket or Forgejo, and choose the repositories to review.
  3. 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:

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 live Octopus Cloud sign-in screen, with Google, GitHub, Microsoft and email options

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.md or CLAUDE.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