Chat-style AI terminal assistant — all in one VS Code window. Paste any API key, type what you want, see the command, click Run.
| Feature | v5 | v6 |
|---|---|---|
| UI | Input box popups | Built-in chat panel (opens beside your editor) |
| Window | Required second window | One window — no F5 needed after install |
| JSON parse errors | Could fail (Groq/Llama) | Fixed — handles messy JSON & markdown |
| Run commands | Auto-ran immediately | Click Run or Copy |
You type: "create a folder named vaibhav on the Desktop"
AI replies: New-Item -ItemType Directory -Path "$env:USERPROFILE\Desktop\vaibhav"
[Run in Terminal] [Copy]
Click Run → command executes in the VS Code terminal
| Provider | Key Prefix | Free |
|---|---|---|
| Google Gemini | AIza... |
Yes |
| Groq | gsk_... |
Yes |
| OpenAI | sk-... / sk-proj-... |
No |
| Anthropic Claude | sk-ant-... |
No |
| OpenRouter | sk-or-... |
Yes |
| Mistral | 32-char key | Yes |
| Cohere | Long key | Yes |
| Tool | Check | Install |
|---|---|---|
| Node.js 18+ | node -v |
https://nodejs.org |
| VS Code | — | https://code.visualstudio.com |
- Groq → https://console.groq.com
cd ai-terminal-v5
code .npm install
npm run watchWait for:
[watch] build finished, watching for changes...
Press:
F5
Ctrl + Shift + ;(Mac:Cmd + Shift + ;)- OR click AI Terminal in the status bar
- OR Command Palette →
AI Terminal: Open
- Paste → Click Connect
- Provider auto-detected
| Action | How |
|---|---|
| Ask AI | Type → Enter |
| Run command | Run in Terminal |
| Copy command | Copy |
| Change API key | Key button |
| Clear chat | Clear button |
| Override model | VS Code settings |
npm install -g @vscode/vsce
vsce package
code --install-extension ai-terminal-6.0.0.vsixEnsure build finished before pressing F5
Invalid or expired key → paste new key
Can still proceed (OpenAI-compatible)
Ctrl + Shift + P → Reload Window| Setting | Description | Default |
|---|---|---|
aiTerminal.model |
Override model | auto |
aiTerminal.shell |
Shell type | auto |
ai-terminal-v5/
├── src/
│ ├── extension.ts
│ ├── panelContent.ts
│ ├── llmProvider.ts
│ └── terminalExecutor.ts
├── out/
├── package.json
└── tsconfig.json