Skip to content
| Marketplace
Sign in
Visual Studio Code>Machine Learning>taishenNew to Visual Studio Code? Get it now.
taishen

taishen

EricXu

| (0) | Free
taishen AI coding agent in the VS Code sidebar. Connects to a locally installed taishen host over AHP.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Taishen

Taishen AI coding agent in the VS Code sidebar. The extension is a client only: it connects to a Taishen host that runs on your machine, and all agent capabilities (models, tools, skills, memory, approvals) stay in that host.

Status: 0.1.0 is the first public release. It includes the chat MVP (message stream, tool cards, approval cards, model selection, stop, error states), editor context (selection, diagnostics, @-file references), a session list with reconnect, terminal output and plan cards. Requires Taishen 1.9.0 or newer on the same machine.

Requirements

  • VS Code 1.101 or newer.
  • A local Taishen installation, version 1.9.0 or newer. The extension does not download or bundle the Taishen runtime. Download it from the releases page, install it, and launch it at least once.

First connection

  1. Install Taishen 1.9.0 or newer and launch it once. It writes a host discovery file at ~/.taishen/host/vscode-<workspaceHash>.json, one per workspace.
  2. Open a folder in VS Code, then click the Taishen icon in the Activity Bar (or press Ctrl+Alt+T, Cmd+Alt+T on macOS).
  3. The sidebar shows the host version and the model list once the handshake succeeds. If it stays disconnected, run Taishen: Restart Host from the Command Palette, or set taishen.path to the Taishen executable.

Commands

Command Where
Taishen: Open Chat Ctrl+Alt+T / Cmd+Alt+T, Command Palette
Taishen: Add Selection to Chat Editor context menu, with a selection
Taishen: Add Problems to Chat Editor context menu, adds the active file diagnostics
Taishen: Restart Host Chat view title bar
Taishen: Show Logs Chat view title bar
Taishen: Open Settings Command Palette

Settings

Setting Default Description
taishen.path empty Absolute path to the Taishen executable; empty means auto-detect
taishen.autoStartHost true Start a host when none is discovered
taishen.terminateHostOnExit false Kill the host when VS Code exits
taishen.minHostVersion 1.9.0 Reject older hosts with an upgrade hint

How it works

VS Code Webview (sidebar chat)
        | UI DTO only, postMessage whitelist
        v
Extension Host (connection, state mirror, editor context)
        | AHP over WebSocket, 127.0.0.1 only
        v
Taishen host (headless server, one per workspace)
  • The host is discovered through ~/.taishen/host/vscode-<workspaceHash>.json.
  • If no live host exists, the extension starts one (--headless --server --profile vscode).
  • The token from the discovery file never reaches the webview.
  • Closing VS Code keeps the host running by default.

Troubleshooting

  • Sidebar stays disconnected. Confirm Taishen is installed and has been launched once, then try Taishen: Restart Host. If the executable is in a non-standard location, set taishen.path.
  • Upgrade hint instead of a connection. The host version is below taishen.minHostVersion. Update Taishen, or lower the setting if you know the host is compatible.
  • Two workspaces. Each workspace gets its own host; they do not share sessions.

Development

npm install
npm run typecheck
npm run compile
npm run package

Press F5 in VS Code to launch an Extension Development Host.

Privacy

The extension sends nothing to the network on its own. Logs stay in the Taishen output channel. Model requests are made by the local Taishen host using the provider credentials you configured there.

License

Proprietary. Copyright (c) 2026 Eric Xu. All Rights Reserved. See LICENSE.

The extension may be installed and used through the Visual Studio Marketplace. Copying, modifying and redistributing it are not permitted.

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