W365Claw Book: Deploying AI Agents on Windows 365

The Book

Deploying OpenClaw with Windows 365: A Practitioner’s Guide to Custom Image Engineering and Deployment

This is the book you read when you’re past the PowerPoint decks and ready to deploy AI coding agents in a real enterprise environment. It covers everything from infrastructure provisioning through Terraform, to the custom image build pipeline, to post-provisioning operations, to the security architecture required to contain autonomous AI agents.

The audience is technical. This isn’t a high-level overview — it’s the practitioner’s guide for IT administrators and platform engineers who need production-grade AI agent deployments on Windows 365 Cloud PCs.

What’s Inside

Infrastructure & Provisioning

  • Terraform modules for Azure Compute Gallery, VM Image Builder, and Windows 365 provisioning
  • Custom image engineering — building production images with all agent tooling pre-installed
  • PowerShell-based build pipelines and post-provisioning scripts

AI Agent Deployment

  • OpenClaw installation, configuration, and hardening on Windows 365
  • Claude Code setup and integration
  • OpenAI Codex CLI deployment
  • OpenSpec as a complementary workflow tool

Security Architecture

  • Why running AI agents under your primary Entra ID is an architectural failure
  • Isolated execution environments on dedicated Cloud PCs
  • Credential management and secret isolation
  • Network sandboxing and audit trail requirements
  • Enterprise containment patterns for autonomous AI

Real-World Engineering

  • Why the Node.js MSI doesn’t update your PowerShell session’s PATH
  • Why GitHub Desktop uses a “hydration” mechanism instead of a traditional installer
  • Package manager quirks, silent install flags, and image builder gotchas

Companion Repository

The book is designed to work alongside the W365Claw repository, which contains:

  • Complete Terraform modules
  • PowerShell build and configuration scripts
  • Configuration templates for all covered AI agents
  • Working examples for every chapter

Get the Book

The full text is available as an open-source GitHub repository:

GitHub: github.com/kkaminsk/W365ClawBook