Getting Started with Kai
Get your first security scan running in under 5 minutes. No configuration required - just install, authenticate, and scan.Prerequisites
Before you begin, make sure you have:- VS Code 1.80.0 or higher
- Internet connection (selected files are uploaded to Kai’s cloud for analysis)
- Git repository with at least one commit (Kai uses the commit hash for scan identification)
Step 1: Install the VS Code Extension
- Open VS Code
- Go to the Extensions view (
Ctrl+Shift+XorCmd+Shift+X) - Search for “Kai Agent” by Dria
- Click Install
Step 2: Open Your Project
- Open a folder containing code you want to scan
- Make sure it’s a git repository with at least one commit
- Look for the Kai icon in the Activity Bar (left sidebar)
Step 3: Sign In
- Click the Kai icon in the Activity Bar
- In the Kai panel, click Sign In
- Your browser will open to GitHub OAuth
- Authorize Kai to access your GitHub account
- Return to VS Code - you should now see your account information
Kai uses GitHub OAuth for authentication but never accesses your private repositories unless you explicitly upload code for scanning.
Step 4: Select Files to Scan
- In the Files to Review panel, browse your project files
- Check the boxes next to files you want to include in the scan
- Focus on your main application code - Kai automatically excludes:
- Configuration files (
.env,.gitignore) - Node modules and dependencies
- Binary files and assets
- Configuration files (
Step 5: Choose Your Scan Mode
When you’re ready to scan, you’ll choose from three scan modes:- Baseline ⚡ - Quick scan with basic analysis (~2 hours)
- Enhanced 🎯 - Balanced scan with comprehensive analysis (~4 hours, recommended)
- Full 🔍 - Deep scan with maximum thoroughness (~8 hours)
Step 6: Run Your First Scan
- With files selected, click the Scan button
- Choose your scan mode (Enhanced recommended)
- Kai will bundle your files and start the analysis in the cloud
- You’ll see progress updates in the Executions panel
- Files are securely uploaded to Kai’s cloud runtime
- AI agents begin analyzing your code in parallel
- You can close VS Code - the scan continues in the cloud
- You’ll get progress updates as vulnerabilities are found and verified
Step 7: Review Your Results
Once the scan completes (you’ll see a notification), you can review findings:- Go to the Scan Results view in the Kai panel
- Browse vulnerabilities organized by severity (Critical, High, Medium, Low)
- Click on any finding to see:
- Detailed explanation of the vulnerability
- Working exploit code that proves it’s real
- Suggested fix with code changes
- Impact assessment and severity reasoning
Step 8: Manage Vulnerabilities
Kai includes a Kanban-style workflow for tracking fixes:- Awaiting Verification: Potential issues being analyzed
- Awaiting Approval: Confirmed vulnerabilities ready for review
- To Be Fixed: Approved issues ready for remediation
- Fixed: Resolved vulnerabilities
- Won’t Do: Issues you’ve decided to skip
Next Steps
Customize Your Setup
- Add your OpenRouter API key (Coming Soon): Reduce costs by using your own LLM credits
- Set default scan mode: (Coming Soon) Choose your preferred default in Kai Settings
- Explore the web dashboard: View team analytics and collaborate on findings
Learn More
- Understanding Scan Results - Deep dive into vulnerability reports
- Managing Vulnerabilities - Master the Kanban workflow
- Scan Mode Comparison - Choose the right analysis depth
Get Help
- Check the FAQ for common questions and solutions
- Review Security & Privacy for data handling details
- Contact support through the web dashboard if you’re stuck