[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-692908-105":59,"doc-detail-692908-en":130,"doc-similar-692908":162},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","running-openclaw-in-production-a-complete-guide-to-securely-deploying-operating-and-scaling-self-hosted-ai-agents","Running OpenClaw in Production - A Complete Guide to Securely Deploying, Operating and Scaling Self-Hosted AI Agents","","A complete production-oriented guide for securely deploying, operating, and scaling self-hosted AI agents using OpenClaw. Covers architecture and trust boundaries, installation and verification, and deep configuration of gateways, agents, channels, tools, sessions, and environment-driven overrides. Details authentication/authorization, secrets management, and multi-channel integrations. Explains LLM provider routing across cloud and local models, and production deployment with Docker and Kubernetes. Provides networking, TLS, reverse proxy, and security hardening including threat modeling and mitigation strategies.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":30,"@type":76,"position":81},"https://docshare.wps.com/document/technology/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/running-openclaw-in-production-a-complete-guide-to-securely-deploying-operating-and-scaling-self-hosted-ai-agents/692908/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/running-openclaw-in-production-a-complete-guide-to-securely-deploying-operating-and-scaling-self-hosted-ai-agents/692908.png","ImageObject",300,407,{"name":92,"@type":93},"Terk","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-24","2026-11-09",true,{"@type":102,"interactionType":103,"userInteractionCount":34},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What architectural elements does OpenClaw use in production?","Question",{"text":112,"@type":113},"The guide describes a three-layer architecture (Gateway, Channels, LLM) and explains the Pi Agent core with a conversation loop, including trust boundaries and threat model overview.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"How does the guide recommend managing configuration and secrets?",{"text":117,"@type":113},"It covers configuration file format and discovery rules, multiple methods for editing configuration, and gateway/agent/channel settings. It also explains authentication flows and production secrets management best practices such as environment variables, files, and rotation procedures.",{"name":119,"@type":110,"acceptedAnswer":120},"How are deployments and security hardened for self-hosted agents?",{"text":121,"@type":113},"It provides Docker and Kubernetes deployment guidance, including templates, volumes, health checks, and ingress with TLS. It also includes networking/firewall hardening, reverse proxy setup, TLS certificate management, and threat mitigation techniques like prompt injection defense and tool security policies.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},692908,1794242650,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":29,"category_name":30,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":34,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":129,"read_time":144,"preview_page_count":19,"preview_urls":145},1099525198933,"https://ap-avatar.wpscdn.com/davatar_155a257f0dc6eb9ab79c44ca47cae57d","Running OpenClaw in Production  \nA Complete Guide to Securely Deploying, Operating, and Scaling Self‐Hosted AI Agents  \nSteve Publications  \nThis book is available at [https://leanpub.com/runningopenclawinproduction](https://leanpub.com/runningopenclawinproduction)[ ](https://leanpub.com/runningopenclawinproduction)[This version was published on 2026-10-08](This version was published on 2026-10-08)  \nThis is a Leanpub book. Leanpub empowers authors and publishers with the Lean Publishing process. Lean Publishing is the act of publishing an  \nin-progress ebook using lightweight tools and many iterations to get reader feedback, pivot until you have the right book and build traction once you do.  \n© 2026 Steve Publications  \nContents  \nA Complete Guide to Securely Deploying, Operating and Scaling SelfHosted AI Agents ................................ 1  \nIntroduction: The Production Mindset .................... 2  \nChapter 1: What Is OpenClaw? Architecture and Design Philosophy . 4  \nThe Self-Hosted AI Agent Landscape .................... 4  \nThree-Layer Architecture: Gateway, Channels, LLM .......... 4  \nThe Pi Agent Core and the Conversation Loop .............. 4  \nCanvas: The Visual Workspace ........................ 4  \nMulti-Agent Support and Per-Agent Configuration ........... 4  \nTrust Boundaries and Threat Model Overview .............. 4  \nChapter 2: System Requirements and Installation ............. 6  \nHardware Specifications by Use Case ................... 6  \nOperating System Support .......................... 7  \nNode.js Version Requirements ........................ 7  \nInstallation via npm .............................. 8  \nThe Onboard Wizard and Daemon Installation .............. 8  \nVerifying the Installation ........................... 9  \nTroubleshooting Common Install Failures ................. 10  \nChapter 3: Configuration Deep Dive ..................... 12  \nThe Configuration File Format and Discovery Rules .......... 12  \nEditing Configuration: Four Methods ................... 12  \nGateway Settings: Host, Port, Auth Mode, Trusted Proxy ....... 12  \nAgent Configuration: Defaults, Per-Agent Profiles, Skill Allowlists . 12  \nChannel Configuration Overview ...................... 12  \nTools and Exec Policy Configuration .................... 12  \nSession Management and Memory Injection ............... 13  \nEnvironment Variable Overrides and Dotenv Integration ....... 13  \nCONTENTS  \nChapter 4: Authentication, Authorization and Secrets Management . 14  \nLLM Provider Authentication: API Keys, OAuth Flows and Token Refresh ................................... 14  \nAuth Profiles and Multi-Account Management .............. 14  \nGateway Connection Authentication: API Key, Trusted-Proxy and Tailscale ................................... 14  \nSecret Reference Providers: Environment Variables, Files and External Systems ................................... 14  \nCredential Resolution at Startup and Rotation Procedures ...... 14  \nProduction Secrets Management Best Practices ............. 15  \nChapter 5: Channel Integration and Multi-Channel Operations .... 16  \nWhatsApp Setup: QR Login and Linked Devices ............. 16  \nTelegram Bot Creation and Token Configuration ............ 16  \nDiscord Bot Setup with OAuth2 Application Tokens .......... 16  \nSlack Workspace Integration and App Configuration .......... 16  \nSignal, iMessage, Matrix and Other Channels .............. 16  \nPer-Channel Routing, Mention Gating and Group Policy ....... 16  \nMulti-Agent Channel Assignment ...................... 17  \nChapter 6: LLM Integration: Cloud Providers and Local Models .... 18  \nSupported Cloud Providers: OpenAI, Anthropic, Google, OpenRouterand Others ................................. 18  \nProvider Configuration with Auth Profiles and Failover Chains ... 18  \nLiteLLM Integration for Unified Multi-Provider Routing ........ 18  \nLocal Model Setup with Ollama, LM Studio and vLLM ......... 18  \nHardware Requirements for Local Inference ....","cbCaiaOY9wE54YE5","https://ap.wps.com/l/cbCaiaOY9wE54YE5","pdf",1998008,38,"English","# Introduction: The Production Mindset\n# Chapter 1: What Is OpenClaw? Architecture and Design Philosophy\n# Chapter 2: System Requirements and Installation\n# Chapter 3: Configuration Deep Dive\n# Chapter 4: Authentication, Authorization and Secrets Management\n# Chapter 5: Channel Integration and Multi-Channel Operations\n# Chapter 6: LLM Integration: Cloud Providers and Local Models\n# Chapter 7: Docker and Kubernetes Deployment\n# Chapter 8: Networking, TLS and Reverse Proxy Setup\n# Chapter 9: Security Hardening and Threat Mitigation","[{\"question\":\"What architectural elements does OpenClaw use in production?\",\"answer\":\"The guide describes a three-layer architecture (Gateway, Channels, LLM) and explains the Pi Agent core with a conversation loop, including trust boundaries and threat model overview.\"},{\"question\":\"How does the guide recommend managing configuration and secrets?\",\"answer\":\"It covers configuration file format and discovery rules, multiple methods for editing configuration, and gateway/agent/channel settings. It also explains authentication flows and production secrets management best practices such as environment variables, files, and rotation procedures.\"},{\"question\":\"How are deployments and security hardened for self-hosted agents?\",\"answer\":\"It provides Docker and Kubernetes deployment guidance, including templates, volumes, health checks, and ingress with TLS. It also includes networking/firewall hardening, reverse proxy setup, TLS certificate management, and threat mitigation techniques like prompt injection defense and tool security policies.\"}]","Running OpenClaw in Production - A Complete Guide to Securely Deploying, Operating and Scaling Self-Hosted AI Agents | PDF",96,[146,150,154,158],{"page_no":8,"url":147,"width":148,"height":149},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/959b541f92426254782eace6073fb502.webp",983,1404,{"page_no":14,"url":151,"width":152,"height":153},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/ad92d6b4089d9befc54a4ecb796a5e44.webp",982,1403,{"page_no":81,"url":155,"width":156,"height":157},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/458ecf4d258bed45b3d063cc4b0938c7.webp",981,1401,{"page_no":19,"url":159,"width":160,"height":161},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-09/b27467c47da9c803af07ac57252534dd.webp",980,1400,{"list":163,"token":66},[164,170,176,183,190,196,202,208,214,220],{"doc_id":165,"doc_title":166,"file_type":137,"home_preview_img_url":167,"slug":168,"view_count":19,"category_name":30,"create_tm":169},693201,"Kubernetes Hardening Guide - Version 1 - Updated guidance based on industry feedback","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230005098616/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796217959&Signature=ZU%2BS8tQjk245i6GfPBzq3wBmuzA%3D","kubernetes-hardening-guide-version-1-updated-guidance-based-on-industry-feedback",1794251958,{"doc_id":171,"doc_title":172,"file_type":137,"home_preview_img_url":173,"slug":174,"view_count":24,"category_name":30,"create_tm":175},692456,"Containerization Manual - Revision a18d784","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230003847312/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796217959&Signature=%2FatonFi%2FkXMXXN%2FbNMHe9TlxsFU%3D","containerization-manual-revision-a18d784",1794209115,{"doc_id":177,"doc_title":178,"file_type":137,"home_preview_img_url":179,"slug":180,"view_count":181,"category_name":30,"create_tm":182},203670,"Koenig Cra+ed - Kubernetes Boot Camp (CKA + CKAD + CKS)","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229882564895/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796217959&Signature=1hFCu5UPEt%2Fy0eyq4PUcqaz9VIw%3D","koenig-craed-kubernetes-boot-camp-cka-ckad-cks",14,1788562505,{"doc_id":184,"doc_title":185,"file_type":137,"home_preview_img_url":186,"slug":187,"view_count":188,"category_name":30,"create_tm":189},391867,"CI/CD with Docker and Kubernetes - Second Edition - How to Deliver Cloud Native Applications at High Velocity - Semaphore","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229917709044/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796217959&Signature=tw6N8gofI1IZREZat4fp983savA%3D","cicd-with-docker-and-kubernetes-second-edition-how-to-deliver-cloud-native-applications-at-high-velocity-semaphore",17,1790359548,{"doc_id":191,"doc_title":192,"file_type":137,"home_preview_img_url":193,"slug":194,"view_count":56,"category_name":30,"create_tm":195},203714,"Container and Kubernetes Fundamentals - 3-day course - production-ready foundations","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229882943162/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796217959&Signature=AbfeI%2B3UHmP%2BKwOOCPuQEkt2RX4%3D","container-and-kubernetes-fundamentals-3-day-course-production-ready-foundations",1788562787,{"doc_id":197,"doc_title":198,"file_type":137,"home_preview_img_url":199,"slug":200,"view_count":24,"category_name":30,"create_tm":201},687640,"CloudBeaver Documentation - v25.3 - Getting Started Guide","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000649817/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796217959&Signature=Ff5j3PXUupz5H1bjHq9qco%2FHKfg%3D","cloudbeaver-documentation-v253-getting-started-guide",1794084381,{"doc_id":203,"doc_title":204,"file_type":137,"home_preview_img_url":205,"slug":206,"view_count":19,"category_name":30,"create_tm":207},698072,"Kubernetes Tutorial - Quick-start and Test Cluster Setup","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230010182020/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796217959&Signature=%2BcMYr%2F4OTKCbWhwLMwMb3uSNt98%3D","kubernetes-tutorial-quick-start-and-test-cluster-setup",1794447841,{"doc_id":209,"doc_title":210,"file_type":137,"home_preview_img_url":211,"slug":212,"view_count":19,"category_name":30,"create_tm":213},693206,"Hardening Guide with CIS v1.6 Benchmark - Rancher v2.6.3 Kubernetes v1.18 to v1.21","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230005098802/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796217959&Signature=ofEdXBz2wZWi3bRSgkrG7MMVQZI%3D","hardening-guide-with-cis-v16-benchmark-rancher-v263-kubernetes-v118-to-v121",1794251994,{"doc_id":215,"doc_title":216,"file_type":137,"home_preview_img_url":217,"slug":218,"view_count":19,"category_name":30,"create_tm":219},724396,"OpenText ScanCentral DAST - Configuration and Usage Guide - Linux","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230028336605/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796217959&Signature=0NoWw5P9%2FZEhafjhqfp2OKclkew%3D","opentext-scancentral-dast-configuration-and-usage-guide-linux",1795179936,{"doc_id":221,"doc_title":222,"file_type":137,"home_preview_img_url":223,"slug":224,"view_count":44,"category_name":30,"create_tm":225},688192,"runZero User Guide - v 5.1.261105.0 - Updated on 2026-11-07","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110230000652943/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796217959&Signature=kn0gk7cKjDxdDI2WW8w88eqnDgo%3D","runzero-user-guide-v-512611050-updated-on-2026-11-07",1794086618]