Quality gates for
AI-generated code.
Tribunal enforces TDD, catches leaked secrets, and runs linting on every AI coding session. Works in CI/CD, pre-commit hooks, and agent hook systems.
Python CLI · GitHub Action · pre-commit · SARIF output · MIT License
Why Tribunal
Everything you need to ship safe AI code
How It Works
Three steps to disciplined code
Install
One command to add quality gates to your project.
Check
Run checkers on your codebase — secrets, TDD, linting — with SARIF output for CI/CD.
Ship
Add to GitHub Actions, pre-commit, or agent hooks. Nothing ships without passing the gate.
Multiple Outputs
Your pipeline. Your format.
Output results as text, JSON, or SARIF — compatible with GitHub Code Scanning, VS Code, and any CI system.
Privacy & Transparency
No hidden phone-homes.
Tribunal itself sends zero telemetry. All network traffic comes from Anthropic's Claude Code CLI — and you can disable the optional parts with one variable.
Disable all non-essential traffic
export CLAUDE_CODE_DISABLE_NONESSENTIAL_TRAFFIC=1Add to your shell profile. Only essential API calls to Claude remain.
Essential (required for Claude to work)
Optional (disabled with env var above)
Tribunal's own network usage: none
Tribunal operates entirely locally. No phone-home, no telemetry, no analytics, no update checks. Everything flagged by security scanners originates from Anthropic's upstream Claude Code CLI — the same code that runs when you install @anthropic-ai/claude-code from npm.
Full details in PRIVACY.md
Get Started
Install in seconds
Choose your preferred installation method
Requires Python 3.10+