- Overview
- Key Capabilities
- Setup
- Quick Start
- How It Works
- Why VS Code
- Project Structure
- Advanced Configuration:
manifest.json - Requirements
G4 Engine – VS Code Extension brings the complete visual sequential workflow experience directly into Visual Studio Code.
Powered by the Sequential Workflow Designer, this extension allows you to design, edit, and run automation workflows visually, without leaving your editor.
You can drag & drop automation assets directly from the VS Code workspace into the workflow canvas, combining code, configuration, AI, and orchestration in a single place.
This turns VS Code into a full automation and orchestration IDE.
-
Visual Sequential Workflow Designer
- Full drag & drop workflow editing inside VS Code
- Real-time rendering and updates
- No external browser or standalone app
-
Workspace-Native Drag & Drop
- Drag automation files directly from the VS Code Explorer
- Supports multi-select and standard VS Code drag behavior
- Tight coupling between workflows and project files
-
Native VS Code Integration
- Commands via Command Palette
- Status bar G4 connection indicator
- Dedicated Activity Bar (tools panel) integration
-
Extensible & AI-Ready
- Works seamlessly with Copilot and other AI extensions
- Integrates with Git, CI/CD tools, terminals, and debuggers
Install from the VS Code Marketplace or from a .vsix file:
code --install-extension g4-engine-client.vsixOpen the Command Palette and run:
G4: Create New Project
This initializes the required G4 project structure in your workspace.
Check the VS Code status bar:
- A visible G4 status indicator confirms the backend is connected
- If disconnected, ensure the G4 backend is running and reachable
- Click the G4 icon in the Activity Bar (left-side panel)
- Select “Open G4 Workflow Editor”
The Visual Sequential Workflow Designer opens inside VS Code.
-
Open the G4 Workflow Editor
-
In the VS Code Explorer, locate automation files
-
Drag & drop files directly onto the workflow canvas
- Use the standard VS Code Shift-drag trick when needed
-
Visually connect steps and configure them
-
Save and run the workflow using G4 commands
Everything happens inside VS Code, with full workspace awareness.
The extension embeds the Sequential Workflow Designer using native VS Code APIs:
- Tree Providers expose G4 assets in the workspace
- WebView Views host the workflow editor and recorder UI
- Commands manage project creation, workflow loading, and execution
- Status Bar Integration reflects live connection state
This ensures performance, stability, and a first-class VS Code experience.
By running inside VS Code, G4 Engine automatically gains:
- AI assistance (Copilot, Chat, and custom AI extensions)
- Git and source control integrations
- CI/CD tooling and terminals
- Familiar shortcuts, theming, and layouts
- A massive extension ecosystem
G4 doesn’t replace your editor — it turns it into an automation IDE.
The G4 project structure is alphabetically ordered, exactly as it appears in VS Code:
.
├── .github/
│ └── instructions/
│ ├── copilot-new-bot.instructions.md
│ └── copilot-new-flow.instructions.md
├── .vscode/
│ └── mcp.json
├── bots/
├── configurations/
├── environments/
├── models/
├── prompts/
├── resources/
├── templates/
├── workflows/
├── .env
└── manifest.json
-
.github/instructionsCopilot instruction files that guide AI-assisted creation of bots and workflows. -
.vscode/mcp.jsonMCP / Copilot integration configuration for VS Code. -
Domain folders (
bots,workflows,models, etc.) First-class G4 concepts, directly usable from the workflow designer via drag & drop.
The manifest.json file is the central runtime configuration for a G4 project.
It controls connectivity, drivers, automation behavior, recorders, diagnostics, and artifacts.
Controls client-side and agent logging behavior.
"clientLogConfiguration": {
"agentLogConfiguration": {
"enabled": true,
"interval": 1000
},
"logLevel": "information",
"sourceOptions": {
"filter": "include",
"sources": []
}
}"g4Server": {
"schema": "http",
"host": "localhost",
"port": "9944"
}Supports local, remote, clustered, or air-gapped deployments.
"authentication": {
"token": ""
}Typically injected via .env or CI secrets.
"driverParameters": {
"driver": "ChromeDriver",
"driverBinaries": "http://localhost:4444/wd/hub"
}Defines default execution drivers and remote hubs.
"automationSettings": {
"loadTimeout": 60000,
"maxParallel": 1,
"returnFlatResponse": true,
"returnStructuredResponse": true,
"searchTimeout": 15000
}Controls execution limits, parallelism, and response formats.
Supports local or distributed recording.
"recorderSettings": {
"enabled": false,
"recorders": [ ... ]
}Includes machine labeling, think-time simulation, and remote drivers.
- Exception handling
- Performance metrics
- Screenshot capture
Used for debugging, CI pipelines, and analytics.
Customize this file when:
- Connecting to remote or clustered G4 backends
- Enabling recorders or distributed execution
- Running in CI/CD pipelines
- Operating in offline or air-gapped environments
- Visual Studio Code
^1.105.0 - Node.js (for extension development/build)
- A compatible G4 Engine backend (local or remote)