Toggle theme
Docs โ€บ Welcome
๐Ÿ‘‹ Welcome to AiTenzo - AI Bug Fixer Docs

AI-powered bug detection and automated fixes โ€” right inside Visual Studio Code.

๐Ÿค–โšก
AiTenzo - AI Bug Fixer AI Bug Fixer
The VS Code extension that analyses your code, identifies root causes, and delivers production-ready fixes with confidence scores โ€” in under 2 seconds.
โœ“
8+ Languages
PHP, JS, Python, Java, C#, Go, SQL and more
โœ“
4 Fix Modes
Full Analysis, Fix, Explain, Optimise
โœ“
<2s Response
AI-powered fixes faster than a Stack Overflow search
โœ“
100% Private
Your code is never stored or used for training
๐Ÿ“ What You'll Learn

These docs cover everything you need to get the most out of AiTenzo - AI Bug Fixer โ€” from first install to advanced API integration.

๐Ÿ’ก
AiTenzo - AI Bug Fixer works both as a VS Code extension and as a web app. Your fix history and projects sync across both โ€” log in with the same account.
Docsโ€บ Quick Start
โšก Quick Start

Get AiTenzo - AI Bug Fixer installed and fix your first bug in under 5 minutes.

1

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.

2

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.

3

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.

4

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.

5

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.

โœ…
Pro tip: You don't need to select code โ€” if nothing is selected, AiTenzo - AI Bug Fixer analyses the entire active file automatically.
Docsโ€บ Installation
๐Ÿ“ฆ Installation

Three ways to install the AiTenzo - AI Bug Fixer extension into VS Code.

Method 1 โ€” VS Code Marketplace (Recommended)
1

Open Extensions panel

Press Ctrl+Shift+X (Windows/Linux) or Cmd+Shift+X (Mac).

2

Search for AiTenzo

Type AiTenzo in the search box. Look for the extension by publisher aitenzo with the robot icon.

3

Click Install

Click the blue Install button. VS Code will download and install the extension automatically. No restart required.

Method 2 โ€” Quick Open

Press Ctrl+P in VS Code and paste the following command:

Quick Open Command
ext install aitenzo.aitenzo
Method 3 โ€” Install from VSIX

If you downloaded the .vsix file manually:

1

Open Extensions panel

Press Ctrl+Shift+X

2

Click the ยทยทยท menu

Click the three-dot menu at the top right of the Extensions panel.

3

Install from VSIX

Select Install from VSIX... and navigate to your downloaded v1.vsix file.

โš ๏ธ
System requirements: VS Code 1.85 or later. The extension works on Windows, macOS, and Linux. An active internet connection is required for AI analysis.
Docsโ€บ API Key Setup
๐Ÿ”‘ API Key Setup

Connect the extension to your AiTenzo - AI Bug Fixer account using your API key.

Get Your API Key
1

Create an account

Go to aitenzo.com/register. The Free plan requires no credit card.

2

Visit your profile

After logging in, click your name in the top right โ†’ Profile, or go to aitenzo.com/profile.

3

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.

Set the Key in VS Code

Option A โ€” Command Palette (easiest):

Command Palette
Ctrl+Shift+P  โ†’  AiTenzo: Set API Key  โ†’  Paste your key  โ†’  Enter

Option B โ€” VS Code Settings:

settings.json
{
  "aitenzo.apiKey": "at_your_key_here",
  "aitenzo.defaultMode": "full"
}
Verify the Connection

Once your key is set, check the VS Code status bar at the bottom right. You should see:

Status BarMeaning
โšก AiTenzoConnected โ€” ready to fix bugs
โš  AiTenzo (yellow)No API key set โ€” click to configure
๐Ÿ”’
Your API key is stored securely in VS Code's built-in secret storage. It is never logged or shared. You can rotate it at any time from your profile page.
Docsโ€บ Fix Modes
๐Ÿ” Fix Modes

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.

Switching Modes

You can switch modes in three ways:

