VS Code extension

Codity Agent puts Codity's coding agent in a panel in your editor. It reads your code, plans, edits files and runs commands in your workspace, and each edit opens as a diff you accept or reject. Your organization's permissions, hooks, MCP rules, team memory and Codity credits apply exactly as they do with codity agent in the terminal, and every session appears on the dashboard.

Requirements

  • VS Code 1.90 or later, or an editor built on VS Code that installs VS Code extensions, such as Cursor.
  • The Codity CLI 2.8.0 or later, signed in with codity login. The extension runs the agent through the CLI, so it uses your account, organization and team settings.
  • Linux or macOS. On Windows, open the folder in WSL.

If the CLI is missing or older than 2.8.0, the panel says so and links to the fix. Run codity update to update it.

Install

  1. Install the CLI and sign in:

    curl -fsSL https://cli.codity.ai/install.sh | sh
    codity login
    
  2. In VS Code, open the Extensions view, search for Codity Agent (publisher codity.ai) and click Install. You can also install it from the Marketplace page or with code --install-extension codityai.codity-agent.

  3. In Cursor, Windsurf or VSCodium, which use a different extension store, download the .vsix from the Marketplace page (Download Extension), then run Extensions: Install from VSIX... from the Command Palette.

Start your first session

  1. Open a folder or workspace. The agent works in that folder; in a multi-root workspace, choose the folder with Codity: Choose Workspace Folder.
  2. Click the Codity icon in the secondary side bar on the right (in VS Code before 1.106, in the activity bar), or press Ctrl+Escape (Cmd+Escape on macOS). In Cursor, the panel opens as an editor tab instead, since Cursor's layout keeps its side bars for its own agent; click Codity in the status bar or press the same keys.
  3. Type what you want built, fixed or explained, and press Enter.

The first session downloads the agent engine once, which takes a few seconds. After that, sessions start straight away.

What the panel offers

Feature Where to read more
Chat with an agent that reads, edits and runs commands, with file, selection, image and web context Working in the panel
A diff for every edit, Accept edits, and permission requests you answer in place Working in the panel
Build, Plan and Auto modes Working in the panel and Auto mode
Auto model routing, the model picker, reasoning effort, Codity credits or your own keys Models and billing
MCP servers, their prompts and resources MCP servers in VS Code
Your organization's, team's and your own hooks Hooks
Continue a session from your phone Remote control
Session history, rewind, fork and compact Sessions
Team policy and team memory Working in the panel
Every command and setting Commands and settings

Use the terminal interface instead

If you prefer the agent's terminal interface, turn on codity.useTerminal. Codity: Focus Agent then opens codity agent in an integrated terminal, and editor actions such as Add Selection to Chat type @file#lines into it. Codity: Open Agent in Terminal does the same for a single session without changing the setting.

Privacy

The agent sends your messages and the code it reads to the model provider through Codity, or straight to the provider when you use your own keys. Session events, such as messages, tool calls, permission decisions and costs, are recorded for your organization's dashboard. With remote control on, what the panel shows also passes through Codity; see Remote control.