x runs in any terminal, including VS Code's integrated terminal. There's no dedicated extension needed — the agent communicates through stdio, so it integrates naturally with any editor that has a terminal.

Basic setup

  1. Open your project in VS Code
  2. Open the integrated terminal (Ctrl+` or Cmd+`)
  3. Run x — the agent detects your project structure and reads CLAUDE.md
  4. Work alongside the agent: edit files in the editor while x operates in the terminal

VS Code's file watcher picks up x's writes instantly — you'll see changes appear in the editor in real time. The Source Control panel shows diffs as they happen.

Recommended VS Code settings

.vscode/settings.json
{
  // Auto-save so x always sees your latest edits
  "files.autoSave": "afterDelay",
  "files.autoSaveDelay": 500,

  // Keep terminal scrollback high for long sessions
  "terminal.integrated.scrollback": 10000,

  // Use JetBrains Mono in terminal to match x's output
  "terminal.integrated.fontFamily": "JetBrains Mono",
  "terminal.integrated.fontSize": 13
}

Task binding

Create a VS Code task to launch x with your preferred flags, then bind it to a keyboard shortcut:

.vscode/tasks.json
{
  "version": "2.0.0",
  "tasks": [
    {
      "label": "Start x agent",
      "type": "shell",
      "command": "x",
      "args": ["--budget", "10.00"],
      "presentation": {
        "reveal": "always",
        "panel": "dedicated",
        "focus": true
      },
      "isBackground": true,
      "problemMatcher": []
    }
  ]
}

Then in keybindings.json:

keybindings.json
{
  "key": "ctrl+shift+x",
  "command": "workbench.action.tasks.runTask",
  "args": "Start x agent"
}

Workflow tips

No extension needed: x is terminal-native by design. Extensions add latency, API surface, and failure modes. The integrated terminal gives you everything you need with zero additional dependencies.