MethodHow
Panel UIClick the mode pills (Full Analysis / Fix Only / Explain / Optimise) in the AiTenzo panel
Right-click menuSelect code โ†’ right-click โ†’ AiTenzo โ†’ choose mode
Command PaletteCtrl+Shift+P โ†’ AiTenzo: Full Analysis / Fix / Explain / Optimise
Understanding the Results
Severity Rating
BadgeMeaningExamples
๐Ÿ”ด CriticalImmediate security or data riskSQL injection, authentication bypass, data exposure
๐ŸŸ  HighSignificant bug affecting functionalityLogic errors, memory leaks, race conditions
๐ŸŸก MediumBug that may cause issues under certain conditionsEdge cases, performance issues, deprecated APIs
๐ŸŸข LowMinor issue, style, or best-practice violationMissing null checks, unused variables, naming
Confidence Score

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.

โœ…
Apply Fix button: After reviewing the result, click Apply Fix in the panel to push the fixed code directly into your editor at the cursor position. You can also use the Diff button to preview the exact changes before applying.
Docsโ€บ Languages
๐ŸŒ Supported Languages

AiTenzo supports 14+ programming languages with language-specific bug pattern knowledge.

๐Ÿ˜ PHP
โšก JavaScript
๐Ÿ”ท TypeScript
๐Ÿ Python
โ˜• Java
๐Ÿ”ต C#
๐Ÿน Go
๐Ÿ—ƒ๏ธ SQL
๐ŸŒ HTML/CSS
๐Ÿ’Ž Ruby
๐Ÿฆ€ Rust
๐Ÿ“ฑ Swift
๐Ÿ“ฑ Kotlin
โš™๏ธ C/C++
Auto Language Detection

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 ExtensionDetected Language
.phpPHP
.js, .jsxJavaScript
.ts, .tsxTypeScript
.pyPython
.javaJava
.csC#
.goGo
.sqlSQL
.html, .cssHTML / CSS
.rbRuby
.rsRust
UnknownAuto Detect (AI infers from syntax)
Docsโ€บ Projects
๐Ÿ“ Projects Pro

Organise your fixes into projects. Build an institutional knowledge base of every bug your team has ever fixed.

๐Ÿ’ก
Projects are available on the Pro and Expand plans. Your fix history (without project organisation) is available on all plans.
What Are Projects?

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.

Save a Fix to a Project
1

Run an analysis

Select code and press Ctrl+Shift+A to run a Full Analysis.

2

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.

3

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.

Docsโ€บ Keyboard Shortcuts
โŒจ๏ธ Keyboard Shortcuts

Trigger analysis without breaking your flow. All shortcuts work when code is selected in the active editor.

Windows / LinuxmacOSAction
Ctrl+Shift+ACmd+Shift+A๐Ÿ” Full Analysis
Ctrl+Shift+FCmd+Shift+Fโšก Fix Only (fastest)
Ctrl+Shift+ZCmd+Shift+Z๐Ÿค– Open AiTenzo Panel
Right-Click Context Menu

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.

Command Palette

Press Ctrl+Shift+P (or Cmd+Shift+P on Mac) and type AiTenzo to see all available commands:

CommandDescription
AiTenzo: Full AnalysisComplete bug analysis with explanation
AiTenzo: Fix This CodeQuick fix only
AiTenzo: Explain CodeExplanation mode
AiTenzo: Optimize CodePerformance and readability improvements
AiTenzo: Open PanelOpen/focus the AiTenzo side panel
AiTenzo: Set API KeyConfigure your API key
AiTenzo: Clear HistoryClear the local fix history
Customise Shortcuts

To change keyboard shortcuts, go to File โ†’ Preferences โ†’ Keyboard Shortcuts (or Ctrl+K Ctrl+S) and search for AiTenzo.

Docsโ€บ API Reference
๐Ÿ”— API Reference Pro

Integrate AiTenzo - AI Bug Fixer into your CI/CD pipeline, custom tooling, or automation scripts using the REST API.

๐Ÿ”‘
API access requires a Pro or Expand plan. Get your API key at aitenzo.com/profile.
Base URL
Base URL
https://www.aitenzo.com/api
Authentication

