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
- Powered by Google's Gemini AI for accurate code analysis
- Context-aware code understanding and suggestions
- Support for multiple programming languages
- Real-time code suggestions and explanations
- Syntax-highlighted code blocks in chat
- Git integration for better context
- Customizable settings and preferences
- Secure API key management
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
- Visit the Google AI Studio
- Sign in with your Google account
- Create a new API key or copy your existing one
- Keep this key secure - you'll need it to use the extension
3 Configure the Extension
- Open VS Code Command Palette (Cmd/Ctrl+Shift+P)
- Type "FreeAgent: Set API Key"
- Enter your Gemini API key when prompted
- The extension will securely store your key for future use
4 Start Using FreeAgent
- Select code in your editor
- Right-click and choose from available commands:
- FreeAgent > Explain Code
- FreeAgent > Refactor Code
- FreeAgent > Document Code
- FreeAgent > Find Bugs
- FreeAgent > Analyze Performance
- Or use the Command Palette and type "FreeAgent:" to see all commands