Guardian
Guardian is a local-first desktop and CLI governance layer that enforces architecture, security, and release policies on AI-generated code changes with human approval built in.
At a Glance
Guardian is free and open source under the MIT license.
Engagement
Available On
Alternatives
Listed Apr 2026
About Guardian
Guardian is a desktop and CLI governance layer built for small engineering teams that need to control AI-generated code before it ships. Rather than functioning as a coding assistant or generic scanner, Guardian acts as the release decision layer for AI-assisted code changes, combining policy enforcement with human accountability.
The tool follows a four-step release governance cycle. First, it identifies and isolates AI-assisted or unusually large code changes for stricter review. Then it applies team-defined architecture, security, and quality policies automatically. Human reviewers validate findings and record approval or override decisions with documented reasons. Finally, Guardian produces a release readiness signal backed by evidence, answering whether the code can ship and why.
- AI-Generated Code Intake â Detects AI-heavy or large refactor pull requests and routes them into stricter evaluation paths before release.
- Policy-as-Code Enforcement â Applies architecture, security, and quality rules defined in your repository to every risky change, with strict, warn, or off gate modes.
- Human Approval Workflow â Requires named approvers and override reasons for high-risk flows, maintaining a durable audit trail of every release decision.
- Release Decision Surface â Produces explicit pass, pass-with-warning, or block decisions with supporting evidence rather than just listing issues.
- Guru AI Assistant â Explains risky findings in plain language and generates policy-aligned fix proposals using configurable AI providers including OpenAI and Ollama.
- Semantic Code Search â Finds similar code patterns across the codebase using a local vector database powered by sqlite-vec.
- Reviews and Fix Proposals â Provides a structured queue for reviewing, applying, or rejecting AI-suggested fixes with per-file undo history.
- Local-First Architecture â Policies stay in the repository and the desktop plus CLI workflow operates locally, with cloud AI providers optional.
- CLI and CI Integration â Shared scan policy core ensures consistent behavior between the desktop app, CLI, and CI release gates.
- Multi-Language Localization â Desktop and website UI support English and Turkish, with AI outputs following the selected language.
Community Discussions
Be the first to start a conversation about Guardian
Share your experience with Guardian, ask questions, or help others learn from your insights.
Pricing
Free
Guardian is free and open source under the MIT license.
- Full desktop and CLI governance features
- Policy-as-code enforcement
- Human approval workflow with audit trail
- Guru AI assistant with configurable providers
- Semantic code search
Capabilities
Key Features
- AI-generated code change detection and intake
- Policy-as-code enforcement for architecture, security, and quality rules
- Human approval workflow with named approvers and override reasons
- Release decision surface with pass, warn, or block outcomes
- Guru AI assistant for explaining risky findings and suggesting fixes
- Semantic code search using local vector database
- Reviews queue for managing fix proposals with apply and undo
- Configurable scan scope with source, extended, and full modes
- CLI enforcement modes with strict, warn, and off gate behavior
- Audit trail for all release decisions and approvals
- Support for OpenAI, Ollama, and offline AI providers
- Web search integration via Tavily for contextual research
- Guardian.lock for reproducible team scans
- English and Turkish localization