All API requests must include your API key as a Bearer token in the Authorization header:

Authorization Header
Authorization: Bearer at_your_api_key_here
POST /fix.php โ€” Analyse & Fix Code
Request
cURL Example
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"
  }'
Request Body Parameters
ParameterTypeRequiredDescription
codestringโœ“The source code to analyse. Max 50,000 characters.
languagestringโ€”Language identifier. See supported values below. Default: auto
modestringโ€”full / fix / explain / optimize. Default: full
Response
JSON Response
{
  "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
}
Error Responses
HTTP CodemessageCause
401UnauthorizedMissing or invalid API key
402No credits remainingMonthly fix limit reached โ€” upgrade plan
413Code too largeCode exceeds 50,000 character limit
429Rate limit exceededToo many requests โ€” slow down
500Internal errorRetry the request
Language Values
Supported language values
auto ยท php ยท javascript ยท typescript ยท python ยท java ยท csharp
go ยท sql ยท html ยท css ยท ruby ยท rust ยท swift ยท kotlin ยท cpp ยท bash
Docsโ€บ Plans & Pricing
๐Ÿ’Ž Plans & Pricing

Start free. Scale as your team grows.

Free

โ‚น0 /month
  • 5 fixes per month
  • All 4 fix modes
  • 8+ languages
  • Fix history (7 days)
  • VS Code extension
  • Web app access

Expand

โ‚น3,999 /month
  • 1,000 fixes per month
  • Everything in Pro
  • Fix history (1 year)
  • Token usage analytics
  • Team billing
  • GST invoices
  • Dedicated support
๐ŸŽ
All paid plans include a 30-day money-back guarantee. Upgrade, downgrade, or cancel at any time from your profile page.
View Full Pricing Page โ†’
Docsโ€บ FAQ
โ“ Frequently Asked Questions

Common questions about the AiTenzo - AI Bug Fixer extension.

Does the extension work offline? โ–พ
No. AiTenzo requires an internet connection to send your code to the AI analysis engine and receive results. The extension itself is installed locally, but each analysis requires a live connection.
Is my code stored on your servers? โ–พ
No. Your code is processed in an isolated session and deleted immediately after analysis. We never store your source code or use it to train AI models. See our Privacy page for full details.
Why is my API key showing as invalid? โ–พ
First check that you copied the key correctly โ€” it starts with at_. If it still fails, go to aitenzo.com/profile to regenerate a new key. Make sure your plan has not expired.
Can I use the extension without a VS Code account? โ–พ
Yes. You only need an AiTenzo account (from aitenzo.com), not a Microsoft/GitHub VS Code account. The extension stores your API key locally in VS Code settings.
How do I apply a fix to my editor? โ–พ
After analysis completes, click the green Apply Fix button in the panel. This replaces your selected code (or the whole file if nothing was selected) with the fixed version. Use the Diff button first to preview the changes.
What happens when I run out of credits? โ–พ
You will see a "No credits remaining" error. Your fixes are not lost โ€” history is preserved. You can upgrade your plan at aitenzo.com/pricing to get more credits immediately.
Can I change keyboard shortcuts? โ–พ
Yes. Go to File โ†’ Preferences โ†’ Keyboard Shortcuts (Ctrl+K Ctrl+S) and search for AiTenzo to customise any shortcut.
Does it work with JetBrains IDEs? โ–พ
Currently the AiTenzo extension is only available for Visual Studio Code. You can use the web app at aitenzo.com/fix from any browser as an alternative.
Docsโ€บ Privacy & Security
๐Ÿ”’ Privacy & Security

AiTenzo - AI Bug Fixer is built with a privacy-first architecture. Here is exactly what happens to your code.

What Happens to Your Code?
1

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.

2

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.

3

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.

4

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.

Security Guarantees
PolicyStatus
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
๐Ÿ›ก๏ธ
If you have compliance requirements (GDPR, HIPAA, SOC 2) or need a custom data processing agreement, please contact us. Enterprise arrangements are available on request.