AI Agent Integration
Vectra Guard provides first-class integration with AI coding agents, ensuring they operate safely within your development environment.Quick Start: Seed Agent Instructions
Theseed agents command automatically creates instruction files for AI agents:
Supported AI Agents
- Cursor
- Claude / Copilot
- OpenClaw
- Windsurf / Codex
Cursor IDE Integration
Cursor is automatically protected when you install the shell tracker:.cursor/rules/vectra-guard.md- Agent instructions- VSCode tasks for protected commands
Seed Agents Command Reference
List Available Targets
Seed Multiple Targets
OpenClaw Auto-Detection
Theseed agents command automatically detects your OpenClaw installation:
Agent Instruction Templates
CVE Scanning Workflow
All seeded agent files include this workflow:-
Scan for Vulnerabilities
-
Review Results
- If no critical CVEs: proceed with installation
- If critical CVEs: consider alternatives or upgrades
-
Protected Installation
Explain Specific Packages
Track Operations
All commands are automatically tracked when using the shell tracker.Review Activity
List Trusted
Remove Trust
Step 2: Check Dependencies for Vulnerabilities
Scan for known vulnerabilities:Step 3: Install Dependencies Safely
Use protected execution for installations:Step 4: Validate Scripts Before Running
Always validate scripts before execution:Step 5: Review Session Activity
Check what happened during the session:Seed Output Example
When you runvg seed agents, you get detailed output:
Best Practices
For Agent Instructions
-
Always sync CVE database first
-
Scan before installing
-
Use sessions for tracking
-
Trust common, safe commands
-
Validate scripts before execution
For OpenClaw Integration
-
Let the plugin handle command gating
- The plugin automatically blocks dangerous commands
- No need for manual
vg execwrapping
-
Use the CVE scan tool
-
Review audit logs
- All shell executions are logged via
after_tool_callhook - Check logs regularly for suspicious activity
- All shell executions are logged via
Next Steps
IDE Integration
Set up VSCode and Cursor tasks
CI/CD Integration
Add security to your pipelines
Git Hooks
Validate scripts before commit
Configuration
Customize agent protection settings