Skip to content
| Marketplace
Sign in
Visual Studio Code>AI>xKCodeNew to Visual Studio Code? Get it now.
xKCode

xKCode

Preview

xKiro

|
21 installs
| (1) | Free
AI coding agent in your side bar: it plans changes, edits files and runs commands with your approval. Sign in with xKiro or bring your own model keys.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

xKCode for Visual Studio Code

xKCode is an AI coding agent that works in your project from the VS Code side bar. Ask it to explain code, fix problems, write tests or carry out a multi-step change: it reads your workspace, proposes edits and runs commands — and shows you exactly what it will do before it does it.

Sign in with xKiro to use its model catalog with one account, or bring your own provider key.

Features

  • An agent in your side bar: the xKCode panel lives in the Secondary Side Bar, next to Chat (or under its own icon in the Activity Bar — see Other editors built on VS Code). Start a task, follow its plan and tool calls as it works, queue or add instructions while it runs, and keep a history of tasks per folder.
  • You approve what runs: before xKCode runs a command or changes a file, the panel shows the full command or the diff. Allow buttons stay disabled until you have seen all of it; hidden characters, padding and look-alike letters in commands and links are made visible. Choose how much to approve with the mode menu, including Plan mode, where xKCode proposes a plan and edits nothing until you accept it.
  • Native diffs: proposed and finished changes open in VS Code's diff editor, so you can review them — and keep editing — with the tools you already use.
  • Editor context: select code and press Shift+Alt+X (⌘Esc on macOS) to add it to the chat. Right-click files or folders in the Explorer, or a selection in the terminal, to add them as context.
  • Quick Fix: put the cursor on a problem, press Ctrl+. (⌘.) and choose Fix with xKCode. Explain, Generate Tests, Add Documentation and Refactor are in the xKCode submenu of the editor context menu.
  • Commit messages: the xKCode button in Source Control writes a commit message for your staged changes (or all changes) in the style of your recent commits, streaming into the input box. Stop cancels it.
  • Stays out of the way: a status bar item shows when xKCode is working or needs your input, and a badge counts requests waiting for you when the panel is hidden.
  • Extensible: MCP servers, skills, plugins, custom slash commands and project instructions in AGENTS.md work the same as in the xKCode desktop app and CLI.

Requirements

  • VS Code 1.106 or later (the panel uses the Secondary Side Bar).
  • A trusted workspace folder: xKCode runs an agent that can read files and run commands, so it stays off in untrusted workspaces and asks you to open a folder in an empty window.
  • An xKiro account, or an API key from a supported provider.

Nothing else to install: the extension ships the xKCode agent and runs it with VS Code's own runtime. One package is built for Windows, macOS and Linux; so far it has been tested on Windows and Linux (not yet on macOS).

Getting started

  1. Open a folder. On first install the xKCode panel opens in the Secondary Side Bar; later, press Shift+Alt+X (⌘Esc) or run xKCode: Open Chat.
  2. Sign in: choose Sign in with xKiro. Your browser opens the xKiro approval page; approve the code shown in the panel and xKCode connects automatically. You can also paste an xKiro API key, or add a key for OpenAI, Anthropic, OpenRouter, Google Gemini, DeepSeek or an OpenAI-compatible endpoint.
  3. Pick a model and ask a question about your project, or describe the change you want.

Run xKCode: Get Started for a short walkthrough.

Commands and shortcuts

Command Shortcut What it does
xKCode: Open Chat Shift+Alt+X / ⌘Esc Opens the panel. With code selected, the shortcut adds the selection to the chat (xKCode: Add to Chat); pressed in the panel, it returns to the editor.
xKCode: New Task Shift+Alt+N / ⌘⇧Esc Starts a new task in the panel.
xKCode: Open in Editor Tab Opens xKCode as an editor tab.
xKCode: Open Command Center Searches actions, tasks and files.
xKCode: Explain / Fix / Generate Tests / Add Documentation / Refactor Editor context menu → xKCode Sends the selection (or the problem under the cursor) as a new task.
Generate Commit Message with xKCode Source Control title bar Writes a commit message for the repository.
xKCode: Ask About This Project Starts a task that gives a quick tour of the open folder without changing files.
xKCode: Get Started Opens the walkthrough.
xKCode: Show Log Opens the extension log.

