Sphinx is an open-source Git hook designed for agent-assisted development that pauses Git pushes to protected branches to verify a developer's understanding of the changes.
It generates scenario-based questions from a separate reviewer model to ensure the human author understands the behavior, failure modes, and invariants of the AI-generated code.
- 01
Blocks Git pushes until the developer correctly answers scenario-based comprehension questions
- 02
Reviewer model is decoupled from the coding agent to ensure independent assessment
- 03
Supports Claude Code, Codex, Cursor, OpenCode, Pi, and plain Git
- 04
Configurable depth of understanding with automatic question generation based on diff size
- 05
Integrated bypass and audit logging via sphinx yolo for emergency situations
Open Source
The tool is free and open-source under the MIT License; however, users pay their own inference costs for the reviewer LLM via their existing Claude Code/Codex plans, OpenRouter, or any OpenAI-compatible endpoint.
适合
Teams where developers merge AI-written code daily and want to ensure human understanding of the changes beyond superficial code review.
不太适合
Solo developers who lack the discipline to maintain the practice, or teams requiring a rigorous, unbypassable security and compliance gate.
Sphinx effectively addresses the risk of shipping code that no human understands, serving as a useful practice tool and audit trail, though it is not a technical security gate.
Launched on October 14, 2026; version 0.1 currently supports local Git hooks, machine-wide installation, and integration with GitHub commit statuses.
截至
Is Sphinx free?+
Yes - Sphinx is Open Source. The tool is free and open-source under the MIT License; however, users pay their own inference costs for the reviewer LLM via their existing Claude Code/Codex plans, OpenRouter, or any OpenAI-compatible endpoint.
Is Sphinx open source?+
Yes - Sphinx is open source. The tool is free and open-source under the MIT License; however, users pay their own inference costs for the reviewer LLM via their existing Claude Code/Codex plans, OpenRouter, or any OpenAI-compatible endpoint.
Who is Sphinx best for?+
Teams where developers merge AI-written code daily and want to ensure human understanding of the changes beyond superficial code review.
Who is Sphinx not ideal for?+
Solo developers who lack the discipline to maintain the practice, or teams requiring a rigorous, unbypassable security and compliance gate.
What are the best Sphinx alternatives?+
The closest Sphinx alternatives on ai.dosa.dev are CodeRabbit, Qodo, Snyk Code - all listed under AI Code Review & Security.
Who makes Sphinx?+
Sphinx is developed by parthh01. It is listed in the AI Code Review & Security category on ai.dosa.dev.