Bragi Code Assistant
Connect VS Code to Bragi AI for powerful code assistance powered by Gemini.
Features
- Seamless integration between VS Code and Bragi AI
- Send your current file to Bragi for AI-assisted coding
- Get code suggestions, explanations, and refactoring help
- Works with the Bragi AI Code Mode
Installation
From VS Code Marketplace (Coming Soon)
- Open VS Code
- Go to Extensions (Ctrl+Shift+X)
- Search for "Bragi Code Assistant"
- Click Install
Manual Installation
- Download the extension VSIX file
- Open VS Code
- Go to Extensions (Ctrl+Shift+X)
- Click the "..." menu in the top-right of the Extensions panel
- Select "Install from VSIX..."
- Choose the downloaded VSIX file
Setup
- Install the extension
- Configure the Bragi API URL in settings (default: http://localhost:3001)
- Click the Bragi icon in the activity bar
- Click "Connect to Bragi AI"
Usage
- Connect to Bragi AI using the sidebar or status bar
- Open a code file in VS Code
- In the Bragi app, activate Code Mode
- Ask coding questions or request code generation
- View and apply suggestions directly in VS Code
Commands
- Connect to Bragi AI: Establish connection with Bragi server
- Disconnect from Bragi AI: End the connection
- Send Current File to Bragi AI: Send the active file for context
Requirements
- VS Code 1.60.0 or higher
- Bragi AI application running locally or remotely
Extension Settings
This extension contributes the following settings:
bragiCodeAssistant.apiUrl : URL of the Bragi AI server (default: http://localhost:3001)
Known Issues
- Initial release may have stability issues
- Connection may time out after long periods of inactivity
Release Notes
0.1.0
Initial release of Bragi Code Assistant with basic connectivity features.
For Development
Building the Extension
cd vscode-extension/bragi-code-assistant
npm install
vsce package
Running the Extension
- Open VS Code on the extension folder
- Press F5 to start debugging
- A new VS Code window will open with the extension loaded
| |