Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Orabi AI ChatNew to Visual Studio Code? Get it now.
Orabi AI Chat

Orabi AI Chat

elhassan-dev

|
3 installs
| (2) | Free
AI-powered coding assistant for Visual Studio Code using OpenRouter API with GPT-4o model.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Orabi AI Chat

An AI-powered coding assistant for Visual Studio Code using OpenRouter API with GPT-4o model.

Features

✨ Smart Chat Interface

  • Interactive sidebar chat integrated directly into VS Code
  • Full conversation history and context awareness
  • Real-time message streaming and responses
  • Beautiful dark theme with magenta/purple gradient UI

🔐 Secure API Management

  • Secure API key storage using VS Code SecretStorage
  • One-time setup - API key is saved securely
  • Reset API key command for easy management
  • No plaintext storage in configuration files

🤖 Advanced AI Capabilities

  • GPT-4o model via OpenRouter API
  • Context-aware responses based on full conversation history
  • Specialized system prompts for coding assistance
  • Support for code snippets and technical discussions

⚡ Developer-Friendly

  • Auto-open on VS Code startup
  • Keyboard shortcuts (Enter to send, Shift+Enter for new lines)
  • Clear chat history functionality
  • Graceful error handling with helpful messages

Installation

  1. Install the extension from VS Code Marketplace
  2. Open the extension and enter your OpenRouter API key when prompted
  3. Start chatting with your AI assistant!

Usage

Opening the Chat

  • Click the Orabi AI Chat icon in the Activity Bar (left sidebar)
  • Or run command: Orabi AI Chat: Open Chat

Sending Messages

  • Type your message in the textarea
  • Press Enter to send (or click Send button)
  • Use Shift+Enter to add new lines

Clearing History

  • Click the Clear button to reset the conversation

Resetting API Key

  • Run command: Orabi AI: Reset API Key
  • Enter your new OpenRouter API key

Getting an API Key

  1. Visit OpenRouter.ai
  2. Sign up for a free account
  3. Navigate to API Keys section
  4. Copy your API key
  5. Paste it in the extension when prompted

Requirements

  • VS Code 1.85.0 or higher
  • Active internet connection
  • OpenRouter API key

Settings

The extension can be configured via VS Code settings:

{
  "orabi-ai-chat.apiKey": "your-api-key" // Not recommended - use secure storage instead
}

Commands

  • orabi-ai-chat.openChat - Open Orabi AI Chat sidebar
  • orabi-ai-chat.chat - Activate Orabi AI Chat
  • orabi-ai-chat.resetApiKey - Reset and re-enter your API key

Privacy

  • Your API key is stored securely using VS Code's SecretStorage API
  • Chat history is kept only in memory during the session
  • No data is sent to any server except OpenRouter API

Troubleshooting

"Invalid API key" error

  • Verify your OpenRouter API key is correct
  • Check if your account has available credits
  • Run Orabi AI: Reset API Key and re-enter

"Rate limit exceeded" error

  • Wait a moment and try again
  • Check your OpenRouter API usage limits
  • Consider upgrading your plan if needed

"Connection failed" error

  • Check your internet connection
  • Verify OpenRouter API is accessible
  • Try again in a few moments

Support

For issues, feature requests, or feedback:

  • GitHub Issues: Elhassan-orabi/orabi-ai-chat
  • Report bugs with error messages and steps to reproduce

License

MIT License - See LICENSE file for details

Changelog

See CHANGELOG.md for version history and updates.

Contributing

Contributions are welcome! Please feel free to submit pull requests or open issues.


Made with ❤️ by Elhassan Orabi

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft