-
Notifications
You must be signed in to change notification settings - Fork 3
Getting Started
- VS Code
^1.84.0or newer - An API endpoint and credentials for a supported model provider
Install Gray Code from the VS Code Marketplace.
Alternatively, download graycode-*.vsix from GitHub Releases, open the VS Code Command Palette, and run Extensions: Install from VSIX....
Select the Gray Code icon in the VS Code Activity Bar, or run GrayCode: Open Chat Panel from the Command Palette.
- Open Settings from the upper-right corner of the chat panel.
- Go to Channels and create a channel.
- Choose Gemini, OpenAI Compatible, OpenAI Responses, or Anthropic.
- Enter the API URL and API key, then add models manually or fetch the model list.
- Save, return to chat, and select the channel and model below the input box.
See Models and Channels if you are unsure which type to choose. Never place API keys in workspace files, chat content, or Issues.
- Code for everyday coding, file changes, and tests.
- Design for requirements, constraints, interfaces, and solution design.
- Plan for turning an approved solution into steps and TODOs.
- Ask for explanations and read-only analysis.
- Review for structured reviews of code or Git changes.
Modes can be copied, edited, or added under Settings → Prompts.
State a concrete goal and whether you want analysis before changes. For example:
Read the repository structure and explain the entry points, core modules, and tests. Do not modify files yet.
Investigate this bug. Search the relevant code and show the evidence before fixing it and running tests.
Drop files, folders, selected code, images, PDFs, or other attachments into the input box to define the task's focus.
File tools normally open a native VS Code diff. Accept or reject changes from the editor title area, or use:
- Accept current block:
Ctrl+Shift+Y(Cmd+Shift+Yon macOS) - Reject current block:
Ctrl+Shift+N(Cmd+Shift+Non macOS) - Navigate to the next / previous block with
Alt+]/Alt+[. - Command Palette:
GrayCode: Accept All Changes/GrayCode: Reject All Changes
Control which sensitive tools require confirmation under Settings → Auto Execute.
GrayCode can check GitHub Releases automatically. You can also check or update manually under Settings → General → Automatic Updates. For VSIX installations, download the new file from Releases and run Extensions: Install from VSIX... again.
Next: explore the Feature Overview or Tools and Workflows.