Agentic Architecture
Nova Guardian uses a multi-agent pipeline powered by Amazon Nova 2 Lite to scan, reason about, and auto-fix infrastructure security issues.
Agent Roles
Planner
Receives webhook events, identifies infra files, and orchestrates the full scan pipeline.
Tools Used
github_api.get_pr_filesscanner.detect_file_typeScanner
Multi-engine static analysis across Terraform, K8s YAML, Dockerfiles, and GitHub Actions.
Tools Used
scanner.scan_filescanner.run_rulesEvaluator
Amazon Nova 2 Lite reasons about each finding β explains the risk, writes a code fix, and estimates impact.
Tools Used
nova_2_lite.conversecost_estimator.predictcompliance.mapReporter
Compiles the structured report, posts inline PR review comments, and sets the commit status.
Tools Used
github_api.post_reviewgithub_api.set_commit_statusdb.save_scanTool Registry
scanner.scan_fileStatic AnalysisPattern-match rules against infrastructure ASTnova_2_lite.converseAI ReasoningAWS Bedrock Converse API with extended thinkinggithub_api.*GitHub IntegrationPR files, reviews, commit status, inline commentscost_estimator.predictFinOpsEstimate monthly cost impact per resourcecompliance.mapComplianceMap findings to CIS AWS 1.2, SOC2, FinOps frameworksdb.save_scanPersistenceSQLite storage for scan history and dashboardExecution Pipeline
PR Scan Pipeline
Webhook β Planner β Scanner β Evaluator β Reporter
GitHub sends a PR event to the Guardian webhook server.
The Planner agent fetches changed files and filters to supported infra types.
The Scanner agent runs rule engines across all detected file types in parallel.
Each finding is sent to Nova 2 Lite for severity analysis, explanation, and code fix generation.
Financial impact is estimated and findings are mapped to compliance frameworks.
The Reporter posts inline comments with fixes and sets the commit status (pass/fail).
Technology Stack
AI Engine
- βΈAmazon Nova 2 Lite (Bedrock)
- βΈConverse API + Extended Thinking
- βΈPrompt-chained reasoning
Infrastructure
- βΈAWS Lambda + Step Functions
- βΈSQLite persistence
- βΈGitHub App (webhooks)
Frontend
- βΈNext.js 15 (App Router)
- βΈNeo-Brutalism design system
- βΈReal-time pipeline visualization
Built for the Amazon Nova AI Hackathon 2026
Run Manual Scan β