Haka AI Studio
AI-powered test automation for Playwright and Selenium

Overview
Haka AI Studio is a Visual Studio Code extension that automates the creation of functional tests using artificial intelligence. Record browser interactions and generate complete Gherkin test cases with AI — up to 80% faster when used with Haka Engines.
Key Features
| Feature |
Description |
| Koru |
Record browser interactions and generate Gherkin tests with AI |
| Kai |
AI chat assistant specialized in test automation |
| Rest |
Generate REST API test features from OpenAPI, Postman, or cURL |
| Multi-AI |
Supports Google Gemini, OpenAI, and Anthropic Claude |
| Dual Engine |
Works with Playwright and Selenium |
| i18n |
Full English and Spanish interface support |
| Guest Mode |
Use without a license using generic AI knowledge |
Getting Started
- Install the extension from the VS Code Marketplace
- Open the Haka AI Studio panel from the activity bar
- Configure your AI provider (Gemini recommended) in the Config tab
- Record a test with Koru or ask Kai for help
Account Types
| Type |
Access |
| Haka Lab (Google OAuth) |
Full access, vectorized steps |
| License Key |
Full access, per-device validation |
| Guest |
Koru + Kai with generic AI (no vectors, no REST) |
Tabs
Koru (Recorder)
Record browser interactions and generate Gherkin features:
- Enter URL → Start Test
- Interact with the app
- Stop → Add Validations
- Generate with AI → Feature + Steps + POM
Kai (AI Chat)
Ask questions about test automation. Uses vectorized framework knowledge for precise answers.
Rest (API Testing)
Generate complete REST test features from:
- OpenAPI/Swagger specs
- Postman collections
- cURL commands
Uses DocString format for JSON bodies. Generates all scenarios needed to certify an endpoint.
Config
- AI provider and model selection
- Custom prompt instructions
- Project step vectorization
- Language selection (English/Spanish)
About
Product info, step-by-step guide, and legal links.
Vectorization
Steps are organized by test type (v2.0):
| Type |
Vectors |
| API |
130 |
| Database |
14 |
| Desktop |
87 |
| GenAI |
71 |
| Mobile |
129 |
| Validations |
155 |
| Web |
295 |
| Total |
881 |
Re-vectorize a specific type:
python vectorizacion/vectorize_by_type.py api
python vectorizacion/vectorize_by_type.py web bd
python vectorizacion/vectorize_by_type.py # all
AI Providers
| Provider |
Recommended Model |
Cost (approx.) |
| Gemini |
gemini-2.0-flash |
~$0.003/test |
| OpenAI |
gpt-4o |
~$0.01/test |
| Claude |
claude-3-5-sonnet |
~$0.008/test |
Security
- API Keys stored in VS Code's encrypted secret storage
- No telemetry, no tracking, no data sent to Haka Lab
- All AI communication over HTTPS
- License validation per device (prevents sharing)
- Guest mode requires no credentials
Legal
- Developer: Felipe Farias — felipe.farias@hakalab.com
- Company: Haka Lab — contacto@hakalab.com
Haka AI Studio v1.0.28 — Created by Haka Lab