Skip to content
| Marketplace
Sign in
Visual Studio Code>AI>OpenClaw VS Code AgentNew to Visual Studio Code? Get it now.
OpenClaw VS Code Agent

OpenClaw VS Code Agent

Galih Ridho Utomo

|
14 installs
| (1) | Free
Use the local OpenClaw CLI from inside VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

OpenClaw VS Code Agent

OpenClaw VS Code Agent is a VS Code extension for using the local OpenClaw CLI inside your workspace. It gives you a chat panel that can create files, edit code, make folders, and run terminal commands from plain-language prompts.

Features

  • Chat with OpenClaw from inside VS Code.
  • Keep the conversation history locally in VS Code.
  • Ask for code changes in plain language.
  • Let the agent create files, folders, and terminal actions when needed.
  • Preview responses before applying actions.

Requirements

  • VS Code 1.90 or newer.
  • Node.js 20 or newer.
  • The openclaw CLI available on your PATH, or configured through openclawAgent.cliPath.

Configuration

Open the VS Code settings and search for OpenClaw VS Code Agent.

  • openclawAgent.cliPath: path to the OpenClaw CLI.
  • openclawAgent.workspaceRoot: optional workspace root to use instead of the current folder.
  • openclawAgent.sessionId: optional OpenClaw session id.
  • openclawAgent.thinking: default reasoning level for prompts.
  • openclawAgent.autoDirectActions: handle simple requests like file creation or terminal commands directly.

Installation

From VSIX

  1. Build the extension package.
  2. Install the generated .vsix file in VS Code.
npm install
npm run build
npm run package

Development

npm install
npm run build

Open the folder in VS Code and press F5 to launch the extension host.

Commands

  • OpenClaw: Open Chat
  • OpenClaw: Send Prompt

Updates

New versions are published as .vsix files on GitHub Releases. Download the latest file from the release page and install it in VS Code when you want to update.

Security Note

If VS Code shows a trust warning while installing a VSIX, that usually means the publisher is not verified yet. It is a normal Marketplace or VSIX trust prompt and does not mean the package is broken.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft