Commands and settings
Commands
Run these from the Command Palette (Ctrl+Shift+P, or Cmd+Shift+P on macOS), except where a row says otherwise.
| Command | Default key | What it does |
|---|---|---|
| Codity: Focus Agent | Ctrl+Escape (Cmd+Escape) |
Opens the panel, or the terminal interface when codity.useTerminal is on. |
| Codity: Open in New Tab | Ctrl+Shift+Escape (Cmd+Shift+Escape) |
Opens a session in an editor tab. |
| Codity: Add Selection to Chat | Alt+K |
Attaches the selected code to your next message. |
| Codity: New Chat | Opens a new session in an editor tab. | |
| Codity: New Session | Starts a new session in the panel you are using. | |
| Codity: Session History | Lists this folder's earlier sessions. | |
| Codity: Rename Session | Renames the current session. | |
| Codity: Add File to Chat | Attaches a file or folder. Offered when you right-click in the Explorer, not in the Command Palette. | |
| Codity: Explain Selection | Asks the agent to explain the selected code. | |
| Codity: Fix with Codity | Sends a problem from the Problems list to the agent. Also offered on the light bulb. | |
| Codity: Stop the Running Turn | Ends the current turn. | |
| Codity: Compact Conversation | Summarizes the conversation so far to free context. | |
| Codity: Restart Agent | Stops and starts the agent. | |
| Codity: MCP Servers | Lists, adds and manages MCP servers. | |
| Codity: Remote Control | Turns remote control on or off. | |
| Codity: Switch Team Policy | Chooses the team policy the agent follows. | |
| Codity: Choose Workspace Folder | Chooses the folder the agent works in. | |
| Codity: Build This Plan | Switches to Build and implements the plan shown. | |
| Codity: Accept Change, Reject Change | Decides on the edit shown in a diff. | |
| Codity: Open Run in Dashboard | Opens this run on the Codity dashboard. | |
| Codity: Show Agent Log | Shows the agent's log in the Output panel. | |
| Codity: Open Agent in Terminal | Opens the agent's terminal interface for this folder. |
To change a key, open Preferences: Open Keyboard Shortcuts and search for codity.
Settings
Open Preferences: Open Settings and search for codity.
| Setting | Default | What it does |
|---|---|---|
codity.cliPath |
codity |
Path to the Codity CLI. Set it if codity is not on the PATH VS Code sees. Only user or machine settings can change it, never a workspace's settings, so a repository can't choose the program the extension runs. |
codity.routerMode |
balance |
The priority Auto starts with: cost, balance or intelligence. See Models and billing. |
codity.billing |
auto |
Who pays for model calls: auto (Codity credits when funded, otherwise your keys), credits or byok. |
codity.autoAttachSelection |
true |
Attaches the active file and selection to each message. |
codity.reviewEdits |
true |
Opens a diff for each edit so you can accept or reject it. |
codity.notifications |
true |
Notifies you when a turn finishes, or the agent needs a decision, while the panel is hidden. |
codity.useTerminal |
false |
Uses the agent's terminal interface in an integrated terminal instead of the panel. |
codity.editorTools |
true |
Lets the agent read the editor's problems, your open files and selection, and open a file for you, through a local server only the agent can reach. |
Changes to codity.billing and codity.routerMode take effect the next time the agent starts. Run Codity: Restart Agent to use them straight away.
Files the agent reads on your machine
| File | Used for |
|---|---|
~/.codity/config.yaml |
Your codity login session. |
~/.codity/hooks.json |
Your own hooks. |
~/.codity/mcp.json |
Your own MCP servers. |
~/.codity/mcp-approvals.json |
The project MCP servers you approved. |
.mcp.json in the project |
The project's shared MCP servers. |
CODITY_CONFIG_HOME moves the hooks and MCP files to another folder.

