Package version: v1.1.1. Read the changelog and v1.1.1 release notes.
Octate is a developer-first, terminal-native AI code-review tool. Run octate review inside any real Git repository and receive high-value, evidence-backed findings in an interactive terminal user interface (TUI), with --json, --sarif, and --quiet modes for automated CI/CD workflows.
Core Philosophy: Understand the repository first, deterministically, and use AI reasoning over that structured understanding — not the other way around.
- 🔍 Deterministic Pre-Analysis: Tree-sitter WASM AST parsing, cross-file reference graphs, and static linter discovery execute locally before model inference.
- 🧠 Multi-Stage Reviewer DAG: Specialized reviewer roles (Security, Architecture, Performance, Correctness) reason in parallel over enriched contextual subgraphs.
- 🛡️ Two-Stage Critic Quality Gate: Deterministic checks and a model critic help reject unsupported findings and trivial noise; automated reviews can still produce false positives and false negatives.
- 🖥️ Interactive Terminal UI: Built with Ink and React 19, featuring alternate screen buffer isolation, live progress streaming, diff inspection, and in-place re-reviews.
- ⚡ Efficient analysis: Incremental caching and diff pruning reduce repeated work. Static analysis runs locally; when AI review is enabled, selected diffs and context are sent to NVIDIA for inference. Latency and token usage depend on repository size and provider behavior.
- 📊 Enterprise Automation: First-class SARIF v2.1.0 output with GitHub Code Scanning integration, machine-parseable JSON, and configurable blocking exit codes.
Run without installing the CLI. Configure NVIDIA API access first:
export NVIDIA_API_KEY="your-nvidia-api-key"
npx @tiverse/octate reviewWithout NVIDIA_API_KEY, AI-backed review will fail with an authentication error. Run octate doctor first to verify environment readiness.
Or install globally:
npm install -g @tiverse/octateVerify your environment readiness:
octate doctorInitialize a project configuration file:
octate initRun code review over working tree changes, git refs, commits, or ranges.
# Review unstaged and staged working tree changes (default)
octate review
# Review only staged git changes
octate review --staged
# Review a specific commit
octate review --commit HEAD~1
# Review a revision range (PR branch against main)
octate review --range origin/main..HEAD
# Output SARIF format for CI/CD integration
octate review --sarif --no-tui > results.sarif
# Fail CI build if any critical or high findings are detected
octate review --no-tui --fail-on high| Flag | Description | Default |
|---|---|---|
--staged |
Review only staged changes | false |
--commit <hash> |
Review specific commit | undefined |
--range <rev..rev> |
Review revision range | undefined |
--branch <name> |
Review changes against target branch | undefined |
--json |
Output review results as machine-readable JSON | false |
--sarif |
Output review results as SARIF v2.1.0 | false |
-q, --quiet |
Minimal output (summary counters only) | false |
--no-tui |
Force plain-text console output instead of TUI | Auto-detected |
--fail-on <severity> |
Exit with code 1 if findings meet threshold (critical, high, medium, low, none) |
critical |
-c, --config <path> |
Path to custom octate.yaml configuration |
octate.yaml |
-d, --debug |
Enable verbose debug logging | false |
Performs comprehensive environment auditing and diagnostics.
octate doctorAudits:
- Node.js runtime engine (
>= 22.0.0required by Ink 7.1.1) - Git repository accessibility and permissions
- PATH discovery for static analysis linters (
tsc,biome,ruff,mypy,pyright,bandit,pytest) - Tree-sitter WASM grammars (
typescript,javascript,python) - NVIDIA API connectivity & Nemotron 3 Ultra model availability without burning tokens
- Cache health and read/write operational capability
When running octate review in an interactive terminal, Octate launches an alternate-screen TUI workspace:
| Key | Action |
|---|---|
j / ↓ |
Select next finding |
k / ↑ |
Select previous finding |
Enter / Space |
Expand / collapse finding detail & evidence |
s |
Suppress / restore active finding for current session |
c |
Copy finding summary and file anchor to clipboard |
r |
Re-run review in-place (hot reload with latest edits) |
? |
Open interactive keyboard shortcuts modal |
q / Esc |
Exit session (evaluates exit code against unsuppressed blockers) |
Octate employs a 7-layer architecture designed for deterministic intelligence:
graph TD
L1[Layer 1: Repository Discovery & Git Scope] --> L2[Layer 2: Tree-sitter WASM AST Parsing & Diagnostics]
L2 --> L3[Layer 3: Reference Graph & Symbol Intelligence Engine]
L3 --> L4[Layer 4: Local NVIDIA Nemotron Model Provider]
L4 --> L5[Layer 5: Reviewer DAG & Two-Stage Critic Gate]
L5 --> L6[Layer 6: Application Layer & Progress Orchestrator]
L6 --> L7[Layer 7: Interactive React/Ink TUI & Automation Renderers]
- Repository Layer: Fast git status discovery via
isomorphic-gitand monorepo workspace boundary resolution. - Analysis Layer: Concrete syntax trees via Tree-sitter WASM with hybrid fallback to host static analysis tools.
- Intelligence Layer: Scope-bounded symbol indexes and deterministic cross-file reference graphs.
- Model Provider: OpenAI-compatible NVIDIA integrate endpoint supporting Nemotron 3 Ultra (
nvidia/nemotron-3-ultra-550b-a55b). - Review Engine: Parallel DAG scheduling with deterministic checks and a model critic. The evaluation suite measures performance on a defined benchmark; results vary across repositories and are not a guarantee of production false-positive rates.
- Application Layer: 8-stage canonical progress streaming with strict cancellation and exception traps.
- Presentation Layer: Full-screen Ink TUI with primary screen restoration guarantees and SARIF v2.1.0 generation.
- Changelog
- v1.1.1 Release Notes
- Configuration Guide (
octate.yaml) - CI/CD Integration & GitHub Actions SARIF Setup
- Troubleshooting & Diagnostics
- v1.0 Benchmark & Evaluation Report
MIT © Octate Contributors