AI-powered bug detection and automated fixes โ right inside Visual Studio Code.
These docs cover everything you need to get the most out of AiTenzo - AI Bug Fixer โ from first install to advanced API integration.
Quick Start
Install the extension, set your API key, and fix your first bug in under 5 minutes.
Fix Modes
Full Analysis, Fix Only, Explain, and Optimise โ learn when and how to use each mode.
API Reference
Integrate AiTenzo - AI Bug Fixer into your CI/CD pipeline or custom tooling with the REST API.
Keyboard Shortcuts
Speed up your workflow with keyboard shortcuts and right-click context menu integration.
Get AiTenzo - AI Bug Fixer installed and fix your first bug in under 5 minutes.
Install the VS Code Extension
Open VS Code, press Ctrl+Shift+X to open Extensions, search for AiTenzo, and click Install. Or install directly from the VS Code Marketplace.
Create a Free Account
Go to aitenzo.com/register and create a free account. The Free plan includes 5 fixes per month โ no credit card required.
Get Your API Key
After logging in, go to aitenzo.com/profile and copy your API key. It starts with at_ followed by your key string.
Set Your API Key in VS Code
Press Ctrl+Shift+P, type AiTenzo: Set API Key, and paste your key. You'll see the status bar turn from โ to โก confirming it's connected.
Fix Your First Bug
Select some broken code in your editor, right-click, and choose AiTenzo โ Full Analysis. Or press Ctrl+Shift+A. The results panel opens beside your editor with the fix, explanation, and confidence score.
Three ways to install the AiTenzo - AI Bug Fixer extension into VS Code.
Open Extensions panel
Press Ctrl+Shift+X (Windows/Linux) or Cmd+Shift+X (Mac).
Search for AiTenzo
Type AiTenzo in the search box. Look for the extension by publisher aitenzo with the robot icon.
Click Install
Click the blue Install button. VS Code will download and install the extension automatically. No restart required.
Press Ctrl+P in VS Code and paste the following command:
ext install aitenzo.aitenzo
If you downloaded the .vsix file manually:
Open Extensions panel
Press Ctrl+Shift+X
Click the ยทยทยท menu
Click the three-dot menu at the top right of the Extensions panel.
Install from VSIX
Select Install from VSIX... and navigate to your downloaded v1.vsix file.
Connect the extension to your AiTenzo - AI Bug Fixer account using your API key.
Create an account
Go to aitenzo.com/register. The Free plan requires no credit card.
Visit your profile
After logging in, click your name in the top right โ Profile, or go to aitenzo.com/profile.
Copy your API key
Your API key is displayed in the API Access section. Click the copy button. Keys are in the format at_xxxxxxxxxxxxxxxxxxxxxxxx.
Option A โ Command Palette (easiest):
Ctrl+Shift+P โ AiTenzo: Set API Key โ Paste your key โ Enter
Option B โ VS Code Settings:
{
"aitenzo.apiKey": "at_your_key_here",
"aitenzo.defaultMode": "full"
}
Once your key is set, check the VS Code status bar at the bottom right. You should see:
| Status Bar | Meaning |
|---|---|
โก AiTenzo | Connected โ ready to fix bugs |
โ AiTenzo (yellow) | No API key set โ click to configure |
Four specialised analysis modes โ each designed for a different debugging situation.
๐ฌ Full Analysis
Complete audit: root cause, severity score, confidence percentage, fixed code, and a full plain-English explanation. Best for critical bugs and production issues.
โก Fix Only
Maximum speed mode. Delivers just the working fix โ no explanation or analysis. Perfect for rapid iteration when you already understand the problem.
๐ Explain
Deep-dive explanation of what the code does, what is wrong, and the underlying concept. No fix is applied. Great for code reviews and learning.
๐ Optimise
Improves working code for performance, readability, and best practices. Use this on code that already works to raise your quality bar proactively.
You can switch modes in three ways:
| Method | How |
|---|---|
| Panel UI | Click the mode pills (Full Analysis / Fix Only / Explain / Optimise) in the AiTenzo panel |
| Right-click menu | Select code โ right-click โ AiTenzo โ choose mode |
| Command Palette | Ctrl+Shift+P โ AiTenzo: Full Analysis / Fix / Explain / Optimise |
| Badge | Meaning | Examples |
|---|---|---|
| ๐ด Critical | Immediate security or data risk | SQL injection, authentication bypass, data exposure |
| ๐ High | Significant bug affecting functionality | Logic errors, memory leaks, race conditions |
| ๐ก Medium | Bug that may cause issues under certain conditions | Edge cases, performance issues, deprecated APIs |
| ๐ข Low | Minor issue, style, or best-practice violation | Missing null checks, unused variables, naming |
Every fix includes a confidence percentage (e.g. 97%). This reflects how certain the AI is that the fix is correct and complete. Scores above 90% are highly reliable. For lower scores, review the explanation before applying.
AiTenzo supports 14+ programming languages with language-specific bug pattern knowledge.
When aitenzo.autoDetectLanguage is enabled (default: true), the extension automatically detects the language from your file extension. You can override this in the panel's language dropdown.
| File Extension | Detected Language |
|---|---|
.php | PHP |
.js, .jsx | JavaScript |
.ts, .tsx | TypeScript |
.py | Python |
.java | Java |
.cs | C# |
.go | Go |
.sql | SQL |
.html, .css | HTML / CSS |
.rb | Ruby |
.rs | Rust |
| Unknown | Auto Detect (AI infers from syntax) |
Organise your fixes into projects. Build an institutional knowledge base of every bug your team has ever fixed.
A Project is a named collection of bug fixes. You can create projects per app, feature, client, or sprint โ and save relevant fixes to them. Projects live in your web dashboard at aitenzo.com/projects and are accessible from the extension's Fix History sidebar.
Run an analysis
Select code and press Ctrl+Shift+A to run a Full Analysis.
Choose a project
In the Fix Code panel on the web app, use the Save to Project dropdown before running the fix, or use the ๐ Project button on any history row.
View from the extension
Open the AiTenzo sidebar in VS Code (activity bar icon) to see your Fix History. All saved fixes appear there, searchable by language and severity.
Trigger analysis without breaking your flow. All shortcuts work when code is selected in the active editor.
| Windows / Linux | macOS | Action |
|---|---|---|
| Ctrl+Shift+A | Cmd+Shift+A | ๐ Full Analysis |
| Ctrl+Shift+F | Cmd+Shift+F | โก Fix Only (fastest) |
| Ctrl+Shift+Z | Cmd+Shift+Z | ๐ค Open AiTenzo Panel |
Select any code in your editor, right-click, and look for AiTenzo in the context menu. All four modes are available from there โ no keyboard shortcut needed.
Press Ctrl+Shift+P (or Cmd+Shift+P on Mac) and type AiTenzo to see all available commands:
| Command | Description |
|---|---|
AiTenzo: Full Analysis | Complete bug analysis with explanation |
AiTenzo: Fix This Code | Quick fix only |
AiTenzo: Explain Code | Explanation mode |
AiTenzo: Optimize Code | Performance and readability improvements |
AiTenzo: Open Panel | Open/focus the AiTenzo side panel |
AiTenzo: Set API Key | Configure your API key |
AiTenzo: Clear History | Clear the local fix history |
To change keyboard shortcuts, go to File โ Preferences โ Keyboard Shortcuts (or Ctrl+K Ctrl+S) and search for AiTenzo.
Integrate AiTenzo - AI Bug Fixer into your CI/CD pipeline, custom tooling, or automation scripts using the REST API.
https://www.aitenzo.com/api
All API requests must include your API key as a Bearer token in the Authorization header:
Authorization: Bearer at_your_api_key_here
curl -X POST https://www.aitenzo.com/api/fix.php \ -H "Authorization: Bearer at_your_key" \ -H "Content-Type: application/json" \ -d '{ "code": "SELECT * FROM users WHERE id='"'"'$_GET[id]'"'"'", "language": "php", "mode": "full" }'
| Parameter | Type | Required | Description |
|---|---|---|---|
code | string | โ | The source code to analyse. Max 50,000 characters. |
language | string | โ | Language identifier. See supported values below. Default: auto |
mode | string | โ | full / fix / explain / optimize. Default: full |
{
"success": true,
"request_id": 1042,
"fixed_code": "$stmt = $db->prepare(...);",
"explanation": "SQL injection via string interpolation...",
"severity_score": "critical",
"confidence_score": 97,
"bugs_found": [...],
"suggestions": [...],
"language": "php",
"tokens_used": 312
}
| HTTP Code | message | Cause |
|---|---|---|
| 401 | Unauthorized | Missing or invalid API key |
| 402 | No credits remaining | Monthly fix limit reached โ upgrade plan |
| 413 | Code too large | Code exceeds 50,000 character limit |
| 429 | Rate limit exceeded | Too many requests โ slow down |
| 500 | Internal error | Retry the request |
auto ยท php ยท javascript ยท typescript ยท python ยท java ยท csharp go ยท sql ยท html ยท css ยท ruby ยท rust ยท swift ยท kotlin ยท cpp ยท bash
Start free. Scale as your team grows.
Free
- 5 fixes per month
- All 4 fix modes
- 8+ languages
- Fix history (7 days)
- VS Code extension
- Web app access
Pro โญ
- 200 fixes per month
- All 4 fix modes
- 8+ languages
- Fix history (90 days)
- Project organisation
- API access
- Download fixed files
- Priority support
Expand
- 1,000 fixes per month
- Everything in Pro
- Fix history (1 year)
- Token usage analytics
- Team billing
- GST invoices
- Dedicated support
Common questions about the AiTenzo - AI Bug Fixer extension.
AiTenzo - AI Bug Fixer is built with a privacy-first architecture. Here is exactly what happens to your code.
You submit code for analysis
Your code is sent over an encrypted TLS 1.3 connection from your browser or VS Code extension to the AiTenzo API server.
AI analysis runs in an isolated session
Your code is passed to the AI model in a single inference call within an isolated session. It is never written to disk in a form that can be associated with your account.
Results are returned and code is discarded
The fixed code and explanation are returned to you. The original submitted code is not retained after the session ends.
Fix metadata is stored (not your code)
We store metadata about your fix (language, severity, mode, timestamp, tokens used) so your history and projects work. Your actual source code is not stored.
| Policy | Status |
|---|---|
| Code stored on servers | โ Never |
| Code used for AI training | โ Never |
| Code shared with third parties | โ Never |
| Encrypted in transit (TLS 1.3) | โ Always |
| API key stored securely | โ VS Code secret storage |