Turn VS Code into an IDE for AI agents. WAB ships an integrated panel, IntelliSense, snippets and a local bridge runner so you can build, debug and ship agents that drive any website using the Web Agent Bridge protocol.
Features
- Agent Monitor — live side-panel that streams
AICommandsevents from your local bridge runner and lists your published plans / actions. - AICommand IntelliSense — completion for
AICommands.register / execute / readContent / getPageInfoplus rich snippets (wab-click,wab-form,wab-execute,wab-bootstrap). - Code Actions — right-click a
<button>/<a>/onClickhandler → Wrap as AICommand generates the boilerplate for you. - Embedded Browser — open
http://localhost:3000(or any URL) inside VS Code so you can iterate on the agent without leaving the editor. - DNS scaffolder — generates the TXT / CAA /
.well-known/web-agent-bridge.jsonsnippets your domain needs. - Starter Kit — WAB: Scaffold Starter Kit drops a working
wab.config.json,.well-knownpointer and example agent into your workspace. - Auto-detect — the extension notices when your project depends on
web-agent-bridge-sdkor shipsai-agent-bridge.jsand offers to open the Monitor.
Commands
| Command | Description |
|---|---|
WAB: Open Agent Monitor |
Show the live monitor webview |
WAB: Start / Stop Agent Bridge |
Run a localhost HTTP endpoint that captures bridge events |
WAB: Generate AICommand for Element… |
Snippet builder for the current selection |
WAB: Generate DNS Records |
Output TXT / CAA / well-known stubs for your domain |
WAB: Open Embedded Browser |
Iframe-based browser inside VS Code |
WAB: Sign In |
Stores a personal API token in VS Code SecretStorage |
WAB: Scaffold Starter Kit |
Creates wab.config.json + example agent |
Settings
wab.endpoint— control-plane URL (defaulthttps://www.webagentbridge.com).wab.bridgePort— local bridge runner port (default7999).wab.autoMonitorOnDetect— prompt to open the Monitor when the SDK is detected.wab.intelliSense.enabled— disable completions / code actions.wab.apiToken— optional plain-text token. PreferWAB: Sign In(uses SecretStorage).
Quick start
# 1. install
code --install-extension webagentbridge.wab
# 2. open your site project; the extension will auto-detect WAB SDK
# 3. ⌘⇧P → "WAB: Scaffold Starter Kit"
# 4. ⌘⇧P → "WAB: Open Agent Monitor"
# 5. ⌘⇧P → "WAB: Start Agent Bridge"
Then in your page:
<script src="https://www.webagentbridge.com/v1/ai-agent-bridge.js"></script>
<script>
AICommands.register({
name: 'add_to_cart',
trigger: 'click',
selector: 'button.add-to-cart',
description: 'Add the visible product to the cart',
});
// Forward events to the local VS Code bridge runner
AICommands.events.on('execute', (e) =>
fetch('http://localhost:7999/event', { method: 'POST', body: JSON.stringify(e) })
);
</script>
License
MIT © Web Agent Bridge