Prerequisites
Before installing HAI Build, ensure you have:Visual Studio Code
Download and install VS Code version 1.84.0 or higher
API Keys (Optional)
Obtain API keys for your preferred LLM provider:
- Anthropic (Claude)
- OpenAI
- Google AI Studio (Gemini)
- OpenRouter (Multiple providers)
Git (Recommended)
Install Git for version control integration features
You can start using HAI Build without API keys by configuring them later. The extension will prompt you when needed.
Install from VS Code Marketplace
The easiest way to install HAI Build is directly from the VS Code Extensions marketplace:Open VS Code Extensions
Press
Ctrl+Shift+X (Windows/Linux) or Cmd+Shift+X (macOS) to open the Extensions view
Alternative Installation Methods
Install via Command Palette
Install from VSIX File
For offline installation or testing pre-release versions:Download VSIX
Download the
.vsix file from GitHub ReleasesPost-Installation Setup
After installing HAI Build, complete these configuration steps:1. Open HAI Build Interface
Click the HAI icon in the activity bar or pressCtrl+' (Windows/Linux) or Cmd+' (macOS)

2. Configure Your LLM Provider
Select Provider
Choose your preferred LLM provider from the dropdown:
- Anthropic (Claude Sonnet, Opus, Haiku)
- OpenAI (GPT-4, GPT-3.5)
- Google (Gemini Pro, Ultra)
- OpenRouter (Access to multiple providers)
- Ollama (Local models)
- AWS Bedrock, Azure, Vertex AI
3. Configure Optional Features
Telemetry Settings
For teams wanting to track AI usage and metrics:.hai.config file at your workspace root.
MCP Servers
Extend HAI with Model Context Protocol servers:4. Complete the Walkthrough
HAI Build includes an interactive walkthrough to help you learn key features:- Goal-oriented prompting - How to communicate effectively with HAI
- Codebase learning - Letting HAI understand your project structure
- Model selection - Choosing the right AI models for your needs
- MCP tools - Extending capabilities with external integrations
- Control & approval - Reviewing and managing AI-generated changes
Verify Your Installation
Confirm everything is working correctly:Test Simple Query
Ask HAI a simple question about your code: “Explain the structure of this project”
If HAI doesn’t respond, check that:
- Your API key is correctly configured
- You have internet connectivity
- Your selected model is available (check provider status pages)
Keyboard Shortcuts Reference
Memoize these shortcuts for efficient workflow:Troubleshooting
Extension Not Appearing
API Key Issues
Performance Issues on Linux
Linux users may need additional system libraries:Next Steps
Now that HAI Build is installed and configured:Quick Start Guide
Learn how to use HAI Build for your first task
GitHub Repository
Explore source code and contribute
Need Help?
Report an Issue
Found a bug? Let us know on GitHub
Request a Feature
Have an idea? Share it in Discussions
Email Support
Get help from the HAI team
Documentation
Browse comprehensive guides