FreeAgent

A powerful VS Code extension that brings AI-powered code assistance right to your editor

Explain Code

Get detailed explanations of selected code, helping you understand complex logic and algorithms.

Refactor Code

Receive intelligent suggestions for code improvements and refactoring opportunities.

Document Code

Generate comprehensive documentation for your code, including function descriptions and usage examples.

Find Bugs

Identify potential issues and bugs in your code with AI-powered analysis.

Analyze Performance

Get insights into code performance and optimization opportunities.

Smart Chat

Interactive chat interface for code-aware conversations and real-time assistance.

Key Features

Getting Started

1 Install the Extension

Install "FreeAgent" from the VS Code Marketplace by clicking the "Install in VS Code" button.

2 Get Your Gemini API Key

  1. Visit the Google AI Studio
  2. Sign in with your Google account
  3. Create a new API key or copy your existing one
  4. Keep this key secure - you'll need it to use the extension
Get API Key

3 Configure the Extension

  1. Open VS Code Command Palette (Cmd/Ctrl+Shift+P)
  2. Type "FreeAgent: Set API Key"
  3. Enter your Gemini API key when prompted
  4. The extension will securely store your key for future use

4 Start Using FreeAgent

  1. Select code in your editor
  2. Right-click and choose from available commands:
    • FreeAgent > Explain Code
    • FreeAgent > Refactor Code
    • FreeAgent > Document Code
    • FreeAgent > Find Bugs
    • FreeAgent > Analyze Performance
  3. Or use the Command Palette and type "FreeAgent:" to see all commands