How It Works
Quick Start
Configure Environment
Claw onboarding expects search tools to be available. Set
TAVILY_API_KEY (recommended) or rely on the free DuckDuckGo fallback — without Tavily, web search quality is lower.PowerShell Setup Script
Create a standardized setup script for repeatable deployments:- Invoke-PraisonClaw.ps1
- Quick Setup
- Manual Commands
OpenClaw Configuration
Configure OpenClaw with absolute Windows paths and proper subprocess handling:- claw-config.yaml
- launch.ps1
Verification Checklist
Environment Setup
Environment Setup
- Python 3.8+ installed and in PATH
- Virtual environment created and activated
- PraisonAI installed with
[agents,tools,claw]extras -
.envfile created with API keys - Paths use absolute Windows format
OpenClaw Health Check
OpenClaw Health Check
MCP Tool Validation
MCP Tool Validation
Security Validation
Security Validation
-
.envfile not committed to version control - API keys stored securely (Windows Credential Manager for production)
- Virtual environment isolated from global Python
- PowerShell execution policy allows script execution
- Firewall allows localhost:8082 (if needed)
Common Windows Issues
- PowerShell Execution Policy
- Path Resolution
- Module Import Errors
- Subprocess Issues
Production Deployment
Best Practices
Isolate PraisonAI in a dedicated venv
Isolate PraisonAI in a dedicated venv
OpenClaw’s Windows pattern relies on a per-project virtual environment. Create and activate a venv before installing so system Python stays clean and tool versions are reproducible across machines and CI.
Point OpenClaw at the local daemon, not the internet
Point OpenClaw at the local daemon, not the internet
The agent reaches MCP tools through the local OpenClaw daemon (e.g.
http://localhost:8082). Bind the daemon to localhost so the tool surface isn’t exposed on the network, and let Windows handle host-level access control.Health-check and auto-restart the service
Health-check and auto-restart the service
Long-running Windows deployments should watch the daemon’s
/health endpoint and restart the service on failure. A scheduled health check (as shown above) keeps tools available without manual intervention after a crash or reboot.Keep credentials out of PowerShell scripts
Keep credentials out of PowerShell scripts
Store API keys as Windows environment variables or a secrets store, not inline in
.ps1 files. Scripts committed to a repo or shared with a team should reference the environment so keys never leak.Related
Onboard CLI
Interactive setup wizard including OpenClaw
MCP Lifecycle
Model Context Protocol setup on Windows

