FAQ

Frequently Asked Questions

Nine questions about how CodeOtter works, answered plainly. No varnish.

The nine questions below cover what to know before you self-host CodeOtter. If something is missing, open an issue on GitHub.

01What license does CodeOtter use?

CodeOtter is licensed under the GNU Affero General Public License v3 (AGPL-3.0) — it is open source. You can self-host, modify, and redistribute freely; the AGPL clause that matters here is the network-service one: if you run a modified version as a network service, you must publish the source of your modifications. Full licence text: `codeotter.io/legal/terms`.

02What models can I run?

System 1 (calibrated scores + 9 merge gates, deterministic): Laya Typed-Decisions (455 MB, Q8_0), Kev 0.8B (828 MB) or Kev 4B (4,498 MB; about five times slower than Kev 0.8B on CPU), served by the local laya runtime. None of them is bundled: you download the one you want with one click. System 1 can also call a hosted provider that serves the same typed System One contract: TypeSafe Jev (directly or through OpenRouter), Cloudflare Clef through OpenRouter, or a custom System One endpoint. System 2 (narrative review): bring-your-own — Anthropic (Claude), OpenAI, MiniMax, OpenRouter, a local Ollama, or any OpenAI-compatible endpoint. For a fully local System 2, Settings → System → Local models downloads Qwen2.5-Coder 1.5B or 7B GGUF (served by llama.cpp's llama-server) or Microsoft CodeReviewer (Python sidecar). Local runtimes start on demand and shut down after 15 idle minutes.

03What hardware do I need?

These figures come from CodeOtter's model catalog, so what you need depends on the local models you run. Sizes: Laya 455 MB, Kev 0.8B 828 MB, Kev 4B 4,498 MB, Qwen2.5-Coder 1.5B 1,117 MB and 7B 4,683 MB, Microsoft CodeReviewer 895 MB plus about 250 MB for its private Python 3.10+ environment (CPU PyTorch and Transformers). The 1.5B model and CodeReviewer run on CPU; Kev 4B is about five times slower than Kev 0.8B on CPU and best with a GPU; the 7B gives the best local review quality and, per the catalog, wants a GPU with 6 GB of memory, or 8 GB of RAM on CPU. The local System 1 runtime (Laya and Kev) is available for Windows x64, Linux x86_64 and Apple silicon; elsewhere use a hosted model. GPU use is automatic: when a model starts, CodeOtter prefers a discrete Vulkan GPU if it finds one, and Apple silicon uses the Metal build. Set S1_DEVICE (System 1) or LLM_DEVICE (language model) to cpu to force the CPU. The Docker image forces System 1 onto the CPU.

04Why is the first review slow?

Local runtimes start on demand with the first review and shut down after 15 idle minutes, so the first review after a quiet period pays the model-load cost and back-to-back reviews do not. If you want no load delay, point System 2 at a hosted model via BYOK (the diff then goes to that provider); System 1 scores do not depend on the language model. Running the models locally trades that start-up cost for keeping the model on your own hardware.

05I can ask ChatGPT to review a PR. Why do I need CodeOtter?

CodeOtter is the platform that hosts the review — the GitHub PR integration, the 9 binary merge gates, the AGENTS.md auto-detection + per-repo injection, the 1-click "Dismiss & remember rule" learnings, the inline committable suggestion blocks, and the incremental commit-by-commit delta reviews. ChatGPT (or any LLM) is one provider of the System 2 narrative engine. You can plug ChatGPT into CodeOtter via BYOK. But you cannot get the gates, AGENTS.md enforcement, inline suggestions, or delta reviews from ChatGPT alone — those live in the platform, not in the model.

06How is the System 1 score different from asking an LLM for a 1–100 score?

System 1 is a tiny classifier that returns strict JSON over a fixed rubric. The questions are closed-form: choice, score, or noul. Because the schema is fixed and the model is small, scores don't hallucinate and the 9 binary gates don't drift. Chat LLMs cluster every score between 75 and 85 because they are not trained to output calibrated numbers — they are trained to produce plausible prose. System 1 outputs a calibrated 0–100 because the model literally cannot output anything else.

07Does CodeOtter phone home?

No telemetry. CodeOtter makes one optional request to GitHub Releases every 6 hours to check for updates; set CODEOTTER_UPDATE_CHECK=0 to disable. That request carries no version number and no instance ID. A review also calls your code host to read the pull request and post the result, and the AI provider you configure if you use a hosted one; with local models, no diff goes to an AI provider. PostHog JS on codeotter.io (the marketing site) is a separate concern and is opt-out via Do-Not-Track. The self-hosted product ships zero telemetry by design, and the source is open (AGPL-3.0), so you can read every outbound request.

08Does CodeOtter support external APIs?

Yes — System 2 is BYOK and accepts Claude, OpenAI, MiniMax, or OpenRouter with your own key. For fully offline System 2, Settings → System → Local models downloads the Qwen2.5-Coder GGUF (1.5B or 7B) into llama-server. The Microsoft CodeReviewer Python sidecar is a separate option, served from runtimes/codereviewer/serve.py with its own multi-file checkpoint (not GGUF). The platform supports only the BYOK list above plus those two local paths — no other providers or models are integrated today, and we publish that list as the source of truth rather than maintaining a UI toggle for unsupported paths.

09Can I run CodeOtter completely air-gapped?

Yes — once you stage the artifacts. CodeOtter does not bundle its sidecars: on first use it pulls ggmlc laya and llama-server from GitHub releases, model weights from Hugging Face, and the Microsoft CodeReviewer sidecar's pip packages from PyPI and the PyTorch CPU wheel index. For a fully air-gapped install, pre-stage those runtimes, weights, and pip wheels into PR_SCORER_DATA (or your package mirror) before disconnecting — then System 1 (ggmlc laya) and System 2 (llama-server for Qwen2.5-Coder 1.5B / 7B GGUF, or the Microsoft CodeReviewer Python sidecar) all run locally, so no diff goes to an AI provider. The review still talks to your code host to read the pull request and post the result (a self-hosted Forgejo or Gitea on the same network works), and CODEOTTER_UPDATE_CHECK=0 turns off the optional update check. Both sidecars spin up on demand and shut down after 15 idle minutes. The full offline-mode walkthrough is in the engineering blog: `codeotter.io/blog/running-offline-ai-code-reviews-with-laya-and-gguf`.

Something missing?

Open an issue on GitHub