Settings

Setting Default Description
xkcode.editorActions.sendImmediately true Send Fix, Explain, Generate Tests, Add Documentation and Refactor right away. Turn off to review the prompt in the composer first.
xkcode.codeActions.enabled true Show xKCode actions in the Quick Fix menu.
xkcode.statusBar.enabled true Show xKCode's status in the status bar.
xkcode.showEditorTitleButton true Show the xKCode button in the editor title bar.
xkcode.terminal.offerFixOnFailure false Offer to fix a failed terminal command. Reads the output of commands in terminals with shell integration, so it is off by default.
xkcode.terminal.addSelectionUsesClipboard true Add a terminal selection by copying it through the clipboard and restoring your previous clipboard text.
xkcode.ideServer.enabled true Let the xkcode CLI running in this window's terminals read the selection, open editors and problems.
xkcode.cliPath (empty) Path to the xkcode CLI for the optional terminal UI. User settings only.
xkcode.terminalLocation editor Where the optional terminal UI opens.
xkcode.panelLocation auto Where the panel lives: auto, secondarySideBar or sideBar (an xKCode icon in the Activity Bar). See below.

Other editors built on VS Code

xKCode should run in editors built on VS Code 1.106 or later. Tested on Windows and Linux in: VS Code 1.147, VSCodium 1.143, Devin Desktop (Windsurf) 1.141, Kiro 1.145, Cursor 1.128, Trae 1.107 and Google Antigravity IDE 1.107 (VS Code versions the editors report). Cursor and Trae keep the Secondary Side Bar for their own assistant, so there xKCode adds its own xKCode icon to the Activity Bar instead. To choose the place yourself, run xKCode: Change Panel Location or set xkcode.panelLocation.

Using the xKCode CLI in the terminal (optional)

If you also use the xkcode CLI, terminals in this window can connect it to the editor: it can then read your selection, open editors and problems, and open files and diffs (mcp__xkcode-ide__… tools). The connection listens on 127.0.0.1 only, with a random port and a per-window token stored in a file only you can read. Outside VS Code, start the CLI with xkcode --ide in a folder that is open in a VS Code window.

Privacy and security

  • Your code stays on your machine except for what a task sends to the model provider you signed in with: your messages, and the files, command output and tool results the agent reads to do the task.
  • The extension sends no usage telemetry. It sends crash and error reports — errors in the extension's own code and an unexpected exit of its local server — to xKiro, which forwards them to Sentry. Reports follow your VS Code telemetry setting (telemetry.telemetryLevel: all or error sends them, crash or off sends nothing) and start only after a one-time notice. Error messages keep only common English words and error terms; names, paths, keys and numbers are replaced, so your prompts, code and file contents are not sent except for common English words that appear in an error message. Reports are anonymous (your sign-in key is not attached). Turn them off with the VS Code setting, Turn Off in the notice (also turns reporting off for the xKCode app and CLI), or the environment variable XKCODE_DISABLE_ERROR_REPORTING=1. The local server and its agent never report on their own. If you also use the separately installed xkcode CLI from VS Code (terminal UI or classic chat), the CLI follows its own crash-report setting, described in its privacy notice.
  • Keys are stored encrypted on your machine and sent only to the provider they belong to.
  • File access, opening files and diffs are limited to your workspace folders; the extension never approves a request for you.

Read the privacy policy and terms.

Support

  • In the panel: xKCode: Open Command Center → Send feedback, or Report issue on an error. This opens an email draft to the xKiro support team with the app version, OS and error reference — never your code or conversation.
  • Email support@xkiro.com or visit xkiro.com/contact.
  • Documentation: docs.xkiro.com.
  • Logs: run xKCode: Show Log.

License

Proprietary software of xKiro; see LICENSE.txt. Third-party components are listed in ThirdPartyNotices.txt.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft