AI orchestration case study: AI agents running a production web fleet
How Andy Alonso uses orchestrated AI agents, guardrails and canary rollouts to keep live ecommerce and business websites fast, secure and selling.
At a glance
Client profile: Ecommerce and business clients across the U.S. and Canada, including stores with catalogs of hundreds of thousands of products
Environment: Multi-server, multi-host fleet of production WordPress and WooCommerce sites fronted by Cloudflare, with third-party inventory and product-search integrations
Challenge: Keep revenue-generating sites fast, secure and selling, with a lean team and no room for downtime
Approach: A multi-agent orchestration layer with codified runbooks, scoped tool access, human approval gates, canary-first rollouts and scheduled drift detection
Role: Andy Alonso designed, implemented and continues to expand the system: architecture, agent skills, integrations, guardrails and operations
The challenge
The fleet behind this work is not a demo. It is a portfolio of live business websites and online stores that customers use every day to search catalogs of hundreds of thousands of products, request quotes and buy. Each site depends on several layers working together: edge network and WAF, DNS and SSL, hosting servers, WordPress and WooCommerce, payment and shipping, email delivery, search indexing and external inventory feeds.
Problems rarely stay in one layer. A crawler surge at the edge becomes PHP worker exhaustion at the origin, which becomes a failed checkout. A plugin update on one server drifts from the configuration on another. Traditional operations meant manual logins, repeated investigation and fixes that were hard to repeat consistently.
The goal: put AI agents to work on the routine and investigative load, without giving up control of anything that affects revenue, data or customers.
The solution: orchestrated agents with guardrails
1. An orchestrator with specialist agents
A primary orchestrator agent takes each request, resolves which domain, server and hosting platform it touches, and routes work to specialist agents and skills:
- Edge agent for Cloudflare: DNS, cache rules, WAF and bot rules, transform rules, rate limits and purges, executed through a guarded API wrapper
- Origin and server agents for Cloudways and xCloud: SSH and WP-CLI operations, PHP-FPM and OpenLiteSpeed/nginx tuning, cron scheduling and capacity checks
- Application agents for WordPress, WooCommerce and the Themeco Pro/Cornerstone page builder: plugin inventory, checkout verification, structured data and content builds
- Marketing and visibility agents for Google Business Profile, Google Merchant Center, Rank Math SEO, schema, llms.txt and AI-search crawler access
Agents run in parallel when the work is independent and serially when platforms enforce rate limits, such as SSH sessions on managed hosts.
2. Runbooks as agent skills
Every recurring operation is codified as a reusable agent skill rather than a one-off prompt: launch checklists, migrations, cache and SSL fixes, server retirement, cron baselines, bot-policy rollouts, checkout layout rollouts and form-delivery verification. Each skill carries its own rules, verification steps and known failure modes. The result is context engineering at the operations level: agents start every task with the right playbook, incident history and access path instead of rediscovering the environment.
3. Tool use through connectors and MCP
Agents act through scoped tool access rather than broad credentials: MCP and API connectors for Cloudflare, Google Workspace, GitHub, Google Business Profile and Meta; SSH and WP-CLI for origin work; and a central configuration tracker that records every meaningful change. Credentials stay in secured stores and are never exposed in agent output.
4. Human-in-the-loop by design
Routine, reversible work runs automatically. Anything consequential waits for a person: deleting a server, sending client email, publishing content, changing payment or checkout behavior, or editing third-party plugin code. Approval boundaries are written into the skills themselves, so agents stop and ask at the same points every time.
5. Canary-first rollouts
Fleet-wide changes start on a single canary site, are verified against real shopper flows such as inventory search, cart and checkout, and expand in controlled waves only after they prove out. Every change is reversible, with backups taken before anything is altered.
6. Observability and drift detection
Scheduled agents run weekly plugin and update scans, baseline audits, configuration drift checks and health dashboards. They report only material changes, so people see what needs attention instead of noise.
Results
- Cron load cut at the source. Agents migrated 29 apps on one shared server and 6 on another from simultaneous every-minute WordPress cron firing to staggered, managed schedules, reducing PHP worker pressure without routine restarts.
- Safe server retirement. Ten single-site servers were retired after migration, each with exclusive-scope checks, a verified off-server backup, preserved routing and post-deletion checks of business flows, with deletion only after owner approval.
- Crawler pressure contained without losing customers. A layered bot policy combines edge blocks, behavioral challenges and origin crawl throttles. New challenge rules soak on a canary site before expansion, so search, cart and checkout keep working.
- Continuous drift control. A weekly agent-run scan covers the active server fleet and flags pending updates and configuration drift. Separate baseline audits check cache, WAF, cron and memory settings against the approved standard.
- Faster launches. Member-site provisioning, policies, notification inboxes and launch gates follow a standard agent-driven checklist, so each launch repeats the last one instead of starting from scratch.
- AI-ready visibility. Sites ship with structured data, llms.txt summaries and deliberate access rules for AI search and assistant crawlers, so businesses can be found and cited by Google, Bing, ChatGPT, Claude and Perplexity.
Platforms and skills in daily use
Agent orchestration and AI: multi-agent orchestration, agentic workflows, tool calling, Model Context Protocol (MCP) connectors, context engineering, agent skills and runbooks, scheduled and event-triggered automations, human-in-the-loop approval gates, guardrails, verification and evaluation of agent output, AI governance and least-privilege access
Edge and security: Cloudflare (DNS, WAF, bot management, cache rules, transform rules, rate limiting, API automation), SSL/TLS, email authentication (SPF, DKIM, DMARC)
Hosting and infrastructure: Cloudways, xCloud, Linux servers, SSH, nginx, Apache, OpenLiteSpeed, PHP-FPM tuning, cron management, backups and disaster recovery, server migration and retirement, capacity planning
Applications and ecommerce: WordPress, WP-CLI, WooCommerce, Shopify, Themeco Pro/Cornerstone, WPForms, payment and shipping integrations, third-party inventory and product-search integrations, large-catalog ecommerce (hundreds of thousands of products)
Search, marketing and data: Rank Math SEO, schema.org structured data, llms.txt, IndexNow, Google Search Console, Google Business Profile, Google Merchant Center product feeds, Meta Business Suite, operations dashboards
Engineering practice: canary deployments, staged rollouts, configuration-as-code tracking, drift detection, incident response, root-cause analysis, change logs, GitHub, Google Workspace
What this means for your business
The same approach that keeps a live ecommerce fleet running works for any business with repetitive, multi-step work:
- Find the bottlenecks. Where work piles up, repeats or slips through the cracks.
- Design the division of labor. Which steps AI agents handle, and where a person signs off.
- Start small and prove it. One process, checked against real customer and staff workflows.
- Build in guardrails. Clear limits, approval steps, backups and a way to undo changes.
- Monitor and expand. Scheduled checks and reporting, then growth to the next process.
Andy Alonso leads every Shoals Works AI orchestration engagement personally, from the first workflow through ongoing improvement.
Book a free consultation | Learn about AI orchestration | 256-712-4171
For hiring managers and partners
Andy Alonso is available for AI solutions architect, agentic AI engineer and AI orchestration roles and contracts, remote across the U.S. and Canada. His experience centers on putting AI agents into real production operations: integrating them with live business systems, designing approval and safety boundaries, rolling changes out safely and keeping them observable over time.
Start a conversation: shoalsworks.com/contact | 256-712-4171

