AskMe AI Gateway
AskMe AI Gateway brings your organization's AskMe AI models into Visual Studio Code. Chat with the models your administrator has enabled, attach images and documents, and let the assistant read, edit, and run code in your workspace with the level of control you choose.
All requests go through your organization's AskMe AI Gateway, which handles authentication, model access, and credit usage.
Requirements
- Visual Studio Code 1.85 or later
- An AskMe AI account and your organization's workspace domain
Getting Started
- Open the panel with
Ctrl+Alt+A (macOS: Cmd+Alt+A). AskMe AI Gateway appears in the Secondary Side Bar.
- Enter your organization's workspace domain.
- Sign in using one of the following:
- Email and password
- Sign in with browser (single sign-on). Approve the request in your browser and you are returned to VS Code automatically.
Your credentials are stored in the operating system's secure storage and are refreshed automatically.
Features
Chat
- Responses stream in real time from the models available to your organization, which may include GPT, Claude, Gemini, Qwen, DeepSeek, Kimi, and GLM.
- Keep multiple conversations and switch between them from the chat history.
- Messages typed while the assistant is still working are queued and sent when the current response finishes.
- Stop a response at any time with
Esc or the stop button. The response is marked as interrupted and shows the credits that were actually charged.
- Deleting a conversation asks for confirmation. On gateways that keep conversation history, the conversation is also deleted from the server.
- Long conversations are summarized automatically to keep requests efficient. You can also summarize manually with
/compact.
Credit Usage
- The header shows how much of your credit allocation has been used.
- Each response shows the credits charged for that turn.
Attachments
| Type |
Limit |
| Images (paste, drag and drop, or attach) |
Up to 4 images, 4 MB each |
| Documents (PDF, Word, Excel, PowerPoint, text, and source code) |
Up to 5 files, 40 MB each |
| Total per message |
50 MB |
The gateway extracts text from documents so that every model can read them. Images require a model that supports vision. You can also reference workspace files with @ or attach the file open in the editor.
The assistant can use the following tools to work in your workspace:
| Tool |
Purpose |
read_file, list_directory, search_files |
Read and search files in the workspace |
write_file, edit_file, delete_file |
Create, modify, and delete files |
run_command |
Run tests, builds, installs, and development servers. Long-running servers open in a VS Code terminal. |
read_terminal |
Read the output of a terminal the assistant started |
Edit Modes
Choose how much the assistant may do without asking. Switch modes from the selector next to the Send button.
| Mode |
Behavior |
| Ask (default) |
Confirms every file change and command |
| Auto-edit |
Applies file edits automatically and confirms deletions and commands |
| Plan |
Read-only. The assistant proposes a plan without changing anything. |
| Full-Auto |
Runs all tools without asking. Use only in an environment you are prepared to have modified. |
Commands that are considered destructive, and writes that would remove most of an existing file, still ask for confirmation in every mode.
Reasoning Effort
- Effort controls how much the model reasons before answering. Only the levels supported by the selected model are shown.
Skills
Type / in the chat input to choose a skill. Built-in skills include /explain, /refactor, /review, /debug, /add-test, /security-review, /dockerize, /init, /insights, and /run, along with bundled open-source skill packs. To add your own, place a Markdown file in .askme/skills/ in your workspace.
Editor Integration
- Right-click selected code and choose AskMe AI to explain, fix, refactor, add tests, add documentation, or ask a question about it.
- Fix Errors in This File sends the file's current diagnostics to the assistant.
- In the Source Control view, Generate Commit Message and Review Changes work from your Git changes.
- Right-click in a terminal and choose Explain Terminal Selection.
Inline Completion
Optional inline code suggestions as you type. Enable askme.inlineCompletion.enabled, then press Tab to accept or Esc to dismiss.
Settings
Open Settings (Ctrl+,) and search for askme. The settings most users need are:
| Setting |
Default |
Description |
askme.editMode |
ask |
Default edit mode. Can only be set in User settings. |
askme.effort |
medium |
Default reasoning effort |
askme.autoCompact |
true |
Summarize long conversations automatically |
askme.autoCompactTokens |
40000 |
Conversation size at which automatic summarizing starts |
askme.inlineCompletion.enabled |
false |
Enable inline code suggestions |
askme.verboseLogging |
false |
Write detailed logs to the AskMe AI output channel. Turn this on before reproducing a problem you want to report. Logs contain metadata such as file names, tool names, and token counts, never your code or prompts. |
Settings intended for administrators, such as askme.gatewayUrl and askme.updateManifestUrl, are described in the settings editor.
Keyboard Shortcuts
| Shortcut (Windows/Linux) |
macOS |
Action |
Ctrl+Alt+A |
Cmd+Alt+A |
Open the AskMe panel |
Ctrl+Alt+I |
Cmd+Alt+I |
Focus the chat input |
Ctrl+Alt+N |
Cmd+Alt+N |
Start a new chat |
Ctrl+Alt+L |
Cmd+Alt+L |
Ask about the selected code |
Ctrl+Alt+E |
Cmd+Alt+E |
Explain the selected code |
Enter / Shift+Enter |
Enter / Shift+Enter |
Send / insert a new line |
Esc |
Esc |
Stop the current response |
/ · @ |
/ · @ |
Choose a skill · reference a file |
Privacy
- Sign-in tokens are kept in the operating system's secure storage.
- Conversations are stored locally in VS Code. Depending on your organization's gateway configuration, conversations may also be recorded on the gateway for auditing.
- Logs never contain the content of your code or prompts.
Troubleshooting
- Cannot connect: run AskMe: Test Connection from the Command Palette to check the gateway address, network, and sign-in status.
- Reporting a problem: turn on
askme.verboseLogging, reproduce the issue, then run AskMe: Export Logs to File and send the file to your administrator.
Credits and License
This extension bundles third-party skill packs released under the MIT License: mattpocock/skills, BigDataAgency/bda-ai-dev-standard, kerlos/pordee, and JuliusBrussee/caveman. See BUNDLED_SKILLS.md for full attribution.
Proprietary software. Copyright 2026 AskMe Solutions and Consultants Co., Ltd. See LICENSE.